Code edit (21 edits merged)
Please save this source code
User prompt
where it says 'make the t objects flash red' in the code, please make it do so
Code edit (1 edits merged)
Please save this source code
User prompt
please place a score label above the boad on the right side, and under it, a highest score label,somewhat smaller
Code edit (4 edits merged)
Please save this source code
User prompt
Please fix the bug: 'Error: Invalid end type for property x: undefined' in or related to this line: 'tween(self, {' Line Number: 173
Code edit (7 edits merged)
Please save this source code
User prompt
on gameover, please compare the playerscore to any previously stored highscore, using the storage plugin, and store the new highscore if it is indeed higher than the previous score. βͺπ‘ Consider importing and using the following plugins: @upit/storage.v1
User prompt
Please fix the bug: 'Cannot read properties of undefined (reading 'setItem')' in or related to this line: 'localStorage.setItem('highscore', playerScore);' Line Number: 679
User prompt
Please fix the bug: 'Cannot read properties of undefined (reading 'setItem')' in or related to this line: 'localStorage.setItem('highscore', playerScore);' Line Number: 675
User prompt
Please fix the bug: 'Cannot read properties of undefined (reading 'setItem')' in or related to this line: 'localStorage.setItem('highscore', playerScore);' Line Number: 671
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'TypeError: Cannot set properties of undefined (setting '3')' in or related to this line: 'currentLevel[self.gridY][self.gridX] = self.colorIndex;' Line Number: 189
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'TypeError: Cannot read properties of undefined (reading 'length')' in or related to this line: 'for (var i = 0; i < a.length; i++) {' Line Number: 357
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'TypeError: Cannot read properties of undefined (reading 'length')' in or related to this line: 'for (var i = 0; i < a.length; i++) {' Line Number: 357
User prompt
Please fix the bug: 'TypeError: Cannot read properties of undefined (reading 'length')' in or related to this line: 'for (var i = 0; i < a.length; i++) {' Line Number: 357
Code edit (1 edits merged)
Please save this source code
Code edit (4 edits merged)
Please save this source code
User prompt
Please fix the bug: 'TypeError: Cannot set properties of undefined (setting '5')' in or related to this line: 'currentLevel[self.gridY][self.gridX] = self.colorIndex;' Line Number: 189
Code edit (13 edits merged)
Please save this source code
User prompt
Please fix the bug: 'newPosition is not defined' in or related to this line: 'if (newPosition != 999) {' Line Number: 638
Code edit (1 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -699,9 +699,10 @@
if (playerScore > highScore) {
storage.highScore = playerScore;
}
console.log('highscore is now:', storage.highScore);
- tween(t, {
+ t.tint = 0xFF0000;
+ /*tween(t, {
tint: 0xFF0000
}, {
duration: 500,
easing: tween.easeInOut,
@@ -712,11 +713,11 @@
duration: 500,
easing: tween.easeInOut
});
}
- });
+ });*/
LK.setScore(playerScore);
- LK.showGameOver();
+ //LK.showGameOver();
} else if (newPos != 999) {
t.moveInPosition();
} else {
t.flyOut();
A large calm background drawing for a puzzle game, in dark calm blueish colors and non-confusing content. High definition. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A quadratic polished dark blue marble slate. Front perspective with right angles. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A white question mark in a circle, like for a help button in a game.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A white X in a circle, like for a close window button in a game. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A white questionmark on a black background. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A green check mark on a dark background. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.