How would I simplify this.
Starting from 0 increasing every 22.5 til it hits 360(0) again, while setting the other sprites angle counting down 45 degrees til 180 which would be 0 and continue counting down again 45 degrees til 0 again.
Basically how do I compare a sprite every 22.5 degrees in less events lol
Every tick
— Red: set angle to int(pink.angle/22.5)*-45
Develop games in your browser. Powerful, performant & highly capable.
TY very much. Worked nicely.