xzela / jastroblast

asteroid game clone in libgdx
MIT License
5 stars 1 forks source link

Optimize Space Wrapping #1

Open xzela opened 10 years ago

xzela commented 10 years ago

When an object (like a Ship) travels off the screen we want it to smoothly wrap around the other side. Currently, the ship can drift off the screen and then "appear" on the other side. This works but it could be much better.

See: