User prompt
good, make the super combo 5x bigger and appears up the screen
User prompt
good, but super combo asset appears replcing the score for 1 second.
User prompt
make the super combo asset appears changing the score for the asset, including size, it replaces for the 1 second to the super combo asset, and super combo sound make it 4x louder
User prompt
add the background music asset to the game, the punch sound effect, and the super combo asset and sound (It appears every 10 enemies defeated)
User prompt
the flash effect when enemy is defeated must be something like a fast white effect on screen.
User prompt
now make a effect of player asset as animation, something like a small bouncing on the asset, and a flash effect when enemy is punched
User prompt
now make a background thing so i can easily change the asset
User prompt
now make enemy appear fully on screen
User prompt
enemy is a little higher than player (like floating) make it match player in the floor, and make it appear fully in the screen
User prompt
good, now make the enemy asset image fit in the screen, because the asset is slightly leaving from the screen, also make it turn the asset image (reverse image) to left (staring player) when on right
User prompt
the enemy are teleporting left and right and the game over isnt working, make it workkkkkkkkkkk
User prompt
the 2 second thing isnt working, make it work
User prompt
okay good, now if enemy stays more than 2 seconds on screen, game over
User prompt
Good! awesome!, but the enemies are accumulating (under the sprite another spawn), i want one enemie per time.
Initial prompt
Tappy Fighter!
===================================================================
--- original.js
+++ change.js
@@ -78,11 +78,13 @@
superCombo = game.addChild(LK.getAsset('supercombo', {
anchorX: 0.5,
anchorY: 0.5,
x: 2048 / 2,
- y: 2732 / 2,
- scaleX: 2,
- scaleY: 2
+ y: 2732 / 4,
+ // Position it up the screen
+ scaleX: 5,
+ // Make it 5x bigger
+ scaleY: 5 // Make it 5x bigger
}));
superCombo.visible = false;
// Spawn enemies at intervals
LK.setInterval(spawnEnemy, 2000);
@@ -145,15 +147,19 @@
var superCombo = game.addChild(LK.getAsset('supercombo', {
anchorX: 0.5,
anchorY: 0.5,
x: 2048 / 2,
- y: 2732 / 2,
- scaleX: 2,
- scaleY: 2
+ y: 2732 / 4,
+ // Position it up the screen
+ scaleX: 5,
+ // Make it 5x bigger
+ scaleY: 5 // Make it 5x bigger
}));
// Hide score text and show super combo asset
scoreTxt.visible = false;
superCombo.visible = true;
+ superCombo.scale.set(5, 5); // Ensure it is 5x bigger
+ superCombo.y = 2732 / 4; // Ensure it appears up the screen
// Remove super combo asset and show score text after 1 second
LK.setTimeout(function () {
superCombo.visible = false;
scoreTxt.visible = true;