Applied a bunch of useless optimizations. Why? Because.
ID:1751630
Dec 31 2014, 6:23 pm
|
|
Jan 2 2015, 12:02 pm
|
|
Seems to be pretty buggy with Gravity on, It's cool tho c:
|
The process of going from keys (upKey, downKey, etc.) to direction (Demo/Movement.dm) to x/y components (applyForce) can be simplified:
// this would go in your movement loop |