User prompt
change zombie text image position below of score text
User prompt
now change the positon of zombie text image and send this below of Score text
User prompt
now add zombie text image below of Score image
User prompt
more right
User prompt
half of score image go to out of screen pls solve
Code edit (2 edits merged)
Please save this source code
User prompt
now change the position of Score image to left and also score
User prompt
now replace the Zombie Killed text to zombie text image
Code edit (1 edits merged)
Please save this source code
User prompt
after the score image the score should show
User prompt
add a score text image insted of score text
User prompt
this is very small increase size and make majesti
User prompt
now add score: and Zombie killed: in Game in best place
User prompt
improve game over screen
User prompt
remove all zombie killed and Score display fuctionality
Code edit (1 edits merged)
Please save this source code
User prompt
sore and zombie killed also
User prompt
improve texts deign so that they look best
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'LK.pauseGame is not a function' in or related to this line: 'LK.pauseGame(); // Pause the game to prevent background activity until the game starts' Line Number: 568
User prompt
Please fix the bug: 'game.pause is not a function' in or related to this line: 'game.pause(); // Pause the game to prevent background activity until the game starts' Line Number: 568
User prompt
not working
User prompt
not working
User prompt
not working in background game is show and main menu is not shown correctly
===================================================================
--- original.js
+++ change.js
@@ -305,25 +305,25 @@
// Score
var score = 0;
// Score Display
var scoreText = new Text2('Score: 0', {
- size: 50,
- fill: 0xFFFFFF,
- align: 'left'
+ size: 100,
+ fill: 0xFFD700,
+ align: 'center'
});
-scoreText.anchor.set(0, 0);
-scoreText.x = 20;
-scoreText.y = 20;
+scoreText.anchor.set(0.5, 0.5);
+scoreText.x = 2048 / 2;
+scoreText.y = 100;
game.addChild(scoreText);
// Zombies Killed Display
var zombiesKilledText = new Text2('Zombies Killed: 0', {
- size: 50,
- fill: 0xFFFFFF,
- align: 'left'
+ size: 100,
+ fill: 0xFFD700,
+ align: 'center'
});
-zombiesKilledText.anchor.set(0, 0);
-zombiesKilledText.x = 20;
-zombiesKilledText.y = 80;
+zombiesKilledText.anchor.set(0.5, 0.5);
+zombiesKilledText.x = 2048 / 2;
+zombiesKilledText.y = 200;
game.addChild(zombiesKilledText);
// Power-Up Bar
var powerUpBar = null;
/****
make player like this style
make full legs of this player
bullet. No background. Transparent background. Blank background. No shadows. 2d. In-Game asset. flat
more dangorous
make horror
red heart. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
rename text to -- Zombie Killed