re: Moving a Sprite Sheet Character with JavaScript VIEW POST


Hey what about diagonal move speed ? it's too fast


The speed should be the same as the horizontal and vertical movements. If you need to slow it down, though, you could add a conditional multiplier so that when there's both horizontal and vertical movement, multiply the speed by 0.8 (or whatever you need).

code of conduct - report abuse