User prompt
Make human appear when you click rightArrow
User prompt
Please fix the bug: 'TypeError: game.removeAllChildren is not a function' in or related to this line: 'game.removeAllChildren();' Line Number: 233
User prompt
When rightArrow is clicked, make it so that when you click it, it teleports you to a different slide, where there's a text engine that says "You can do this!"
User prompt
Remove the number counter. It seems like your brain can't handle something so "hard".
User prompt
Uh oh! Now it's saying "NaN"! Fix this and I'll reward you!
User prompt
Uh oh. Instead of the increment going up, the number counter disappeared! Fix this and I
User prompt
Code it so that when hurlBall touches coin, the counter will go up by one. Not as in moving up, but moving up in numbers. For example, if you touch a coin at 0, the counter will go to 1. You get it.
User prompt
Code it so that "particle" despawns two seconds after appearing (to avoid lag)
User prompt
Add a counter that goes up in the top right corner of the screen.
User prompt
Remove the coin counter.
User prompt
Add a coin counter in the top right corner of the screen that says "Coins: 0". When hurlBall touches a coin, the coin counter will go up by one.
User prompt
Program a feature where coins are randomly placed somewhere every 4 seconds.
User prompt
Remove the coin counter.
User prompt
For example, when I destroy an enemy, the coin counter should move up and go to "Coins: 1" and so on.
User prompt
The coin counter isn't working. No numbers are changing.
User prompt
Please fix the bug: 'TypeError: Cannot read properties of undefined (reading 'split')' in or related to this line: 'var currentCoins = parseInt(coinCounter.text.split(": ")[1]);' Line Number: 166
User prompt
In the top right corner of the screen, add some text that says "Coins: 0" where if you destroy an enemy, the number of coins on the coin counter with go up by 1.
User prompt
Add a background.
User prompt
Rotate hero way more
User prompt
Rotate hero a bit
User prompt
Flip hero upside down
User prompt
Make hero slightly bigger
User prompt
Make the player slightly bigger
User prompt
Add a right arrow to the middle right of the screen.
User prompt
When an enemy dies, make the particle disappear 3 seconds afterwards.
===================================================================
--- original.js
+++ change.js
@@ -219,16 +219,13 @@
});
game.addChild(rightArrow);
rightArrow.on('down', function () {
game.removeChildren();
- var encouragementText = new Text2('You can do this!', {
- size: 150,
- fill: "#ffffff",
+ var human = game.addChild(LK.getAsset('human', {
anchorX: 0.5,
anchorY: 0.5,
x: 1024,
y: 1366
- });
- game.addChild(encouragementText);
+ }));
});
;
;
\ No newline at end of file
Right arrow icon. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Angry basketball hoop. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Top down view of a cannon. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Kinda futuristic basketball court. Background
Duck in a jersey.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Forest. Background
Chat bubble that says "Ignore me and attend the game!". Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Left arrow icon. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.