User prompt
display playButton on top of the popup
User prompt
Fix Bug: 'TypeError: LK.gui.bottomCenter is undefined' in this line: 'LK.gui.bottomCenter.addChild(popup);' Line Number: 76
User prompt
Fix Bug: 'TypeError: LK.gui.bottomCenter is undefined' in this line: 'var popup = LK.gui.bottomCenter.createAsset('popup', 'Game Instructions Popup', 0.5, 0.5);' Line Number: 75
User prompt
move the popup to the bottom center of the gui
User prompt
Fix Bug: 'TypeError: LK.gui.bottomCenter is undefined' in this line: 'var popup = LK.gui.bottomCenter.createAsset('popup', 'Game Instructions Popup', 0.5, 0.5);' Line Number: 75
User prompt
attach the popup to the bottom center of the gui
User prompt
Add the popup and play button to the gui center
User prompt
move all tick event logic within the isPaused check
User prompt
Keep the game paused on game start and show a message popup in the center of the screen with brief description of how to play the game and a "play" button. After clicking the play button, the game is resumed
User prompt
Increase bullet speed to 30, minimum speed to -30 and speed decrement to 0.75
User prompt
increase bullet speed to 40 and minimum speed to -40
User prompt
change bullet speed decrement from 0.1 to 0.5
User prompt
only reduce the bullet travelDistance if the travelDistance is greater than zero, otherwise decrease the speed by 0.1 if the speed is greater than -20
User prompt
Add a travelDistance to Bullet and set its initial value to 800. Each call of the move function reduced the travel distance by the speed
User prompt
after bullets travel 800 units their speed should uniformally decrease over 1 second until it reaches -20
User prompt
after bullets travel 800 units their speed should invert over 1 second
User prompt
change shooting requiring targetPos to requiring shootPos
User prompt
Fix Bug: 'TypeError: shootPos is null' in this line: 'var dx = shootPos.x - hero.x;' Line Number: 181
User prompt
shooting should not need targetPos to be set
User prompt
shootPos should be a var not a member of self
User prompt
on mouse move set a shootPos global to the mouse position
User prompt
on mouse move set a shootPos to the mouse position
User prompt
remove the zindex modifications
User prompt
reduce the bloodsplatter lifetime from 0.5 to 0.2
User prompt
Reduce the spawn rate from * 3 to * 1
===================================================================
--- original.js
+++ change.js
@@ -1,8 +1,8 @@
var BloodSplatter = Container.expand(function () {
var self = Container.call(this);
var splatterGraphics = self.createAsset('bloodSplatter', 'Blood Splatter', .5, .5);
- self.lifetime = 0.5;
+ self.lifetime = 0.2;
LK.setTimeout(function () {
self.destroy();
}, self.lifetime * 1000);
});
pixel art cross with blue accents Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a white orb. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a white orb with a halo. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a pulsating white heart with a halo. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a dark goo projectile with red highlights. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art tall blue fireball. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of an evil fantasy sword facing downward. Minor red details. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
backgroundAmbient
Sound effect
heroHealed
Sound effect
pickupExperience
Sound effect
heroLeveled
Sound effect
weaponCrossImpact
Sound effect
heroImpact
Sound effect
enemyDeath
Sound effect
pickupWeapon
Sound effect
pickupCrucifix
Sound effect
weaponCrossLaunch
Sound effect
heroDeath
Sound effect
enemyRoar
Sound effect
clockChime
Sound effect