marc-hugh-tom / ship

1 stars 0 forks source link

Add distance score to screen #2

Closed marc-jones closed 8 years ago

marc-jones commented 8 years ago

The score should be the maximum distance travelled by the rocket. Although the rocket can go backwards on the same screen, the score shouldn't decrease in that respect.

The score can be just: constant * (ship.body.position.x - ship_starting_position.x)

marc-jones commented 8 years ago

Completed with #8