https://youtu.be/bkHW8Vz7cyM
as you can see, the player vanished away, how can i fix that? that's the codes i'm using:
player-> key down (k):
- Code: Select all
- X = pg.x;
 Y = pg.y;
 saveVars("myvarsName.ext", "DATA");
and this on load button -> mose key down:
- Code: Select all
- loadVars("myvarsName.ext", "DATA");
 pg.x = X; //pg is the filled regions on players foot, the collision with the ground is on ps, player is parent on pg.
 pg.y = Y;
 view.x = X-300;
 view.y = Y-350;
 start=1; break;




