Code edit (1 edits merged)
Please save this source code
User prompt
only keep one objbackground11
Code edit (4 edits merged)
Please save this source code
User prompt
it should be infront of objbackground11
User prompt
it stretches too much, it should look like its dancing
Code edit (1 edits merged)
Please save this source code
User prompt
more slowly
Code edit (12 edits merged)
Please save this source code
User prompt
animate ObjMusicNotes make it stretch
Code edit (1 edits merged)
Please save this source code
Code edit (4 edits merged)
Please save this source code
User prompt
they are too high, they should be positionned at least around y 1366
User prompt
much lower
User prompt
position them lower
User prompt
when they move negatively on the x axis, flip the visual
User prompt
i don't see them
User prompt
i don't see it, make sure its in the center of the playspace
User prompt
make objfish swim around its current starting position and slowly scale up and down
Code edit (1 edits merged)
Please save this source code
User prompt
make the score a bit less big
User prompt
little less
User prompt
make the score a bit bigger
User prompt
more for 07
User prompt
big more for backgrund07
User prompt
background02 & 07 should move a bit less
===================================================================
--- original.js
+++ change.js
@@ -63,8 +63,31 @@
self.destroy(); // Destroy background13 when it goes out of bounds
}
};
});
+var ObjFish = Container.expand(function () {
+ var self = Container.call(this);
+ var fishGraphics = self.attachAsset('objFish', {
+ anchorX: 0.5,
+ anchorY: 0.5
+ });
+ var startX = self.x;
+ var startY = self.y;
+ var scaleDirection = 1;
+ self.update = function () {
+ // Make the fish swim around its starting position
+ self.x = startX + Math.sin(LK.ticks / 60) * 50;
+ self.y = startY + Math.cos(LK.ticks / 60) * 30;
+ // Slowly scale the fish up and down
+ if (self.scale.x >= 1.1) {
+ scaleDirection = -1;
+ } else if (self.scale.x <= 0.9) {
+ scaleDirection = 1;
+ }
+ self.scale.x += scaleDirection * 0.001;
+ self.scale.y += scaleDirection * 0.001;
+ };
+});
var Seagull = Container.expand(function () {
var self = Container.call(this);
var seagullGraphics = self.attachAsset('objSeagull', {
anchorX: 0.5,
@@ -207,12 +230,9 @@
background.y = 1366;
var objSmoke = game.addChild(new Smoke());
objSmoke.x = 975;
objSmoke.y = 875;
-var objFish = game.addChild(LK.getAsset('objFish', {
- anchorX: 0.5,
- anchorY: 0.5
-}));
+var objFish = game.addChild(new ObjFish());
objFish.x = 1200;
objFish.y = 1500;
var background11 = game.addChild(LK.getAsset('objBackground11', {
anchorX: 0.5,
@@ -265,9 +285,9 @@
}));
background3.x = 1824;
background3.y = 2166;
var background2 = game.addChild(new Background02());
-background2.x = 1800;
+background2.x = 1790;
background2.y = 1766;
var seagull = game.addChild(new Seagull());
seagull.x = 1024;
seagull.y = 475;
Create a cartoon-style illustration of the ocean and an empty sandy beach from the perspective of a person standing on the beach. The goal is to capture a lively and playful location.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of fries in a brown bag. The goal is to capture a lively and playful object. Front perspective. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of white drop of paint. The goal is to capture a lively and playful paint.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of white splash of paint. The goal is to capture a lively and playful paint. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of a stomach The goal is to capture a lively and playful stomach... Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of palm trees. The goal is to capture a lively and playful location. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of beach rocks. The goal is to capture a lively and playful location. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of a wooden no feeding and no littering sign on a sandy stake.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of a speech bubble that is written I'm Hungry!. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of a giant squid menacingly staring... Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of palm trees leaves.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of a dark silhouette of a seaplane, side profile. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of smoke.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of a mix of colorful music notes. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
create a cartoon-style illustration of a crab from the back. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
create a cartoon-style illustration of a sand cloud. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
create a cartoon-style illustration of an explosion of stars. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
create a cartoon-style illustration of an speech bubble with the word "Yum!". Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
make it more colorful in the top portion of the bricks
Create a cartoon-style illustration of a mix of a beach radio. Front View. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a close-up cartoon-style illustration of an dizzy seagull with his tongue sticking out on an empty sandy beach. The goal is to capture a lively and playful game over screen. Make sure 'game over' is written.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a close-up cartoon-style illustration of the letters "sos" in black. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of a smiling face of a seagul with black shades with the words "Time Bonus" at the bottom of it. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Create a cartoon-style illustration of a seagul's face chomping down on a slice of bread make it comical. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
create a cartoon-style illustration of an red girly angry emoji. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
create a cartoon-style illustration of a seagul's face chomping down on fries make it comical.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
create a cartoon-style illustration of a seagul's face chomping down on a fish make it comical.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
three words 'dive to eat' in a cartoonish style with an arrow pointing down. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.