The RPG Maker Resource Kit

Other Game Creation => Program Troubleshooting => Topic started by: Furiax on August 11, 2009, 11:20:13 PM

Title: [GM] Non-persistent object staying from room to room
Post by: Furiax on August 11, 2009, 11:20:13 PM
 In my game, I had sprites, backgrounds and non-persistent object from an old room stay on top of graphics for another room!


I would have thought that if you had an object in one room and changed room that object would not appear! Help!?
Title: Re: Non-persistent object staying from room to room
Post by: shandy333 on August 12, 2009, 04:00:13 PM
If your talking about in game, if you leave a room and come back the object(event) that was moved would be back in the same place.

I might be looking at this the wrong way, tell me more.  :police:




rep+ since you seem to not have any to start your adventure.
Title: Re: Non-persistent object staying from room to room
Post by: Furiax on August 13, 2009, 12:58:53 PM
Well, the problem is that images and objects belonging to one room appear in other rooms; howcome?
Title: Re: Non-persistent object staying from room to room
Post by: Zeriab on August 13, 2009, 03:06:33 PM
Images don't belong to one room. Erase them when leaving.
Title: Re: Non-persistent object staying from room to room
Post by: Furiax on August 13, 2009, 05:33:08 PM
Thanks, but what about objects? They stay in other rooms, they are just behind and we can click on them even if we are not in the same room as where they  were created, is that normal?

Maybe it is because I created them in script, is there a way to make sure the objects(and their sprite) not appear in other rooms where they were not created?
Title: Re: Non-persistent object staying from room to room
Post by: shandy333 on August 13, 2009, 07:45:54 PM
...oh...your using game maker. Sorry. :-\
Title: Re: Non-persistent object staying from room to room
Post by: Furiax on August 13, 2009, 08:38:15 PM
Dumb error from my part, the controller that drew the text was persistent by mistake.

I'll have to search why the background stayed in a room which shouldn't have had any background but other than that I am back on track!
Title: Re: Non-persistent object staying from room to room
Post by: Arrow on January 08, 2010, 04:38:23 PM
If you have a room with no background image and no background color set, then all images drawn on screen will stack up infinitely and blur over one another. It took me a while to figure this out too. :)