Code edit (12 edits merged)
Please save this source code
Code edit (4 edits merged)
Please save this source code
User prompt
Please fix the bug: 'Timeout.tick error: self.bonusIcon is null' in or related to this line: 'self.bonusIcon.destroy();' Line Number: 269
Code edit (4 edits merged)
Please save this source code
User prompt
play bonus_approaching when bonus manager activate a bonus
User prompt
play bonus_take when taking a bonus
Code edit (1 edits merged)
Please save this source code
User prompt
in BOnus update, make bonusHalo rotate sequencially
===================================================================
--- original.js
+++ change.js
@@ -114,11 +114,9 @@
var BonusManager = Container.expand(function () {
var self = Container.call(this);
self.bonuses = [];
self.bonusIcon = null;
- self.bonusIcon = null;
self.currentBonusIndex = 0;
- self.bonusIcon = null;
self.currentActiveBonus = 0;
self.lastBonusUpdate = 0;
self.bonusDelay = 16000; // Delay in milliseconds before updating bonus
self.addBonus = function (bonus) {
@@ -1478,9 +1476,9 @@
name: "Level 1",
backgroundTint: 0xeda716,
coinValue: 0.10,
baseSpeed: 10,
- nextLevelScore: 10
+ nextLevelScore: 1
}, {
name: "Level 2",
backgroundTint: 0x2faf1d,
coinValue: 1,
Directly overhead, plumb view of a beggar heading top (we see his back).. Zenith view, directly overhead, plumb view. NOT PERSPECTIVE! Fantasy theme. Pixel art
a traffic cone. video game sprite
face view of a big start button in the shape of a dollar bill. video game style
a tree. video game style
a black garbage bag. video game style
Dollar bill. Perspective. video game sprite
perspective of a simple snake rolled up on itself.. video game sprite
Ball of dry desert bushes. video game sprite
tractor. high definition video game sprite
street ad billboard with 1 or 2 posts with "Get rich!" on it. high definition video game sprite
a dog sleeping on a street. video game sprite
desert bush. video game sprite
profile view of an empty motorcycle helmet. black with a white vertical central band and another thiner orange band on the center. NOT PERSPECTIVE!. Pixel art high definition
simple red and white magnet. video game style
gold sign with a "X" and a "2". video game style
bgMusic
Music
coin_1
Sound effect
hit_1
Sound effect
hit_2
Sound effect
hit_3
Sound effect
levelWin_1
Sound effect
car_1
Sound effect
police_1
Sound effect
ambulance_1
Sound effect
accident_1
Sound effect
killed_1
Sound effect
jump_1
Sound effect
rip_1
Sound effect
bonus_take
Sound effect
bonus_approaching
Sound effect