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: github.com/bigwhoopgames/yout...
Join the discord here:
/ discord
Негізгі бет Ойындар Pygame Tutorial - Image Rotation Around a Pivot Point
Пікірлер: 25