User prompt
Move the coffee drops text 25 pixels up
User prompt
In the helpgui, make the coffee drops text center to the bottom coffee drop image
User prompt
In the help gui, add new text 15 pixels to the right of the coffee drop which states the number of coffee drops collected. Make sure the coffee drops are tracked with local storage and make sure it is updated each time a coffee drop is collected. Don't affect how coffee drops are counted in the score counter
User prompt
Please fix the bug: 'ReferenceError: coffeeDropCountText is not defined' in or related to this line: 'coffeeDropCountText.setText(storage.coffeeDropsCollected.toString());' Line Number: 1573
User prompt
Please fix the bug: 'ReferenceError: coffeeDropCountText is not defined' in or related to this line: 'coffeeDropCountText.setText(storage.coffeeDropsCollected.toString());' Line Number: 1572
User prompt
In the help gui, add new text 15 pixels to the right of the coffee drop which states the number of coffee drops collected. Make sure the coffee drops are tracked with local storage and make sure it is updated each time a coffee drop is collected
User prompt
In the help gui, can you add new coffee drop 150 pixels above the bottom of the screen and 150 pixels from the left of the screen
User prompt
In the help gui, can you add new coffee drop 150 pixels above the bottom of the screen and 50 pixels from the left of the screen
User prompt
In the help gui, can you add new coffee drop 125 pixels above the bottom of the screen and 125 pixels from the left of the screen
User prompt
In the help gui, can you add new coffee drop 125 pixels above the bottom of the screen and 125 pixels from the left of the screen
User prompt
In the help gui, can you add new coffee drop 35 pixels above the bottom of the screen and 35 pixels from the left of the screen
User prompt
In the help gui, can you move the *avoid the spinning spike* text up 30 pixels up and 30 pixels to the left please
User prompt
In the help gui, can you make the spike 50% smaller
User prompt
In the help gui, can you move the timer icon and text up 50 pixels
Code edit (1 edits merged)
Please save this source code
User prompt
Change "ballInfoText.rotation = 5 * (Math.PI / 360);" to make the rotation 180 degrees
Code edit (1 edits merged)
Please save this source code
User prompt
In the help screen, make the text horizontal
User prompt
Don't save the in game score with persistent data. Just track the total and update the high score if that score beats a previous high score please
User prompt
Don't use finalscore to calculate the highest score. Make sure the score saves even if the player leaves before the round is finished
User prompt
The highest score is not saving in perpetual data after the game is finished. Please fix that
User prompt
Below the Coffee Catcher text on the home screen, put the highest score the user has ever gotten with the text "Highest Score: ". Use perpetual data to save this value
User prompt
Remove the help button opening animation and make sure it is ready to be changed to another animation
User prompt
Can you keep presistent storage for if the spinning spikes are enabled or disabled ↪💡 Consider importing and using the following plugins: @upit/storage.v1
User prompt
Please fix the bug: 'storage is not defined' in or related to this line: 'gameSettings.disableSpikes = storage.disableSpikes;' Line Number: 1433
===================================================================
--- original.js
+++ change.js
@@ -1,5 +1,12 @@
/****
+* Plugins
+****/
+var storage = LK.import("@upit/storage.v1", {
+ disableSpikes: false
+});
+
+/****
* Classes
****/
// Replace basic particle graphics with enhanced ParticleGraphics
// Ball class
@@ -1362,14 +1369,14 @@
/****
* Game Code
****/
-// Instantiate ExplosionAsset to preload the asset
+// Initialize game settings
+// Create and set the new background
// Function to create a splash effect
// Replace basic splash graphics with enhanced SplashGraphics
// Function to create a splash effect
-// Create and set the new background
-// Initialize game settings
+// Instantiate ExplosionAsset to preload the asset
var explosionAsset = new ExplosionAsset();
function createExplosion(x, y) {
var explosion = new Explosion();
explosion.x = x;
@@ -1394,11 +1401,8 @@
if (LK.ticks % 60 == 0) {
spawnFallingObjects();
}
}
-var storage = {
- disableSpikes: false // Default value, can be updated based on actual storage implementation
-};
var gameSettings = new GameSettings();
gameSettings.disableSpikes = storage.disableSpikes;
game.showSettingsGUI = function () {
var settingsGUI = new SettingsGUI();
Coffee droplet.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. Shadows at the bottom.
Have the coffee cup open at the top
High end Coffee Shop. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. Shadows at the bottom.
Coffee trail going vertical. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. Shadows at the bottom.
Coffee splashing effect. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No Shadows.
Black circle with a bit of transparency.
Coffee Bean With Nothing Else. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Clock, Nothing else in the image.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A white particle trail, vertical. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Remove the plus from this image
Red X. Nothing else.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
White rectangle, curved corners. Small black border. Simple, modern. Aspect ratio 1550 * 2500.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Include only the spike.
Remove the bottom part that is not coming from the center explosion
Rectangular coffee themed start button. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Remove the random stuff below the question mark
Coffee themed button which has the text "gamemode". Make the aspect ratio of this button 5:1. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.