@@ -58,7 +58,6 @@ const assets = {
58
58
height : 6000 , // 204
59
59
scaleSize : 10 , // 80
60
60
speedRatio : 0.7 ,
61
- opacity : 0 ,
62
61
hitbox : { widthPercentage : 0.4 , heightPercentage : - 0.2 }
63
62
} ,
64
63
} ,
@@ -129,10 +128,6 @@ const assets = {
129
128
130
129
} ;
131
130
132
- setTimeout ( ( ) => {
133
- alert ( "Collect wand to progress to next level!" ) ;
134
- } , 2000 ) ;
135
-
136
131
// Quidditch Game Level defintion...
137
132
const objects = [
138
133
// GameObject(s), the order is important to z-index...
@@ -183,7 +178,7 @@ const assets = {
183
178
{ name : 'coin' , id : 'coin' , class : Coin , data : assets . obstacles . snitch , xPercentage : 0.375 , yPercentage : 0.7 } ,
184
179
{ name : 'coin' , id : 'coin' , class : Coin , data : assets . obstacles . snitch , xPercentage : 0.409 , yPercentage : 0.7 } ,
185
180
{ name : 'coin' , id : 'coin' , class : Coin , data : assets . obstacles . snitch , xPercentage : 0.295 , yPercentage : 0.46 } ,
186
- { name : 'itemBlock ' , id : 'JumpPlatform' , class : JumpPlatform , data : assets . platforms . itemBlock , xPercentage : 0.5999 , yPercentage : 0.6 } , //item block is a platform
181
+ { name : 'wand ' , id : 'JumpPlatform' , class : JumpPlatform , data : assets . platforms . itemBlock , xPercentage : 0.5999 , yPercentage : 0.6 } , //item block is a platform
187
182
{ name : 'chocoFrog' , id : 'chocoFrog' , class : ChocoFrog , data : assets . enemies . chocoFrog , xPercentage : 0.30 , yPercentage : 0.45 } ,
188
183
189
184
{ name : 'magicBeam' , id : 'magicBeam' , class : MagicBeam , data : assets . enemies . magicBeam , xPercentage : 0.623 , yPercentage : 0.72 } ,
@@ -196,9 +191,9 @@ const assets = {
196
191
{ name : 'tube' , id : 'finishline' , class : FinishLine , data : assets . obstacles . tube , xPercentage : 0.85 , yPercentage : 0.855 } ,
197
192
{ name : 'tubeU' , id : 'minifinishline' , class : FinishLine , data : assets . obstacles . tubeU , xPercentage : 0.69 , yPercentage : 0.9 } ,
198
193
{ name : 'waterEnd' , id : 'background' , class : BackgroundTransitions , data : assets . transitions . waterEnd } ,
194
+
199
195
] ;
200
196
201
-
202
197
203
198
const GameQuidditch = {
204
199
tag : 'Quidditch' ,
0 commit comments