sjdodge123 / spaceroyale.io

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

Items movement angle calculation is incorrect #126

Closed sjdodge123 closed 6 years ago

sjdodge123 commented 6 years ago

in the engine file, the updateItems function is not calculating velX and velY correctly

rtoole13 commented 6 years ago

should be cleared up now. Whether the angle's right or not though, it's travel direction is now based off of the ships velocity plus an extra push in a random direction.