User prompt
projectiles should record in a map which enemies it hit (by the enemy id) and the last tick they were hit. Enemies cannot get hit more than once every 10 ticks
Code edit (11 edits merged)
Please save this source code
User prompt
instead of generating a unique id, use an integer which is incremented
User prompt
Fix Bug: 'TypeError: LK.generateUniqueId is not a function' in this line: 'enemies.push(new BasicEnemy(self, x, y, {' Line Number: 704
User prompt
Fix Bug: 'TypeError: LK.generateUniqueId is not a function' in this line: 'enemies.push(new BasicEnemy(self, x, y, {' Line Number: 704
User prompt
add a unique id to enemies, passed through in the constructor args object
Code edit (6 edits merged)
Please save this source code
User prompt
Fix Bug: 'TypeError: t.setStageReference is not a function' in this line: 'parent.addChild(self);' Line Number: 138
Code edit (1 edits merged)
Please save this source code
Code edit (3 edits merged)
Please save this source code
User prompt
in the CrossWeapon's launch function, create additional projectiles based on the hero's "Extra" major boon. These additional projectiles should have their angle uniformally distributed in a radius around the hero
Code edit (3 edits merged)
Please save this source code
User prompt
make the screen flash red when a basicenemy deals damage to the hero
Code edit (4 edits merged)
Please save this source code
User prompt
Fix Bug: 'ReferenceError: updateButton is not defined' in this line: 'updateButton.visible = bool;' Line Number: 595
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
Code edit (6 edits merged)
Please save this source code
User prompt
Fix Bug: 'TypeError: availableBoonsTxt.anchor is undefined' in this line: 'availableBoonsTxt.anchor.set(.5, .5);' Line Number: 389
Code edit (1 edits merged)
Please save this source code
Code edit (5 edits merged)
Please save this source code
User prompt
Fix Bug: 'ReferenceError: setting is not defined' in this line: 'if (setting.anchor) {' Line Number: 55
Code edit (2 edits merged)
Please save this source code
User prompt
Fix Bug: 'ReferenceError: setting is not defined' in this line: 'text.anchor.set(settings.anchor.x, setting.anchor.y);' Line Number: 51
===================================================================
--- original.js
+++ change.js
@@ -44,8 +44,9 @@
var self = Container.call(this);
var textList = [];
var offsets = [[-2, -2], [-2, 2], [2, 2], [2, -2], [0, 0]];
var borderSettings = {
+ ...settings,
fill: '#000000'
};
for (var i = 0; i < offsets.length; i++) {
var localSettings = i === offsets.length - 1 ? settings : borderSettings;
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