Code edit (3 edits merged)
Please save this source code
User prompt
when the countdowntimer summons the boss, also play the clockChime sound
Code edit (4 edits merged)
Please save this source code
User prompt
when the enemyboss dies, play the enemyroar sound
Code edit (2 edits merged)
Please save this source code
User prompt
when the hero dies, show the game over on the next frame
User prompt
when the hero dies, play the heroDeath sound
User prompt
when the hero takes damage, play the heroImpact sound
Code edit (1 edits merged)
Please save this source code
User prompt
when a projectilecross deals damage to an enemy, play the weaponCrossImpact sound
Code edit (2 edits merged)
Please save this source code
User prompt
when an enemy dies play the enemyDeath sound
Code edit (2 edits merged)
Please save this source code
User prompt
when the hero is healed, play the heroHealed sound effect
Code edit (1 edits merged)
Please save this source code
User prompt
in the enemyboss onupdate function, self.graphics.scale.x *= -1 every 15 LK.ticks
Code edit (1 edits merged)
Please save this source code
Code edit (17 edits merged)
Please save this source code
User prompt
on game start play the backgroundAmbient sound and every 10 seconds
Code edit (3 edits merged)
Please save this source code
User prompt
Please fix the bug: 'ReferenceError: ENEMY_RANGED_SPEED_PROJECTILE is not defined' in or related to this line: 'self.moveInDirection(config.direction, ENEMY_RANGED_SPEED_PROJECTILE);' Line Number: 454
Code edit (1 edits merged)
Please save this source code
Code edit (3 edits merged)
Please save this source code
User prompt
Please fix the bug: 'ReferenceError: adjustStateBase is not defined' in or related to this line: 'var newStateValues = adjustStateBase(state, stateValues);' Line Number: 944
Code edit (1 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -411,8 +411,10 @@
return self;
});
var ProjectileEnemy = GameInstance.expand(function (config) {
var self = GameInstance.call(this, config);
+ self.tags[TAG_ENEMY] = true;
+ self.tags[TAG_PROJECTILE] = true;
self.graphics = self.attachAsset('projectileEnemy', {
anchorX: 0.5,
anchorY: 0.5,
rotation: config.direction - MATH_QUARTER_PI
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