This Python written codes contain some classes for applying Camera to your game.
from Camera import Camera
create instance by specifying ...
self.all_sprites = Camera ( )
Different types of Camera :
1) move Camera with player always at the center ;
2) When player near boundary , Camera starts to follow ;
3) Keyboard driven, by assigning keys and can move camera around ;
4) Adventure game type, when moving to the edge of screen, update the player position to the center ;
.....
How to Use ? import and create an instance ;
from camera_class import CameraZSort
camera = CameraZSort();
https://github.com/ckcheung102/Camera...
Auf dieser Seite können Sie das Online-Video Pygame : Camera introduction - Using Camera Class mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer game102 01 Januar 1970 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 515 Mal angesehen und es wurde von 18 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!