Objects don't appear when I hit the F5 button and visible is true

Started by renegadedragon, Mon 24/11/2008 21:11:54

Previous topic - Next topic

renegadedragon

I am new to this, and I am creating a game for the first time. I have followed the tutorial to the letter (as best I can) and I am able to import objects into the room.  I have followed the tutorial and it seems pretty simple. I have read, re-read and read again the scripting, and from everything I can tell, I have done everything right, but when I hit F5 to test the scene, none of the objects appear. If there is a step I've missed I can't find it. I checked the forums and FAQs and I haven't found a similar problem. What am I missing? 

Khris

One thing I can think of is that you've mistakenly drawn a big walk-behind that's covering all the objects.
I assume the objects do appear in the editor's room view?

renegadedragon

Actually I think that is what the problem is, I created a table in the center of the room, and i made the table a walk behind. I created an envelope as an object and put it on the table. Now it makes sense good thinking - I'll play around and see if I can fix it so the object works on a walk behind, otherwise I'll cry like a little girl and put the envelope somewhere else.

Khris

Just set the envelope's baseline to a higher y-coord - lower on the screen - than the table walkbehind's (but still above the walkable area in front of the table).

.M.M.

Or add line oEnvelope.IgnoreWalkbehinds=true; - just replace oEnvelope with script name of your object.

SMF spam blocked by CleanTalk