11.12.2011, 16:25
its basically math. you calculate the root of addition of squares of the players curreny x and y velocity.
fuel is nothing but ur reducing the value of a var(fuel) by 1 every few seconds.
if that var is 0 then no fuel
fuel is nothing but ur reducing the value of a var(fuel) by 1 every few seconds.
if that var is 0 then no fuel
