inertias
Member
Suppose you want to create a low-res pixel art rpg that has items that affect your player. You want to create magical boots that increases the player's movement speed by something like +15%.
If you use super basic movement code, something like a keyboard input check that increases x or y by +1 in the step event, if you add 15% to that movement you'll notice that your sprite will start to shake as it moves with the viewport because x is now increasing by 1.15.
I realize that this is due to the player moving in non-integer values, but I'm certain that games like Diablo II for example have done this kind of thing without receive this distorted effect to its sprites.
So in short, how exactly would you go about coding this?
If you use super basic movement code, something like a keyboard input check that increases x or y by +1 in the step event, if you add 15% to that movement you'll notice that your sprite will start to shake as it moves with the viewport because x is now increasing by 1.15.
I realize that this is due to the player moving in non-integer values, but I'm certain that games like Diablo II for example have done this kind of thing without receive this distorted effect to its sprites.
So in short, how exactly would you go about coding this?