Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: flicky1991 on Mon 28/07/2008 22:09:53

Title: No background in Room 1 (SOLVED)
Post by: flicky1991 on Mon 28/07/2008 22:09:53
The BFAQ says:

QuoteMake sure that you haven't used a blocking command in the "Player enters room (before fadein)" event for that room. Remember that this event happens BEFORE the screen fades in.

I don't understand this. Where is the "Player enters room (before fadein)", and how can I remove the blocking command?
Title: Re: No background in Room 1 (yes, I've checked the BFAQ)
Post by: monkey0506 on Mon 28/07/2008 22:15:02
We'll need to know which version of AGS you're using. Also, when you say "no background", is the background simply a black screen, or is there nothing displayed at all?

If you're just not seeing a background image but everything else is showing up, you just need to import a background.
Title: Re: No background in Room 1 (yes, I've checked the BFAQ)
Post by: Makeout Patrol on Mon 28/07/2008 22:15:12
Go into your room script and see if there's a blocking command (something like character.Walk() if it's set to block or Display() or something) in the room_Load() function. If not, the other common mistake is importing a black picture as a new background rather than replacing the current background, so make sure you haven't done that, either.
Title: Re: No background in Room 1 (yes, I've checked the BFAQ)
Post by: flicky1991 on Mon 28/07/2008 23:05:03
Quote from: Makeout Patrol on Mon 28/07/2008 22:15:12
Go into your room script and see if there's a blocking command (something like character.Walk() if it's set to block or Display() or something) in the room_Load() function. If not, the other common mistake is importing a black picture as a new background rather than replacing the current background, so make sure you haven't done that, either.
Thanks, it was the second one. Now I know not to make that mistake again!  :D