smooth_move
Vars | |
angle | Angle at which we move. 0 is north because byond. |
---|---|
saved_delay | Actual move delay, as delay will be modified by move() depending on what direction we move in |
x_rate | The rate at which we move, between 0 and 1. Cached to cut down on trig |
x_sign | Sign for our movement |
x_ticker | When this gets bigger than 1, we move a turf |
Var Details
angle
Angle at which we move. 0 is north because byond.
saved_delay
Actual move delay, as delay will be modified by move() depending on what direction we move in
x_rate
The rate at which we move, between 0 and 1. Cached to cut down on trig
x_sign
Sign for our movement
x_ticker
When this gets bigger than 1, we move a turf