Drawing Shapes
This tutorial will show you how to draw shapes in Pygame. Download and open the file below.
shapes.py | |
File Size: | 0 kb |
File Type: | py |
Tasks
1. Change the window size to 800*600
2. Change the colour of the square
3. Move the square to the centre of the screen
4. Change the size of the square, but keep it central to the screen
2. Change the colour of the square
3. Move the square to the centre of the screen
4. Change the size of the square, but keep it central to the screen
Further tasks
Try to draw some of the other shapes:
Pygame Documentation: http://www.pygame.org/docs/ref/draw.html |