User prompt
When the red box appears, a pig is generated that only moves repeatedly within the range of the red box.
User prompt
random the pink box
User prompt
Please fix the bug: 'Uncaught ReferenceError: RedBox is not defined' in or related to this line: 'var redBox = game.addChild(new RedBox());' Line Number: 103
User prompt
Generate 5 pink boxes
User prompt
Generate 5 yellow boxes
Code edit (1 edits merged)
Please save this source code
User prompt
Slow down the generation speed of yellow boxes
User prompt
set yellow box in grid syston
User prompt
Slowly generate yellow boxes over time
User prompt
Randomly generate blue boxes
User prompt
Generate some green boxes flying around in red box only
User prompt
Set the red box as a prohibited area
User prompt
The red box cannot pass through the green box
User prompt
Please fix the bug: 'ReferenceError: redBoxes is not defined' in or related to this line: 'for (var i = 0; i < redBoxes.length; i++) {' Line Number: 47
User prompt
when green box touch the red box,it will been pushed.
User prompt
Count and display the number of eaten green boxes
User prompt
houseBase can eat the green box
User prompt
Generate some green boxes flying around
User prompt
Please fix the bug: 'ReferenceError: redBoxes is not defined' in or related to this line: 'redBoxes.forEach(function (redBox) {' Line Number: 35
User prompt
Generate a green box from the center that moves over the red box
User prompt
Please fix the bug: 'Uncaught TypeError: game.sortChildren is not a function' in or related to this line: 'game.sortChildren();' Line Number: 108
User prompt
Bring tree to top
User prompt
When the mouse is clicked, the same number of red boxes are emitted at the location of all blue boxes.
User prompt
When the mouse is clicked, a red box is superimposed on the position of the blue box.
===================================================================
--- original.js
+++ change.js
@@ -92,9 +92,9 @@
};
// Update the game state
game.update = function () {
// Generate yellow boxes over time
- if (LK.ticks % 120 == 0) {
+ if (LK.ticks % 2000 == 0) {
// every two seconds
var yellowBox = game.addChild(new YellowBox());
// Define the size of the grid
var gridSize = 100;
house,low geometry style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
realy
rabbit. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
butterfly. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.