RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[GM] Non-persistent object staying from room to room

0 Members and 1 Guest are viewing this topic.

**
Rep:
Level 83
 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!?
« Last Edit: January 04, 2012, 10:54:13 PM by modern algebra »

***
Sk8r Boi
Rep:
Level 83
Skater's Handy Fox
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.

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

*
? ? ? ? ? ? ? ? ? The nice kind of alien~
Rep:
Level 92
Martian - Occasionally kind
Images don't belong to one room. Erase them when leaving.

**
Rep:
Level 83
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?

***
Sk8r Boi
Rep:
Level 83
Skater's Handy Fox
...oh...your using game maker. Sorry. :-\

**
Rep:
Level 83
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!

********
Rep:
Level 96
2011 Most Missed Member2010 Zero To Hero
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. :)