ok guyz i want to know how to use the xprevious and yprevious ??? i tried to make a game that u can rewind ur x and y position using the r key pressed but it didn't work !!
this is how i made it :
when r is down : rewind = 1; when it is up : rewind = 0;
player --> draw actor : if rewind = 1 --> player.x = xprevious and the y too
knowing that u should hold down the r so rewind value be 1 to activate the rewind every frame but when u release it the code inside the draw actor : esle : player.x = player.x and the y too
and if the engine is not suitable for this and the xprevious do not do this kind of work tell me so i can go and try using another program and please recommend me with engine that support this kind of programming or with other words this kind of abilities