-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathDesign.txt
41 lines (28 loc) · 1.14 KB
/
Design.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Sprite tiles are 8x8 pixels - this is just how the sprite are setup.
Screen tiles are 8*8 * 2.5 = 20x20 pixels.
The maze has 28x31 tiles.
Screen tiles are given in screen coordinates, which translate directly to the screen.
Conversion from tile coordinates to screen coordinates is based on the center of the screen tile.
Therefore Tile 0/0 is at 10/10 and Tile 1/1 is at 30/30.
Because the artifact tiles have to be displayed on the screen, they are zoomed by factor 2.5 in order fit.
Was ist, wenn ich folgende Zustände auf Game-Ebene habe?
- Starting round
- Ghosts scatter
- Ghosts chasing
- Pacman energized
- Pacman dead
- Game Over
Dann haben die Geister keinen scatter/chasing mode mehr.
Und pacman keinen chasing mode mehr.
Ghosts haben:
- (later) waiting in house
- (later) leaving house
- normal
- dead
pacman hat:
- normal
- dead
Was passiert, wenn ein Ghost nach dem Tod sein Haus erreicht hat?
Er bleibt im Haus und kommt erst nach dem Ende der Pacman energized phase wieder raus.
D.h. ich kann gut diese Zustände auf Game-Ebene haben.
Ghost bekommt einen neuen Zustand "Waiting in house" und "Leaving house".