Code edit (1 edits merged)
Please save this source code
User prompt
in initNewRound show the grisboard and hide the logo
Code edit (5 edits merged)
Please save this source code
User prompt
Please fix the bug: 'Uncaught ReferenceError: logo is not defined' in or related to this line: 'if (logo && currentState === GAME_STATE.MENU) {' Line Number: 1095
User prompt
move it 50px down
User prompt
move logo 100px down
User prompt
make logo 1480x1480 and remove it when changing state
User prompt
show logo in menu state
User prompt
Double water drops count
User prompt
Set fontaine base size to 250
User prompt
Increase Fontaine base size to 300
User prompt
Reduce the fountainβs size change to be +/-30 ( base size 200)
User prompt
Along with Fontain rotation, animate its size (use sin with +/-100px)
Code edit (1 edits merged)
Please save this source code
User prompt
Like the fontain, let the valve turn indefinetly
User prompt
Please fix the bug: 'Timeout.tick error: self.normalizeRotation is not a function' in or related to this line: 'var normalizedRotation = self.normalizeRotation(tile.rotation);' Line Number: 760
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'Uncaught TypeError: self.normalizeRotation is not a function' in or related to this line: 'var normalizedRotation = self.normalizeRotation(tile.rotation);' Line Number: 752
Code edit (8 edits merged)
Please save this source code
User prompt
add detail logs using log() in flowThroughPipe enough to debug the water flow not working
Code edit (2 edits merged)
Please save this source code
User prompt
Please fix the bug: 'Uncaught TypeError: Cannot set properties of undefined (setting 'normalizeRotation')' in or related to this line: 'self.normalizeRotation = function (rotation) {' Line Number: 1134
User prompt
Please fix the bug: 'Uncaught TypeError: self.normalizeRotation is not a function' in or related to this line: 'var normalizedRotation = self.normalizeRotation(tile.rotation);' Line Number: 839
Code edit (1 edits merged)
Please save this source code
User prompt
log canReachEnd result (use log())
===================================================================
--- original.js
+++ change.js
@@ -1015,8 +1015,11 @@
}
function cleanMenuState() {
levelText.visible = true;
levelText.text = "Level 1";
+ if (logo) {
+ game.removeChild(logo);
+ }
}
function initNewRoundState() {
// Reset puzzle manager for new round
console.log("Entering New Round State");
@@ -1077,11 +1080,8 @@
console.log("Changing state from", currentState, "to", newState);
switch (currentState) {
case GAME_STATE.MENU:
cleanMenuState();
- if (logo && currentState === GAME_STATE.MENU) {
- game.removeChild(logo);
- }
break;
case GAME_STATE.NEW_ROUND:
cleanNewRoundState();
break;
straigth zenith view square light wooden pallet. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
straigth zenith view square wooden pallet with big screws in each corner Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
simple yellow rating star. Modern video game style
tileSlide
Sound effect
levelWon
Sound effect
tileBlocked
Sound effect
fountain
Sound effect
waterInPipe
Sound effect
bgMusic
Music
logoBounce
Sound effect
levelStart
Sound effect
bgMusic2
Music
flowerPop
Sound effect
roundResult
Sound effect
gameWon
Sound effect
resetSound
Sound effect
birds
Sound effect
birds2
Sound effect
birds3
Sound effect