-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathOutline.py
157 lines (79 loc) · 2.81 KB
/
Outline.py
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
######### Outline ##########
#Generate Dungeon
#Generate starting room
#Generate Path to Boss (Series of Rooms minimum # of rooms)
#Generate Side Rooms (have maximum # of rooms)
#Fill rooms with Monsters/Traps
#Fill rooms with Powerups
#Generate Checkpoints (after minimum # rooms from start)
#Generate Boss
#Generate Mini-Map
#Create mini-map of dungeon
#Hide all of mini-map except for rooms player has explored
#Start dungeon
#Initialize Character (If new player)
#Place Character in starting room
#Display Dungeon screen
#Combat (for monsters and traps)
#Combat music?
#Intro to combat text ('It's an angry Andrew Bear!')
#Transition to combat screen
#Initialize instance of Monster
#Attack
#Text ("The hobgoblin is attacking with 'What is the square root of 196?' How will you respond?")
#Multiple choice random generation and display ("A)12, B)16, C)14, D)RandomSarcasticAnswer, E)Use Items/Powers")
#Get input
#If Wrong input:
#Oh no! text, monster attack animation
#Reduce character HP
#Check player is alive
#If not, go to failure screen
#Attack
#If Correct input:
#Epic attack animation ("Wow! The correct answer was super effective")
#Reduce monster hp
#Check if monster hp == 0
#If yes, End of Combat
#Attack
#If Use PowerUp/Skill:
#Display list of stuff to use
#Get input
#Apply Benefit
#Attack
#End of Combat
#Victory Text
#Experience Text
#Modify Player exp
#Transition back to dungeon
#Move Rooms
#Open door animation
#Transition screen (screen wipe to new room?)
#Display room moved into (monsters, powerups, checkpoints)
#Previously visited room
#Update mini-map
#First time room
#If monster
#Auto move 1/4 into room
#Combat
#If no monster:
#Update minimap
#IF walk over powerup
#If click on checkpoint
#Failure Screen
#Oh no you died text and options
#Get input
#Try Again
#Respawn player at checkpoint using player stats from when they last visited the checkpoint
#Quit
#Return to title screen
#Combat Screen
#Pokemon style? Character on lower left, enemy on upper right?
#Pause Screen
#Interrupt current process?
#Display options
#Quit to Main Menu
#Quit to Desktop
#Return to last Checkpoint
#Resume (Or press the same button that was used to open pause screen, usually "Esc")
#Get input
#Do the thing