Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: renegadedragon on Mon 24/11/2008 21:11:54

Title: Objects don't appear when I hit the F5 button and visible is true
Post by: renegadedragon on Mon 24/11/2008 21:11:54
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? 
Title: Re: Objects don't appear when I hit the F5 button and visible is true
Post by: Khris on Mon 24/11/2008 22:31:50
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?
Title: Re: Objects don't appear when I hit the F5 button and visible is true
Post by: renegadedragon on Tue 25/11/2008 01:55:13
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.
Title: Re: Objects don't appear when I hit the F5 button and visible is true
Post by: Khris on Tue 25/11/2008 02:08:33
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).
Title: Re: Objects don't appear when I hit the F5 button and visible is true
Post by: .M.M. on Tue 25/11/2008 03:16:47
Or add line oEnvelope.IgnoreWalkbehinds=true; - just replace oEnvelope with script name of your object.