How does speedometers / Fuel meters work?
#2

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
Reply


Messages In This Thread
How does speedometers / Fuel meters work? - by Dokins - 11.12.2011, 16:20
Re: How does speedometers / Fuel meters work? - by THE_KNOWN - 11.12.2011, 16:25
Re: How does speedometers / Fuel meters work? - by Dokins - 11.12.2011, 17:16
Re: How does speedometers / Fuel meters work? - by §с†¶e®РµРe - 12.12.2011, 09:04
Re: How does speedometers / Fuel meters work? - by Rob_Maate - 12.12.2011, 10:39
Re: How does speedometers / Fuel meters work? - by THE_KNOWN - 12.12.2011, 11:55

Forum Jump:


Users browsing this thread: 2 Guest(s)