Code edit (1 edits merged)
Please save this source code
User prompt
change score font to 8-bit, cartoon font
User prompt
change score font to square 8 bit font
User prompt
change score font to be more gamer
User prompt
add a scorebackground
User prompt
move player start position 50 pixels up
User prompt
show a different image asset when player moves left
User prompt
move player 100 pixels
User prompt
player can only move sideways
User prompt
hero should move and stop an the next down position
User prompt
Fix Bug: 'ReferenceError: score is not defined' in this line: 'self.speed = 5 + Math.floor(score / 10);' Line Number: 10
User prompt
Fix Bug: 'ReferenceError: score is not defined' in this line: 'self.speed = 5 + Math.floor(score / 10);' Line Number: 10
User prompt
Add score in screen and increase game difficulty progressibly
User prompt
Move heros start positio 50 pixel higher
User prompt
Move hero 50 pixels up
User prompt
Spawn background on start
User prompt
Add background asset
User prompt
Fix herp jitter on movement
User prompt
If hero reaches screem limit stop moving
User prompt
Double hero speed
User prompt
Player should only move on the x axis
User prompt
Show player movemt not teletransport
User prompt
On click move hero to touch position
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'move')' in this line: 'coconuts[a].move();' Line Number: 36
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'move')' in this line: 'coconuts[a].move();' Line Number: 36
===================================================================
--- original.js
+++ change.js
@@ -54,9 +54,9 @@
var scoreBackground = self.addChild(new ScoreBackground());
var scoreTxt = new Text2(score.toString(), {
size: 150,
fill: "#ffffff",
- font: "'Press Start 2P', 'Courier', monospace"
+ font: "'Press Start 2P', monospace"
});
scoreTxt.anchor.set(.5, 0);
LK.gui.topCenter.addChild(scoreTxt);
var player = self.addChild(new Player());
8-bit. Cartoon. Guy the beach. Full body. Looking up. Sunglasses. Worried. In game asset. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
delete inpain selection
pixelart cartoon beach schene. just the beach and a big palm tree. no background.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixelart cartoon beach background for a mobile screen.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.