User prompt
remove glow graphics from candy
User prompt
Add glow effect on candy without filters
User prompt
make candy glowing without filters
User prompt
remove glowing from candy
User prompt
Fix Bug: 'Uncaught ReferenceError: filters is not defined' in this line: 'self.glow = new filters.GlowFilter();' Line Number: 74
User prompt
Fix Bug: 'Uncaught ReferenceError: filters is not defined' in this line: 'self.glow = new filters.GlowFilter();' Line Number: 74
User prompt
make candy glowing
User prompt
make all buttons bigger
User prompt
Create two buttons at the bottom of screen. The first one is "Automation" and the second one is "Evolution"
User prompt
Rename Upgrade to "Basic Upgrade"
User prompt
create a function to format numbers into shorter version with suffix, so 1350 will convert to 1.35K, 18923700 will convert to 1,89M
User prompt
subtract half of candy size from position when create popUpNumber
User prompt
set anchor of incometext to 0.5 0.5
User prompt
offset incomeText in popupnumber so it center at the top left
User prompt
anchor scoretext at top center
User prompt
make the text anchored center
User prompt
make popup text bigger to a font size 50
User prompt
remove all backgrounds
User prompt
make background 3 not moving but rotation around the screen center
User prompt
Change alpha to 0.5 for abackground layer 3
User prompt
make backgrounds twice the width of the screen
User prompt
make backgrounds the size of game screen
User prompt
create a function which updates every 1/60 seconds. Move backgrounds there
User prompt
make a parallax background with 3 elements
User prompt
make an animated background for game
===================================================================
--- original.js
+++ change.js
@@ -70,18 +70,14 @@
});
var Candy = Container.expand(function () {
var self = Container.call(this);
var candyGraphics = self.createAsset('candy', 'Candy Graphics', .5, .5);
- var glowGraphics = self.createAsset('candyGlow', 'Candy Glow Graphics', .5, .5);
- glowGraphics.alpha = 0;
self.click = function () {
self.scale.x = 1.1;
self.scale.y = 1.1;
- glowGraphics.alpha = 1;
LK.setTimeout(function () {
self.scale.x = 1;
self.scale.y = 1;
- glowGraphics.alpha = 0;
}, 100);
};
});
var BasicUpgrade = Container.expand(function () {