File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 2626 // Player and goal objects
2727 var player = {
2828 x : canvas . width / 2 ,
29- y : 140 ,
29+ y : 200 ,
3030 radius : 20 ,
3131 vx : 0 ,
3232 vy : 0 ,
3535 } ;
3636 var goal = {
3737 x : canvas . width / 2 ,
38- y : canvas . height / 2 + 90 ,
38+ y : canvas . height / 2 + 150 ,
3939 radius : 42 ,
4040 angle1 : 0 ,
4141 angle2 : 0 ,
166166 console . log ( 'done freeze' )
167167 player . freeze = false ;
168168 player . x = canvas . width / 2 ;
169- player . y = 140 ;
169+ player . y = 200 ;
170170 player . vx = 0 ;
171171 player . vy = 0 ;
172172 } , 1000 ) ;
218218 console . log ( 'done freeze' )
219219 player . freeze = false ;
220220 player . x = canvas . width / 2 ;
221- player . y = 140 ;
221+ player . y = 200 ;
222222 player . vx = 0 ;
223223 player . vy = 0 ;
224224 } , 1000 ) ;
228228 ctx . fillStyle = "#AA6C39" ; // or any color you prefer
229229 ctx . font = "36px Arial" ; // size and font face
230230 ctx . textAlign = "center" ; // alignment
231- ctx . fillText ( "Welcome to Gödel's Gauntlet" , canvas . width / 2 , 50 ) ; // text and position
231+ ctx . fillText ( "Welcome to Gödel's Gauntlet" , canvas . width / 2 , 100 ) ; // text and position
232232
233233 // Draw the instruction text
234234 ctx . font = "24px Arial" ; // size and font face
235235 ctx . textAlign = "center" ; // alignment
236236 ctx . fillStyle = "#7E909A" ; // or any color you prefer
237- ctx . fillText ( "Click to move the circle towards the keyhole" , canvas . width / 2 , 90 ) ; // text and position
237+ ctx . fillText ( "Click to move the circle towards the keyhole" , canvas . width / 2 , 150 ) ; // text and position
238238
239239 // Request next animation frame
240240 requestAnimationFrame ( gameLoop ) ;
You can’t perform that action at this time.
0 commit comments