User prompt
make it so gifts add to score
User prompt
Make it so asteroids take hearts instead of points and if hearts gets to zero, make the game restart
User prompt
can you add a colorful background
User prompt
Fix Bug: 'TypeError: LK.audio.play is not a function' in this line: 'LK.audio.play('gift_collect');' Line Number: 65
User prompt
Fix Bug: 'TypeError: LK.audio.play is not a function' in this line: 'LK.audio.play('asteroid_hit');' Line Number: 80
User prompt
can u add sound effects?
User prompt
can u make the start menu visible and also make it do something?
User prompt
can you add a starting menu before u go into the game
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'addChild')' in this line: 'LK.gui.bottomCenter.addChild(arrow);' Line Number: 40
User prompt
Make movement using arrow keys on a computer keyboard, or through visible arrow keys on phone
User prompt
now i cant move, can you make me move using arrow keys on my keyboard
User prompt
Fix Bug: 'Uncaught TypeError: window.addEventListener is not a function' in this line: 'window.addEventListener('keydown', function (e) {' Line Number: 42
User prompt
make it so i move using arrow keys or WASD
User prompt
Make the gifts give me points and the asteroids remove points
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'move')' in this line: 'asteroids[a].move();' Line Number: 65
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'move')' in this line: 'gifts[a].move();' Line Number: 58
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'move')' in this line: 'gifts[a].move();' Line Number: 58
User prompt
make yellow gifts that subtract from my score
User prompt
add red gifts and make them give me points
User prompt
bring back the yellow presents and remove the asteroids
User prompt
the clearly yellow ones dont do anything, could you remove them?
User prompt
can you make it so collecting the yellow presents adds to my score, and red subtracts from my score?
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'move')' in this line: 'asteroids[a].move();' Line Number: 65
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'move')' in this line: 'gifts[a].move();' Line Number: 58
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'move')' in this line: 'gifts[a].move();' Line Number: 58
===================================================================
--- original.js
+++ change.js
@@ -4,11 +4,11 @@
startButton.x = 2048 / 2;
startButton.y = 2732 / 2;
startButton.on('down', function () {
self.destroy();
- var startMenu = new StartMenu();
- LK.stageContainer.addChild(startMenu);
+ var game = new Game();
LK.stageContainer.addChild(game);
+ game.visible = true;
});
self.addChild(startButton);
});
var Gift = Container.expand(function () {
@@ -37,9 +37,9 @@
};
});
var Game = Container.expand(function () {
var self = Container.call(this);
- this.visible = false;
+ this.visible = true;
var gifts = [];
var asteroids = [];
var player = self.addChild(new Player());
player.x = 2048 / 2;
Asteroid, falling Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Red gift Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Santas sled, with santa in it Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Top down view
festive background Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.