Code edit (7 edits merged)
Please save this source code
User prompt
in resetButton.deactivate animate the button out to y=-300 ↪💡 Consider importing and using the following plugins: @upit/tween.v1, @upit/storage.v1, @upit/tween.v1
Code edit (1 edits merged)
Please save this source code
User prompt
do the same for resetbutton.activate ↪💡 Consider importing and using the following plugins: @upit/tween.v1, @upit/storage.v1, @upit/tween.v1
Code edit (1 edits merged)
Please save this source code
User prompt
in menubutton.activate() function animate entrance from y=-300 to y=130 ↪💡 Consider importing and using the following plugins: @upit/tween.v1, @upit/storage.v1, @upit/tween.v1
Code edit (6 edits merged)
Please save this source code
User prompt
for levelText Animate scale to 10 and fade out; did not work, use w & h instead (store inital values before anim) ↪💡 Consider importing and using the following plugins: @upit/tween.v1, @upit/storage.v1, @upit/tween.v1
User prompt
when tapping a level in the menu, animate if scale to 10 and fade out (then restore it no inital values) ↪💡 Consider importing and using the following plugins: @upit/tween.v1, @upit/storage.v1, @upit/tween.v1
User prompt
use storage plugin to store maxReachedLevelNumber ↪💡 Consider importing and using the following plugins: @upit/tween.v1, @upit/storage.v1
Code edit (1 edits merged)
Please save this source code
User prompt
add logs in updateMenuGrid
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot set properties of undefined (setting 'fill')' in or related to this line: 'levelText.style.fill = lvlColor;' Line Number: 471
Code edit (5 edits merged)
Please save this source code
User prompt
in updateMenuGrid Fore ach levelText in menuGrid, update the level color depending on puzzleManager.maxReachedLevelNumber
Code edit (3 edits merged)
Please save this source code
User prompt
fix ```levelText.down = function () { log("Tapped level number:", lvl); }; ```to take into account the scope
User prompt
in MenuBoard, add a down event handler on levelText elements and log the tapped level number
Code edit (2 edits merged)
Please save this source code
User prompt
in showWall() animate backgroundWall alpha from 0 to 1
Code edit (5 edits merged)
Please save this source code
User prompt
in cleanMenuState, animate menu exit to the left side
User prompt
in initMenuState, animate menuBoard entrance from the right side
Code edit (1 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -1491,8 +1491,9 @@
isMenuReady = true;
}
});
menuButton.deactivate();
+ resetButton.deactivate();
}
function handleMenuLoop() {
// Handle the game loop for MENU state
log("Handling MENU Loop");
tick
Sound effect
tileEntrance
Sound effect
tileRemove
Sound effect
operationSelect
Sound effect
operationCancel
Sound effect
tileChangeValue
Sound effect
resetSound
Sound effect
levelFailed
Sound effect
menuLevelSelect
Sound effect
menuCellEnter
Sound effect
applause
Sound effect
bgMusic
Music
tada
Sound effect