lggauci / IMTAssignment2016

0 stars 0 forks source link

Stop Moving in Air #10

Open lggauci opened 8 years ago

lggauci commented 8 years ago

When the user clicks and the player is in the air the player will not be able to move.

lggauci commented 8 years ago

This can be done using the by using booleans, for example when the player is on the ground (boolean) canMove is equal to false and when he is in the air the boolean is set to false.