User prompt
Make the power-up tell you when your five seconds is over so the player knows when their power-up is done for.
User prompt
Can you please add power-ups that make you invincible for like five seconds
User prompt
make bacround asset
User prompt
Move the flies and bees a little down.
User prompt
Make flies and bees a little higher.
User prompt
Still meek, flies and bees hot lower.
User prompt
Make piranhas jump less high.
User prompt
Make flies and bees a little lower.
User prompt
Make more flies.
User prompt
Make the player able to catch the flies.
User prompt
Make the drop a little less high.
User prompt
Make the jump high enough so the piranha can reach the flies and the bees.
User prompt
Please make it able for the piranha to jump up and eat the flies.
User prompt
Make both flies and bees move left in a loop, and also make the jump higher so the player can reach the flies and bees.
User prompt
Whenever you jump, make sure that you can reach the flies and bees. Also, make the bees flying and make the flies flying too.
Initial prompt
snap dragon
===================================================================
--- original.js
+++ change.js
@@ -8,10 +8,13 @@
anchorX: 0.5,
anchorY: 0.5
});
self.update = function () {
- // Bees move in a simple pattern (for example, moving up and down)
- self.y += Math.sin(LK.ticks / 10) * 5;
+ // Bees move left in a loop
+ self.x -= 5;
+ if (self.x < -100) {
+ self.x = 2048 + 100;
+ }
};
});
// Fly class representing the flies to be eaten
var Fly = Container.expand(function () {
@@ -20,10 +23,13 @@
anchorX: 0.5,
anchorY: 0.5
});
self.update = function () {
- // Flies move in a simple pattern (for example, moving left and right)
- self.x += Math.cos(LK.ticks / 10) * 5;
+ // Flies move left in a loop
+ self.x -= 5;
+ if (self.x < -100) {
+ self.x = 2048 + 100;
+ }
};
});
//<Assets used in the game will automatically appear here>
//<Write imports for supported plugins here>
@@ -33,9 +39,9 @@
var pranaGraphics = self.attachAsset('prana', {
anchorX: 0.5,
anchorY: 0.5
});
- self.jumpHeight = -20;
+ self.jumpHeight = -30;
self.gravity = 1;
self.velocityY = 0;
self.update = function () {
self.velocityY += self.gravity;
pixel hungery plant. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
pixel bee faceing left. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
pixel fly facing left. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
jungle. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows
rain drop. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows