-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtoastman-log
95 lines (66 loc) · 2.63 KB
/
toastman-log
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
-------------------------------16 Nov 2016------------------------------
Considering the problem:
Our hero Powdered Toast Man get into a spot of trouble and finds himself running from a Zombie hoard.
The Zombies exhibit a curious characteristic in that they display a question above their heads.
It is Powdered Toast Man's job to solve these problems in order for to destroy each Zombie
Classes:
Base Classes:
Sprites:
Powdered Toast Man
Zombie
Parallax:
Scenery
Text:
Question
Answer
Menu
Functions:
update() # sprite function, for rendering sprite sheet
solve() # text function, test answer against dictionary
destroy() # zombie function, destroy zombie sprite
die() #
# Dynamically create Zombies as in Thorstens animal guessing game where he dynamically creates nodes of a tree in the form of a class?
Jobs due 23rd Nov 2016:
Colin: Dictionaries
Toby: Flesh out one of the other classes, parallax or text.
if text:
Find a way of rendering a string to the screen based on what characters the user has input. Store each new keystroke in a global variable and delete it when the user presses enter.
if parallax:
Get a long image scrolling at the back of the screen. Using two images that will scroll and replace each other when the image 'runs out'.
---------------------------------------------------------------------------
Meeting 23rd November - Unordered list of jobs up to completion:
1. Scenery (background, foreground)
2. PTM health bar and logic, zombies stopping when they get to PTM
3. Zombie die animation
4. Spawning zombies
5. Text stacking on zombies so you can read multiple questions
6. Flashing text cursor.
7. Pass (falling rocks)
8. Sound/Music
9. Lose/Death state - restart? Reinitialize variables.
Ordered list of jobs - in priority order:
1. *DONE* PTM health bar/logic, zombies stopping (collision detection)
2. *DONE* Zombie Spawning
3. Lose/Death 'you died'
4. *DONE* Zombie Die
5. Text stacking/Tabbing through active zombies
6. Pass
7. Sound/Music
8. Scenery
9. Flashing text cursor
--------------------------------------------------------------------------
Meeting 29th November:
Decided to ditch the ability to select a particular zombie due to over complexity.
------------------------------------------------------------------------
Meeting 30 November:
Completed Death screen/restart
Completed Text stacking
Completed all scenery
Added scaling so you can change resolution and sprites resize acordingly.
List of things to complete-
1. Music
2. Pass
3. Win state.
4. Flashing text cursor
------------------------------------------------------------------------
Meeting 1st December: