User prompt
Please fix the bug: 'ReferenceError: scoreTxt is not defined' in or related to this line: 'scoreTxt.setText(LK.getScore());' Line Number: 131
User prompt
The user should get a point when they collide with the fish. They should also get a point when they clear past a pipe.
User prompt
There should be one creature in the bottom layer that swims around between every pipe.
User prompt
No, the pipes have to be a different color from the bottom layer.
User prompt
The color of the pipes and the bottom layer should be two different colors.
User prompt
Let's change the color of the layer on the bottom of the screen to light blue.
User prompt
Let's add a layer that is light blue that takes up 20% of the bottom part of the screen.
User prompt
Let's spread the pipes out by even a little bit more, maybe three lengths of the width of the pipe. And...
User prompt
Let's make the pipes twice as thick as they are right now, and let's spread them out by about three times as far as they are from each other right now.
User prompt
The game should end if the user hits the very bottom of the screen.
User prompt
So each object that I'm dodging should be a pipe, either coming from the floor or the ceiling. There should be a gap between each one so that the player can clear it.
User prompt
So the object should fall with gravity, and whenever the user clicks the mouse, the object will jump up and move upward at a pace
User prompt
So, the object you control should be constantly falling until the user clicks.
Initial prompt
Flappy Pelican
===================================================================
--- original.js
+++ change.js
@@ -68,14 +68,15 @@
/****
* Game Code
****/
+// Forest green color for pipes
// Add a light blue layer at the bottom 20% of the screen
var bottomLayer = LK.getAsset('obstacle', {
width: 2048,
height: 2732 * 0.2,
- color: 0x87CEFA,
- // Light blue color
+ color: 0x87CEEB,
+ // Sky blue color
anchorX: 0.5,
anchorY: 0.0
});
bottomLayer.x = 2048 / 2;
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.