Difference between revisions of "PyGame Tutorials"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
Line 16: Line 16:
 
[[Drawing images]]
 
[[Drawing images]]
  
[[Rectangular collisions]]
+
[[Using Sprites]]
  
[[Per pixel collisions]]
+
[[Collisions]]
  
 
[[Using classes]]
 
[[Using classes]]

Revision as of 14:06, 1 March 2018

PyGame is a library you can import into python to create games with a graphical interface. I will be adding to this section over time.

Skills

Installing pygame

Basic pygame template

Drawing shapes

Keyboard input

Mouse input

Moving shapes

Drawing images

Using Sprites

Collisions

Using classes

Drawing a Tiled Map


Tutorials

MagPi PyGame Book

Nerdparadise pygame

pygame tutorial learn a lot and have loads of fun