sjdodge123 / spaceroyale.io

Multiplayer Javacsript IO game
Apache License 2.0
2 stars 0 forks source link

Recursive collision checks #70

Closed rtoole13 closed 6 years ago

rtoole13 commented 7 years ago

When a collision prompts a change in newX, newY, recursively check those new positions against relevant objects to ensure your new position doesn't get you stuck.