The Dink Network

Remember sprite position

December 26th 2018, 04:15 PM
dinkdead.gif
I want to create a sprite, it could be any position on any screen, and have it stay there after changing screens or loading the game.

For the life of me I can't remember how to do this. Is there an easy way? Or just use a global and put a script on every screen to check and create it if necessary?

Which D-Mod is it where the drops are still there after leaving the screen and coming back?
December 26th 2018, 04:24 PM
peasantmp.gif
Skurn
Peasant He/Him Equatorial Guinea duck bloop
can't flim flam the glim glam 
persistent loot
December 26th 2018, 05:14 PM
dinkdead.gif
Great, thanks.

After checking it looks like that still relies on placing sprites in the editor, so probably not helpful in this case.

This looks like a job for... SuperVar!
December 26th 2018, 05:34 PM
anon.gif
Toof
Ghost They/Them
 
Guess something is brewing in your editor sparrow. Can we have some details?
December 27th 2018, 05:07 AM
dinkdead.gif
"Can we have some details?"

It involves sprites staying in the same position.
It uses supervars.
It has infuriating issues with new status bars.
It's a deathly secret that only 4 people IN THE ENTIRE WORLD know about at this time.

It's a smallish thing mostly intended as a dev file or just a bit of fun. It was meant to be finished within a few days or weeks... started in mid-2014