Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'Script error.' in or related to this line: 'if (self.y >= 2732) {' Line Number: 1168
User prompt
Increase size of soldier clone by double.
User prompt
Use tween for the all of the scale changes in explosion class. βͺπ‘ Consider importing and using the following plugins: @upit/tween.v1
User prompt
I donβt see any explosions now.
User prompt
Use the tween plugin to accomplish the animation for the Explosion class. βͺπ‘ Consider importing and using the following plugins: @upit/tween.v1
User prompt
Half the final scale size for the explosions.
User prompt
Set the random final scale for explosions between .8 and 1.2
Code edit (1 edits merged)
Please save this source code
User prompt
Create a clouds class using the clouds asset.
User prompt
Drones can not be destroyed.
Code edit (1 edits merged)
Please save this source code
User prompt
Remove player drone power up from the random pool if player has 3 or more player drones already.
User prompt
Remove drone from the spawn pool if hero has 3 or more drones.
User prompt
Allow the HeroScream to fully play before stoping music.
User prompt
Move the stop music at game over scenarios to after HeroScream plays.
User prompt
Remove the hero scream before all game over scenarios.
User prompt
In all scenarios.
User prompt
Make sure HeroScream plays after game over.
User prompt
Play HeroScream first before stopping music on game over.
User prompt
Add HeroScream to all game over scenarios.
User prompt
When hero shield level is lost flash screen
User prompt
During title screen, shield level should not be visible.
User prompt
Only initialize shield level display after game has started.
User prompt
Move display right 3%
===================================================================
--- original.js
+++ change.js
@@ -1496,8 +1496,9 @@
LK.getSound('HeroHit').play(); // Play HeroHit sound effect when shield level drops below 3
}
updateShieldLevelDisplay(); // Update shield level display
if (hero.shieldLevel <= 0) {
+ LK.effects.flashScreen(0xff0000, 1000); // Flash screen when shield is lost
hero.shielded = false;
if (hero.shieldGraphics) {
hero.shieldGraphics.destroy();
hero.shieldGraphics = null;
View of a futuristic soldier from directly overhead. White armor with blue glowing cyberpunk details. Holding weapon forward.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
The lights of a futuristic city in the dark at night. Very high above it looking straight down like from an airplane or a map. Background for an endlessly scrolling game.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A big button that say Play to start playing a game. Use neon cyberpunk style.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Overhead view. A hovering robot with a tapered midsection with two bulky arms with claw like hands and a giant red βeyeβ on top of its body. Looking straight down. Cyberpunk, black with red glowing highlights.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Overhead view. A heavily armored attack robot. Two arms with large gauntlet type fists. Four large red glowing eyes. Three distinct parts, body and two arms. Symmetrical design. Birds Eye view above them looking down on their head. Simple shapes. Low detail. Cyberpunk, black with red glowing highlights.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A red glowing line. Bright red core with subtle outer glow. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A blue transparent dome type shield. Simple graphics. Low details. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A ring of nuclear fire seen from overhead. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A thin robot with goggles riding a hover-bike. Twin blaster guns mounted on front. Top down view. Birds Eye view. Cyberpunk with red glowing highlights... Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Battle drone, circular. White with blue glowing highlights. Birds Eye view from overhead. Cyberpunk. Simple shapes.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
GameTheme
Music
TitleTheme
Music
HeroBlaster
Sound effect
Explosion
Sound effect
PowerUp
Sound effect
CloneSoldier
Sound effect
WeaponPowerUp
Sound effect
Drone
Sound effect
BinaryStorm
Sound effect
LaserCharge
Sound effect
LaserFire
Sound effect
BruiserStomp
Sound effect
RaiderSwoop
Sound effect
ShieldLevelUp
Sound effect
HeroHit
Sound effect
HeroScream
Sound effect