User prompt
set intersectable to false on health bars
User prompt
Make sure to call the enemies tick event for color modifier
User prompt
Make sure to trigger the enemy hit effect when they are hit
User prompt
Add the same hit effect to enemies
User prompt
The red color should fade over 10 frames
User prompt
Tint spaceship red when hit, effect should fade over 10 frames
User prompt
Make each enemy have it's own starting offset on the sideways movement, to make the enemies feel less like a pack
User prompt
Loop over bullets in reverse when checking if they are out of bounds, to prevent bulletes from getting stuck on the screen
User prompt
Make stats move 50% faster
User prompt
Rewrite bullet intersections to use reverse loops to ensure all bullets are always removed
User prompt
The hero bullets should accelerate
User prompt
Move health bar such that it sits above the asset for the object it's attached to
User prompt
Update health bars
User prompt
Add health bar to hero and enemies
User prompt
Set health bar anchor point to .5,1
User prompt
Add a health bar class to the game
User prompt
Only let enemies die if the run out of health points
User prompt
Only die if you are out of health points
User prompt
Add health points to ship and enemies
User prompt
The hero ship should not be stuck to the mouse, but follow the mouse around with a limited speed. The ship should always move towards the mouse.
User prompt
Make enemies shoot at the hero
User prompt
Spawn waves of enemies, only spawn the next wave when the current wave of enemies have all been killed.
User prompt
Make enemies stop moving down at a random position in the top 3rd of the screen
User prompt
Progress the development of the game.
User prompt
Integrate a scrollable star field, behind everything, providing an illusion of ongoing forward movement. Faster moving stars should be more visible.
===================================================================
--- original.js
+++ change.js
@@ -7,8 +7,9 @@
self.updateHealth = function (newHealth) {
self.currentHealth = newHealth;
barGraphics.scale.x = self.currentHealth / self.maxHealth;
};
+ self.intersectable = false;
});
var HeroBullet = Container.expand(function () {
var self = Container.call(this);
var bulletGraphics = XS.getAsset('heroBullet', 'Hero Bullet Graphics', 0.5, 0.5);
Round powerup. Shield icon Single Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
Extra missile powerup circle. Missile and plus sign. Single Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
Single space torpedo flying upwards Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
Background galaxy nebulas and galaxies Single Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast. --ar 1:10
Round powerup. Green health icon Single Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
Blue glowing powerup circle with s in center Single Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
Round powerup. Lightning icon pointing up. Single Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
Stylish hero spaceship facing upwards, with a single cannon in the center. Single Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
single alien enemy spaceship facing down, looking like space alien adopted to living in space. Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
Single enemy slime bullet, seen from above facing upwards. Single Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
Round powerup icon with bullseye Single Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.
Clean plasma bubble Single Game Texture. In-Game asset. 2d. Pixelart. White background. Blank background. Low detail. High contrast.