HI have some sprites with bullet behaviour, set angle ticked and angle of motion set to random (360 degrees). How do I stop them from sometimes displaying upside-down or back to front when they change direction? I've included a link to the test game.
Develop games in your browser. Powerful, performant & highly capable.
Untick "Set angle".
If you need to set angle, you have to compare moving angle and flip or mirror the sprite. For example:
If Sprite.Bullet.AngleOfMotion is between 90 and 269 degrees: Sprite set flipped
Else: Sprite set not flipped