User prompt
Add a currency symbol asset to the left of the buttonText. Similarly it should be destroyed when destroying the buttonText
Code edit (5 edits merged)
Please save this source code
User prompt
tint NavigationButtons red. When the unlock function is called, reset the tint and destroy the buttonText
Code edit (1 edits merged)
Please save this source code
User prompt
Fix Bug: 'ReferenceError: b is not defined' in this line: 'b;' Line Number: 142
Code edit (1 edits merged)
Please save this source code
User prompt
Convert the buttonContainer into a class called NavigationInterface
Code edit (1 edits merged)
Please save this source code
User prompt
Add 4 buttons to the bottom of the screen
Code edit (6 edits merged)
Please save this source code
User prompt
add a launch function that takes in a direction value to both the planet and ship classes
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
Add two new planet classes: PlanetBlue and PlanetOmni
Code edit (2 edits merged)
Please save this source code
User prompt
Create a new planet called PlanetRed
Code edit (5 edits merged)
Please save this source code
User prompt
call the planet's update method from the global on tick callback
User prompt
in the planet update method increase the rotation by the spin value
User prompt
Planet and PlanetGrey should have a self.spin of 0 and 0.01 respectively
Code edit (1 edits merged)
Please save this source code
User prompt
add an update function to the planet class
User prompt
Instead of creating a farm on the first plot, create a ship
User prompt
a planet should randomize its rotation in it's constructor
User prompt
Set the width of the farm graphics to the PLOT_SIZE
===================================================================
--- original.js
+++ change.js
@@ -138,8 +138,9 @@
button.unlock();
}
}
;
+ buttonCallback(0);
});
/****
* Initialize Game
pixel art of a tiny planet. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a planet. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of an alien currency symbol. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a planet made of gold ore. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
plain black background with stars. 2d repeating Texture.
pixel art of a asteroid. Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a cute alien farmer, side view. Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a rocky explosion.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art flame particle. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a large white, empty, rectangular, speech bubble. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
pixel art of a red chevron. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Pixel art of yellow grapes. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.