User prompt
make up and down movement slower and only for menu1 and menu2
User prompt
stop moving game title
User prompt
Please fix the bug: 'TypeError: titleButton.update is not a function' in or related to this line: 'titleButton.update();' Line Number: 1177
User prompt
make font on the buttons a little grey
User prompt
do not move buttons, instead meke them increase and decrease their size very slighty
Code edit (3 edits merged)
Please save this source code
User prompt
add the saame scale effect to game title
User prompt
use a cooler font on the menus
User prompt
replace home title and menu1 and menu2 by assets instead of text and buttons
User prompt
each menutitle and menu1 and menu2 should have their own asset
User prompt
remove box from menus
User prompt
add a thin black outline to the current lane lines
User prompt
Please fix the bug: 'Uncaught TypeError: Graphics is not a constructor' in or related to this line: 'var outlineGraphics = new Graphics();' Line Number: 72
User prompt
Please fix the bug: 'TypeError: Cannot set properties of undefined (setting 'update')' in or related to this line: 'leftPlayer.update = function () {' Line Number: 1275
User prompt
use tint #a8ed15 for small obstacle
User prompt
apply tint #a8ed15 to big obstacle
User prompt
make sure all obstacles use tint #a8ed15
User prompt
single obtacles sould also have tint #a8ed15
User prompt
create a new asset for obstacle line that is different than the line use for lanes
User prompt
Please fix the bug: 'TypeError: Cannot read properties of null (reading 'x')' in or related to this line: 'trail.x = leftPlayer.x;' Line Number: 1297
User prompt
use real size of obstacle line of the asset
User prompt
use tint #a8ed15 for obstacle line
User prompt
Please fix the bug: 'TypeError: Cannot read properties of null (reading 'y')' in or related to this line: 'trail.y = leftPlayer.y + leftPlayer.height / 2;' Line Number: 1292
User prompt
Please fix the bug: 'TypeError: Cannot set properties of undefined (setting 'update')' in or related to this line: 'leftPlayer.update = function () {' Line Number: 1276
User prompt
Please fix the bug: 'TypeError: Cannot set properties of undefined (setting 'update')' in or related to this line: 'leftPlayer.update = function () {' Line Number: 1276
===================================================================
--- original.js
+++ change.js
@@ -951,9 +951,9 @@
leftPlayer.x = player.x;
leftPlayer.y = player.y;
game.addChild(leftPlayer);
}
- if (leftPlayer && leftPlayer.update) {
+ if (leftPlayer) {
leftPlayer.update = function () {
if (animationDuration > 0) {
leftPlayer.x += (leftTargetX - leftPlayer.x) / animationDuration;
animationDuration--;
@@ -977,9 +977,9 @@
rightPlayer.x = player.x;
rightPlayer.y = player.y;
game.addChild(rightPlayer);
}
- if (rightPlayer && rightPlayer.update) {
+ if (rightPlayer) {
rightPlayer.update = function () {
if (animationDuration > 0) {
rightPlayer.x += (rightTargetX - rightPlayer.x) / animationDuration;
animationDuration--;
cartoon white circle. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
cartoon light blue circle. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
cartoon white square. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
black rectangle