User prompt
coconut shadow should not move with coconut. I just needs to appear in the 350 Y position below the coconut.
Code edit (1 edits merged)
Please save this source code
User prompt
coconut shadow should spawn in y = 350
User prompt
coconut shadow shoud spawn under every coconut in the same height that the hero shadow is
User prompt
coconut shadow should spawn when coconut is 500 pixels from the bottom of the screen
User prompt
create an asset for coconut shadow
User prompt
coconut shado wil spawn nin the same height as the hero shadow
User prompt
create coconut shade
User prompt
Fix Bug: 'TypeError: LK.effects.createExplosion is not a function' in this line: 'LK.effects.createExplosion(coconut.x, coconut.y, 10, 0xFFFF00, 300);' Line Number: 87
User prompt
add particle effect when cocconuts are destroyed
User prompt
add cocconut explosion effect when they are destroyed
User prompt
destroy coconuts when they are 200 pixels from the bottom of the screen
User prompt
when coconut reaches 350 pixels before bottom of screen it has to be destroyed.
User prompt
move player shadow 50 pixels down
User prompt
move player shadow 50 pixels down
User prompt
move player shadow 100 pixels down
User prompt
move player shadow under the hero image
User prompt
add shadow under hero
User prompt
move score text inside container 20 pixels down
User prompt
move score 20 pixels down
User prompt
add shade to score text
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
===================================================================
--- original.js
+++ change.js
@@ -13,9 +13,9 @@
var Coconut = Container.expand(function () {
var self = Container.call(this);
var coconutGraphics = self.createAsset('coconut', 'Coconut Graphics', .5, .5);
var coconutShadow = self.createAsset('coconutShadow', 'Coconut Shadow Graphics', .5, .5);
- coconutShadow.y = 1000;
+ coconutShadow.y = self.y + 350;
coconutShadow.alpha = 0.5;
self.addChildAt(coconutShadow, 0);
self.setSpeed = function (score) {
self.speed = 5 + Math.floor(score / 10);
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.