marc-hugh-tom / ship

1 stars 0 forks source link

World is infinite to the right of the screen #1

Closed marc-jones closed 8 years ago

marc-jones commented 8 years ago

This will require creating an array to which all game objects are added. When the ship would move to the right, it's horizontal velocity is set to zero and the horizontal velocities of all other game objects will be modified to give the illusion of the camera panning to the next part of the world.

marc-jones commented 8 years ago

https://github.com/marc-hugh-tom/ship/commit/f35d9b4bed014eef007297fffd3b352b5ed1630c