User prompt
Add a variable that tracks if the mouse is down to game
User prompt
While the mouse is pressed, half the gravity applied to the bird
User prompt
Add tutorial text to bottom center of the screen, which reads "Tap to flap\nHold to glide". Make this text centered
User prompt
Fix Bug: 'Script error.' in or related to this line: 'LK.gui.bottomCenter.addChild(tutorialText);' Line Number: 97
User prompt
Set text alignment on tutorial text to center
User prompt
attach tototural text to gui.bottom
User prompt
3x the size of tutorial text
User prompt
Use the same drop shadow setup for tutorial text as score text
User prompt
You seem to set anchor and attach tutorial text twice
User prompt
Similar to score, also add a white copy of the tutorial text and attach it before the tutorial text
User prompt
set white version of the tutorial text x to -4 and y to -5
User prompt
Remove drop shadow on the white tutorial text
Code edit (7 edits merged)
Please save this source code
User prompt
set tutorialTextWhite.y to -12
User prompt
Move up both tutorial texts by 50px
User prompt
In tick, increase the y of tutorial texts to move them off screen, if the bird has bounced more than two times
User prompt
Move tutorial texts off screen at half the speed
Code edit (1 edits merged)
Please save this source code
User prompt
Update tutorial texts to be Hold to float, rather than Hold to glide
User prompt
Upper case the F in flap and float in the tutorial text
User prompt
Make gravity when mouse is down be /3
User prompt
Don't set scale on that.
User prompt
Please increment the particles.
Code edit (1 edits merged)
Please save this source code
User prompt
Okay, please fix that.
===================================================================
--- original.js
+++ change.js
@@ -81,9 +81,10 @@
dropShadow: true,
dropShadowColor: '#222a9a',
dropShadowBlur: 5,
dropShadowDistance: 7,
- dropShadowAngle: 0
+ dropShadowAngle: 0,
+ align: 'center'
});
tutorialText.anchor.set(.5, .5);
LK.gui.center.addChild(tutorialText);
game.score = 0;