Main Menu
  • Welcome to The RPG Maker Resource Kit.

[GM] Non-persistent object staying from room to room

Started by Furiax, August 11, 2009, 11:20:13 PM

0 Members and 1 Guest are viewing this topic.

Furiax

 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!?

shandy333

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.

Furiax

Well, the problem is that images and objects belonging to one room appear in other rooms; howcome?

Zeriab

Images don't belong to one room. Erase them when leaving.

Furiax

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?

shandy333


Furiax

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!

Arrow

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. :)