Store object path while dragging to array and force it to repeat the movement on button click?
Undo-redo movement? Here what I've done in previous post:
I want to drag an object with mouse... store its path in array and then when i click a button the object must do with some speed the same movement over path... i want a continious movement.. not over grid.. thanks for help!!!
Develop games in your browser. Powerful, performant & highly capable.
Then check following topic:
R0J0 did create great example there.
Thank you very much for your help!!!