Centering Images & Clean Rotation - Pygame Tutorial

Опубликовано: 08 Ноябрь 2024
на канале: DaFluffyPotato
29,716
691

This video completes my mini-series that covered rotation and related topics in Pygame. Centering is how you get clean rotations in Pygame with the wonky image resizing Pygame does when you rotate an image. In general, centering is useful for a bunch of stuff.

Code Written in Video:
https://pastebin.com/hLGJYzjV

Related Videos:
Transformations:    • Flipping, Rotating, Scaling, & Resizi...  
Trigonometry:    • Trigonometry in Game Development  

Discord:
  / discord  

Twitter:
  / dafluffypotato  

This video and the code produced in it are released under: CC0 1.0 Universal (CC0 1.0). This puts the video and code produced in it in the public domain, so use it for whatever you want.

#pygame #python #gamedevelopment