First off, sorry if this is in the wrong place.
Alright, so I'm making a grid-based Sokoban inspired puzzle game. And I want to so you can go back in time by pressing undo as many times as you want.
For every time you move, or push a box around, the game records how many times you've moved so I need it so for every move, the game saves X and Y positions of all my objects.
I tried using INI, Array, Save Game, and I tried giving them unique ID by using Spread Value, but I have no idea how to do this!
I uploaded the .mfa file (using MMF 2.0) so you can download it and look at it, and you can add it in and send it back.
Telling me how to do it here without doing that is cool too of course, but I have loads of explanations on how my engine works in the file:
In case you don't wanna download the .mfa, this is how I want it to work:
So the red dot is you and the orange ones are movable objects.
It starts at 1. Then you move to the right, this is turn 2.
At turn 3 you move you go up and move the orange object at the same time.
Then you decide to undo and go back to move 2. Then undo again and you're back to 1.