Code edit (2 edits merged)
Please save this source code
User prompt
Add a subtle arcade sound every time the user passes a pipe and gets a score.
User prompt
Remove the pop-up at the beginning of the game.
User prompt
Before the game begins, show the game over pop-up screen with the button that says play again. Don't start the game until the user presses that button.
User prompt
Remove the start game pop-up.
User prompt
For the start game pop-up copy the game over pop-up in all of its style. Instead of showing play again say start game. The game will not actually start playing until after the user presses that button.
User prompt
Remove the debug code showing the text that shows the gap.
User prompt
The game should not begin until after the player has clicked the OK button.
User prompt
The information at the beginning of the game needs to be in a pop-up and the game needs to be frozen prior to the user clicking the OK button.
User prompt
Before the game begins, there should be a pop-up that says start your Pelican with a button that says OK. When the player clicks OK, the game starts.
User prompt
As the game progresses, the space between the horizontal pillars should become more narrow, but never more than half the size they are when the game begins.
Code edit (1 edits merged)
Please save this source code
User prompt
The vertical gap between the pipes should be roughly the same as the Flappy Bird game pipes.
User prompt
The vertical gap between the pipes should never be more than 10 times the vertical height of the user character.
User prompt
The vertical gap between the pipes should always be between 10% and 20% of the vertical size of the screen.
User prompt
The vertical gap between the pipes should never be less or should never be more than 30%.
User prompt
The text showing the vertical gap size as a percentage should appear on top of the pipe itself centered on the screen.
User prompt
The text should appear on the top pipe attached to the top pipe as a percentage of the gap size compared to the rest of the screen.
User prompt
The text should be between the pipes and move along with the pipes.
User prompt
For debug purposes, add text that shows the vertical gap between the pipes for each pipe.
User prompt
The vertical gap of the pipes should always be between 30% and 60% of the vertical screen size.
User prompt
The vertical gap in the pipes should be about 30% of the vertical screen size.
User prompt
The user should get 5 points for colliding into a fish and 1 point for passing a pipe.
User prompt
Make the bottom layer bright pink, make the pipes blue.
User prompt
Please fix the bug: 'ReferenceError: scoreTxt is not defined' in or related to this line: 'scoreTxt.setText(LK.getScore());' Line Number: 131
===================================================================
--- original.js
+++ change.js
@@ -96,9 +96,9 @@
// Add a light blue layer at the bottom 20% of the screen
var bottomLayer = LK.getAsset('obstacle', {
width: 2048,
height: 2732 * 0.2,
- color: 0xFF69B4,
+ color: 0xFFF333,
// Bright pink color
anchorX: 0.5,
anchorY: 0.0
});
8-bit profile of pelican flying straight. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8-bit profile of fish for arcade game. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8-bit profile of pelican flapping it's wings downward. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8-bit silhouette of tugboat. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8-bit "YUM" dialog bubble. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.