Code edit (2 edits merged)
Please save this source code
User prompt
in game check that the start button has been pressed on the overlay before starting game
User prompt
add a start screen to game. full overlay with button that will allow game to start when pressed
Code edit (8 edits merged)
Please save this source code
User prompt
add in a reset loop for bonus item so when run it resets the timer once its been clicked or destroyed
User prompt
apply speed, rotation and bounce to generated bonus item
User prompt
add speed, rotation and bounce variables to bonus item
User prompt
add bonus item move to tick
User prompt
when bonus item has been created then display for 20 seconds and then remove it. Keep existing bonusitem timer that generates bonusitem
User prompt
when bonus item has been created then display for 20 seconds and then remove it.
User prompt
hen bonus item created display for 20 seconds and then destroy
User prompt
Fix Bug: 'Uncaught TypeError: Cannot set properties of undefined (setting 'createBonusItem')' in this line: 'self.createBonusItem = function (mainContainer) {' Line Number: 304
User prompt
add a bonus point item that will travel across the main container at a random time (between 1 and 2 minutes). When clicked it will ass a random bonus amount to the score of between 4 and 10 points
Code edit (1 edits merged)
Please save this source code
Code edit (5 edits merged)
Please save this source code
User prompt
refersh level indicator when level changes
User prompt
add in game class current level indicator text
Code edit (1 edits merged)
Please save this source code
User prompt
dd level indicator to game
Code edit (1 edits merged)
Please save this source code
User prompt
when level changes chack update level and presentTypescount before running createPresents
User prompt
hen level changes update current level
User prompt
hen get next level is called increase level by 1
User prompt
dd text under life indicator to show current level
User prompt
add text to display current level
===================================================================
--- original.js
+++ change.js
@@ -103,9 +103,9 @@
self.addChild(startButton);
});
var BonusItem = Container.expand(function () {
var self = Container.call(this);
- self.speed = Math.random() * 3 + 1;
+ self.speed = Math.random() * 5 + 1;
self.rotationSpeed = (Math.random() - 0.5) * 0.1;
self.bounce = Math.random() * 0.5 + 0.5;
self.vx = (Math.random() > 0.5 ? 1 : -1) * self.speed;
self.vy = (Math.random() > 0.5 ? 1 : -1) * self.speed;
basic snowflake. white Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
open top of Santa's sack. wrapped presents with ribbons and box, vivid colours, candy canes Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
close up of a Snow covered roof, Winter scene, star lit night sky, brick chimbly on right hand side, Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
gift wrapped box, vivid colours. with bow on top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
gift wrapped box, vivid colours. with bow on top 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.
stary night sky.dark blue. no land. only sky 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.
gift wrapped box, vivid colours. with bow on top 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.
gift wrapped box, vivid colours. with bow on top 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.
gift wrapped box, vivid colours. with bow on top 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.
Candy cane, vivid colours. with bow on top 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.
gift wrapped box, vivid colours. with bow on top 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.
gift wrapped box, vivid colours. with bow on top 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.
old paper scroll, blank with no writing, Single Game Texture. In-Game asset. 2d. transparent Blank background. High contrast. No shadows. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
rudolf the red nose raindeer Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
gift wrapped box, bright colours. with bow on top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Single Game Texture.
gift wrapped box, bright light colours. with bow on top Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows. Single Game Texture.
Santa's sleigh with a team of reindeer moving across a star light sky. 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.