Appearance
sp_speed
Prototypeint sp_speed(int active_sprite, int speed[-1])
sp_speed()
gets or sets the speed
of the active_sprite
. Higher speed
numbers equal faster sprites.
Internally, sp_speed()
sets sp_mx() and sp_my() to appropriate values for the direction the sprite is moving. Therefore, it is also dependent upon sp_timing().
Dink's speed can not be altered using sp_speed()
. See set-dink-speed() for that.
Dink speed return value
Dink
all
Freedink
all
Determining Dink's current speed using the sp_speed() return value is unreliable, the returned value can randomly vary, resulting in a returned value other than dink's current sp_speed() equivelant value.
Dink
HD
Dink's sp_speed return value is reliable and accurate.