|
1 | 1 | # Python-Module-pygame |
2 | 2 |
|
3 | | -## The game divided into different modules for ease of use and debugging |
| 3 | +## First check out the flowing |
| 4 | + |
| 5 | +[Game flow](flow.md) and [pygame rect](rect_pygame.md) |
| 6 | + |
| 7 | +## Road map |
| 8 | + |
| 9 | +- Creating frame for the game |
| 10 | + |
| 11 | + - [Colors Module](colors.py) |
| 12 | + |
| 13 | + - [Config Module](config.py) |
4 | 14 |
|
5 | | -### 1. [Colors Module](colors.py) |
| 15 | + - [Initialize Module](init.py) |
| 16 | + |
| 17 | + - [Player (sprite) Module](Player.py) |
| 18 | + |
| 19 | + - [The main Module](main.py) |
| 20 | + |
| 21 | +- Replacing the player sprite (rectangular shape) with an image |
| 22 | + |
| 23 | +## The game divided into different modules for ease of use and debugging |
6 | 24 |
|
7 | | -#### defining some colors to use in the game (we can add more colors here) |
| 25 | +- [Colors Module](colors.py) |
| 26 | + - defining some `RGB colors` to use in the game (we can add more colors here) |
8 | 27 |
|
9 | | -### 2. [Config Module](config.py) |
| 28 | +- [Config Module](config.py) |
| 29 | + - defining screen width and height and also the `FPS` |
10 | 30 |
|
11 | | -#### defining screen width and height and also the FPS |
| 31 | +- [Initialize Module](init.py) |
| 32 | + - initializing the `pygame module`, `pygame mixer` (used for sounds), `the screen` (width and height imported from config module), `screen label` and the `clock` (used to control the time of the game flow) See: [Game flow](flow.md) |
12 | 33 |
|
13 | | -### 3. [Initialize Module](init.py) |
| 34 | +- [Player (sprite) Module](Player.py) |
| 35 | + - contains `player` (sprite) class and for now it is a rectangular shape (pygame.Surfaces()) |
14 | 36 |
|
15 | | -#### initializing the pygame module, pygame mixer (used for sounds), the screen (width and height imported from config module), screen label and the clock (used to control the time of the game flow) See: [Game flow](flow.md) |
| 37 | +- [The main Module](main.py) |
| 38 | + - the main loop of the game and contains the all the steps of the `game flow` See: [Game flow](flow.md) |
0 commit comments