stick to solid standard coding -
i am rediscovering AppGameKit classic atm -
all these additional gimmicks can be nice - but they also lead to lazyness - in the end it's about investing brainpower
/* Turns a sprite x degrees per second at it's offset point ; + values to turn right, - values to turn left */
Function Turn_Sprite (sprite,degrees_per_second#,counter#)
counter# = counter# + degrees_per_second#*GetFrameTime()
If abs(counter#) > 1 : SetSpriteAngle(sprite,GetSpriteAngle(sprite)+trunc(counter#)) : counter# = counter#- trunc(counter#) : Endif
Endfunction counter#
Worldwide optimal state system - ISBN 9783748157748
Weltweit optimales Staatssystem - ISBN 9783748159476