CoilBrew / sidescroller

0 stars 0 forks source link

Move the obstacle to the left #8

Closed chrisgrounds closed 6 years ago

chrisgrounds commented 6 years ago

Atm, the obstacle is static - it doesn't move. Want to write a method that updates the obstacles position (so that when obstacle.draw is called it will move to a new position).

chrisgrounds commented 6 years ago

Maybe give it a velocity property as well, which you can use to move the obstacle at a certain speed.