File tree Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Expand file tree Collapse file tree 2 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 1-
1+ * .jpg
2+ * .png
Original file line number Diff line number Diff line change 1+ # Game flow
2+
3+ ## Game flow for ** 1 FPS (frame per second)** consists of the following steps
4+
5+ ### 1. Events
6+
7+ key stroke and mouse presses (Ex. press w for forward or left click to shoot).
8+
9+ ### 2. Update
10+
11+ update the game after the event (Ex. move 'the hero' (sprite) after the event (w pressed)).
12+
13+ ### 3. Render
14+
15+ draw the current update on the screen.
16+
17+ ### 4. FPS Control
18+
19+ controls the execute time.
20+
21+ ![ Game flow] ( game_flow.png )
22+
23+ # RGB colors
24+
25+ ## RGB color consists of primary colors and secondary colors [ Link to RGB Color Codes Chart] ( https://www.rapidtables.com/web/color/RGB_Color.html )
26+
27+ ### Primary colors
28+
29+ 1. RED (255, 0, 0)
30+ 2. Green (0, 255, 0)
31+ 3. BLUE (0, 0, 255)
32+
33+ ### Secondary colors
34+
35+ 1. YELLOW (255, 255, 0)
36+ 2. SILVER (192, 192, 192)
37+ .....
You can’t perform that action at this time.
0 commit comments