Pygame Tutorial - Image Rotation Around a Pivot Point

Опубликовано: 02 Сентябрь 2026
на канале: Big Whoop Games
8,158
202

In this video I show you how to rotate images around a pivot point using two examples. In the first example we create a rotating spikeball common to many side scroller games. In the second example we rotate a weapon image around the center of the screen to point in the direction of the mouse, another common feature in sidescroller and topdown games.

Code here: https://github.com/bigwhoopgames/yout...

Join the discord here:
  / discord