M
MrPerson561
Guest
So I'm trying to make a platformer game going off of Shaun Spalding's platformer tutorial. At first I was having problems with the view following player. It wasn't major, but the view would stutter a little bit and sometimes the player wouldn't quite touch the ground. So I looked around and people said that rounding the players coordinates helps. So I tried that (obj_player.x = round(obj_player.x) and obj_player.y = round(obj_player.y)) And it worked! It made everything run smoothly. However, now I think the player's movespeed is indirectly being rounded too, because when I set it to 1.5 in the Create event it rounds to 2 and whenever I set it to 1.49 it rounds to 1. I've asking around on Steam discussions for a few days and nobody could explain it.
Also maybe I should have posted this in the programming forum I dunno
Also maybe I should have posted this in the programming forum I dunno