New demo!
http://www.byond.com/developer/ChrisGayle/CGPixelMovement
After doing pixel projectiles I decided to do pixel movement, there is one noticeable bug when you play by yourself, you get stuck at the very corners of blocks but otherwise I haven't encountered any. I think dealing with pixel movement is a great learning experience.
Notes:
-> It works best using factors/multiples of 32.
-> Its been built to take into account square body masses therefore a body can be decreased/increased in size and work effectively. (Will allow customization in later versions.)
-> Diagonals are achieved by holding corresponding keys, i.e NORTH key + EAST key = NORTHEAST movement.
Comments, criticism and advice are very much appreciated. Thanks.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
