User prompt
Create 4 new race of fish
User prompt
Spawn one fish of each race
User prompt
Create 4 new race of fish
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'expand')' in this line: 'var RoyalGramma = Fish.expand(function () {' Line Number: 1
User prompt
Create 6 new race of fish
User prompt
Fish move 10 time faster
User prompt
Fix movement
User prompt
Spawn 4 fish of diferent race
User prompt
Spawn 2 fish
User prompt
Spawn only one fish
User prompt
Improve movement with 15 new functionality
User prompt
Fix fish not Moving
User prompt
Fix fish not Moving
User prompt
Fix fish not Moving
User prompt
Fix fish not Moving
User prompt
Fix fish not Moving
User prompt
Make all fish move
User prompt
Optimise
User prompt
Optimise
User prompt
Improve fish movement a lot
User prompt
Improve fish movement
User prompt
Fix move
User prompt
Spawn one of every class at begining
User prompt
Add a new race
User prompt
Spawn two différent object at begining
===================================================================
--- original.js
+++ change.js
@@ -79,9 +79,14 @@
self.moveBehavior = new FishMoveBehavior(self);
self.move = function () {
self.moveBehavior.update();
var waterBounds = self.getWaterBounds();
- self.moveBehavior.update();
+ if (self.x < waterBounds.left || self.x > waterBounds.right) {
+ self.x = Math.max(waterBounds.left, Math.min(self.x, waterBounds.right));
+ }
+ if (self.y < waterBounds.top || self.y > waterBounds.bottom) {
+ self.y = Math.max(waterBounds.top, Math.min(self.y, waterBounds.bottom));
+ }
};
self.on('tick', function () {
self.move();
});
An aquarium with no fish on a sheel in a photorealistic style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic goldfish. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic Angelfish. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic koyfish swiming to the right. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic gupyfish swiming to the right. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic bettafish swiming to the right. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic clownfish swiming to the right. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic pufferfish swiming to the right. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic surgeonfish swiming to the right. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic buble of water. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic fish egg. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic celestial pearl danio. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic Parrotfish. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic dartfish. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic moorishidol. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic tangfish. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic bannerfish. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic butterflyfish. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A realistic mandarinfish. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a realistic lionfish. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a realistic emperorFish. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a realistic sunfish. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a realistic discusFish. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a realistic neonTetra. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a realistic oscarFish. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a cardinal tetra. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a tang fish. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a clown fish. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.