Skip to content

Getting Started

Steve Paget edited this page Feb 20, 2016 · 7 revisions

pygame_functions.py does not require installation, but must exist in the same folder as your project. To use the functions add the following as the first line in your program:

from pygame_functions import *

Once imported, the next step is to create a graphics window using screenSize

Choose your background colour using setBackgroundColour


All pygame_functions commands require a graphics window to be created first.

The window will disappear when the program ends.

To prevent this, end your program with endWait

Video Tutorial

https://youtu.be/gmBW_AVDsNY?list=PLeOSHd3t9lzKr4O3A3Q7OZyf8QwyCALyn

Clone this wiki locally