User prompt
Double size of hitpounta
User prompt
Hitpont colos should be black
User prompt
Move hitpont to center of enemy
User prompt
If fairy collides with enemy then explode faify into particles and game over
Code edit (1 edits merged)
Please save this source code
User prompt
Improve game perfirmance
User prompt
Make sure blocka are 4 per row
User prompt
Make sure blocks are only 5 per row
User prompt
Increase coins speed
User prompt
Reduce rhe ammoun of nlocks
User prompt
Add particle effect whhen a block esplodes
User prompt
Improve game performnace
User prompt
Always keep shadows behind main image
User prompt
Reduce ghost images quantoity in half
User prompt
Do not move the fairy when toucjing sceen to that position butstart moving it from that point like kittne force
User prompt
make ghost image less intense
User prompt
add a ghost image of the fairy when it moves
User prompt
if fairy is moving to the right use mirror image
User prompt
add shirking and expanding effet to fairy sideways to feel movement
User prompt
after boss is killed, pause game and offer player to buy upgrades using coins
User prompt
create a config file to define how many waves each level will have
User prompt
when a boss is destroyed, a new level should start. if there is no level configured, just replay previous level
User prompt
boss should stay on the top 30 % of the screen and have lateral movement
Code edit (2 edits merged)
Please save this source code
User prompt
make sure coins or powerups only spawn in the positon of the destroyed block
===================================================================
--- original.js
+++ change.js
@@ -24,9 +24,9 @@
}
// Create and update hitpoints display
if (!self.hitpointsDisplay) {
self.hitpointsDisplay = new Text2(self.hitpoints.toString(), {
- size: 100,
+ size: 200,
fill: "#000000"
});
self.hitpointsDisplay.anchor.set(0.5, 0.5);
self.hitpointsDisplay.y = 0;
@@ -76,9 +76,9 @@
self.y += self.speed;
// Create and update hitpoints display
if (!self.hitpointsDisplay) {
self.hitpointsDisplay = new Text2(self.hitpoints.toString(), {
- size: 50,
+ size: 100,
fill: "#000000"
});
self.hitpointsDisplay.anchor.set(0.5, 0.5);
self.hitpointsDisplay.y = 0;
8-bit. cartoon. white star.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
cartoon 8 bit fairy dust. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Cartoon, 8bit, fireball. Black border. Cicular.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
cartoon, 8 bit, shield. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8bit, cartoon, axe. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
dark electric ball, 8bit, cartoon.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
8bit, cartoon, treasure chest frame. very big empty center. only a fine border of chest. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
shoot
Sound effect
boom
Sound effect
Hit
Sound effect
backgroundmusic
Sound effect
bossbullet
Sound effect
bossappear
Sound effect
hit
Sound effect
diamondcollect
Sound effect
hooray
Sound effect
nono
Sound effect
letsgo
Sound effect
death
Sound effect
yes
Sound effect