1
Engines / Re: I Wanna Be The GMS2 Engine YoYoYo Edition
« on: September 08, 2018, 03:52:16 AM »
I ran into a problem that makes character get stuck sometimes.
luckily it was shallow enough to jump out and something I could fix myself, but I think you'll have to change the scrSaveGame script a bit.
luckily it was shallow enough to jump out and something I could fix myself, but I think you'll have to change the scrSaveGame script a bit.
Quote
global.savePlayerX = objPlayer.x;to
global.savePlayerY = objPlayer.y;
Quote
global.savePlayerX = objPlayer.x-objPlayer.hspeed;I think it's the savePlayerX/Y somehow gets objPlayer's x and y position with its speed added.
global.savePlayerY = objPlayer.y-objPlayer.vspeed;