User prompt
Check if sMetalMusic is playing every 4.25 seconds
User prompt
Check if sMetalMusic is playing every 4 seconds
User prompt
Check if sMetalMusic is playing every 5 seconds
User prompt
and if it isn't playing, play smetalmusic
User prompt
Please fix the bug: 'Timeout.tick error: LK.getSound(...).isPlaying is not a function' in or related to this line: 'if (!LK.getSound('sMetalMusic').isPlaying()) {' Line Number: 197
User prompt
Check if sMetalMusic is playing every 3 seconds
User prompt
now play it 1.5 seconds after the game starts and loop it
User prompt
LK.setTimeout(function () { var metalMusic = LK.getSound('sMetalMusic'); metalMusic.loop = true; metalMusic.play(); }, 1000);
User prompt
do it
User prompt
death is inevitable should be in white
User prompt
when bluenemy, redenemy and yellowenemy are outside of the playspace destroy them
User prompt
after specialobject is instanciated play sound sWallSound
User prompt
before instanciating bloodsplatter play sound sSplurt or sSplurt2 or Splurt3
User prompt
0.5 seconds after game start play sHohoho sound
User prompt
when game start play sHohoho sound
User prompt
before game over play sound sHohoho
User prompt
before greenpowerup is destroyed play sExplosion sound
User prompt
when greenpowerup is destroyed play sExplosion
User prompt
when santa fires, play sBazooka sound
User prompt
Migrate to the latest version of LK
Code edit (1 edits merged)
Please save this source code
User prompt
spawnobject should spawn when the game begins
Code edit (1 edits merged)
Please save this source code
User prompt
the wall seems to lose momentum as it moves down after being pushed back, fix it so it reverts to its initial downward speed
User prompt
when special object receives a bullet, it shouldn't be able to receive anymore bullets momentarily
===================================================================
--- original.js
+++ change.js
@@ -136,9 +136,13 @@
var greenPowerup;
var greenPowerupSpawnTimer;
var score = 0;
var specialObject;
- var specialObjectSpawned = false;
+ var specialObjectSpawned = true;
+ specialObject = new SpecialObject();
+ specialObject.x = 2048 / 2;
+ specialObject.y = -1300;
+ self.addChild(specialObject);
var scoreTxt = new Text2(score.toString(), {
size: 100,
fill: "#FFA500"
});
a top view of a 16 bit sprite santa with a bazooka Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
16 bit sprite of a christmas ornament Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
16 bit sprite of a red eyed christmas elf Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
16 bit sprite of a blood splatter Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
16 bit sprite of a red eye reindeer Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
16 bit sprite of a red eye mother christmas Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
16 bit top view background of a christmas field set in hell Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
16 bit smoke Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
16 bit wall of skulls with red eyes Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
"Death Is Inevitable" Text Bubble Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
16 bit CHRISTMAS bomb power up icon. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.