User prompt
Кнопка купить улучшение местности может заставить Пол подарок и ёлку
User prompt
Измени местность на Белый
User prompt
Стоимость пола 1кв² 1$
User prompt
Стоимость пола 1$
User prompt
Стоимость пола 1
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'forEach')' in this line: 'self.terrainUpgrades.forEach(function (upgrade) {' Line Number: 152
User prompt
Кнопка Пол сравнить объект floor
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'forEach')' in this line: 'self.terrainUpgrades.forEach(function (upgrade) {' Line Number: 153
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'forEach')' in this line: 'self.terrainUpgrades.forEach(function (upgrade) {' Line Number: 152
User prompt
Стоимость пола 0$
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'forEach')' in this line: 'self.terrainUpgrades.forEach(function (upgrade) {' Line Number: 153
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'forEach')' in this line: 'self.terrainUpgrades.forEach(function (upgrade) {' Line Number: 152
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'forEach')' in this line: 'self.terrainUpgrades.forEach(function (upgrade) {' Line Number: 151
User prompt
Сделай кнопку которая сравнить Пол под объектами а потом и про сто
User prompt
Сделай дефолтный Белый Пол
User prompt
Сделай чёрный белым
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'prototype')' in this line: 'FoxBehavior.prototype.onFoxClicked = function () {' Line Number: 2
===================================================================
--- original.js
+++ change.js
@@ -148,11 +148,13 @@
compareGroundButton.x = 2048 / 2;
compareGroundButton.y = 2732 - compareGroundButton.height * 1.5;
self.addChild(compareGroundButton);
compareGroundButton.on('down', function () {
- self.terrainUpgrades.forEach(function (upgrade) {
- upgrade.alpha = upgrade.alpha === 1 ? 0.5 : 1;
- });
+ if (self.terrainUpgrades) {
+ self.terrainUpgrades.forEach(function (upgrade) {
+ upgrade.alpha = upgrade.alpha === 1 ? 0.5 : 1;
+ });
+ }
});
var purchaseFactoryButton = self.createAsset('purchaseFactoryButton', 'Purchase Factory Button', 0.5, 1);
var purchaseGuardButton = self.createAsset('purchaseGuardButton', 'Purchase Guard Button', 0.5, 1);
purchaseGuardButton.x = 2048 / 2 + purchaseGuardButton.width;
Фабрика Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Лис в новогодний шапке Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Рождественская ёлка Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Стрелочка в верх Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Покупка Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Санта Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Разноцветный подарок Подарок Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.