Posted June 12, 2017 by manoloon
the player stuck to the left or right limit of the screen and then if try to move , only gonna swap xscale -
fixed :
the problem reside in the way html5 manage float numbers.. son instead of using 0.5 for acceleration , I use 1 and problem resolved.