Examples of PyGame script templates.
###0__empty__.py
- comments
- constants
- pygame init & quit
- pygame screen
- mainloop
###1__simple__.py
empty plus:
- class
Player(in comments)
###2__functions__.py
simple plus functions for mainloop:
handle_eventupdatedraw
###3__app_class__.py
Everything in class App with methods:
handle_eventupdatedrawmainloop
###4__stage_class__.py
Class App with
- pygame init & quit
- pygame screen
Class Stage to create
StartScreenEndScreenGame
All Stage subclasses with own
handle_eventupdatedrawmainloop
** To Be Continued ? **