Code edit (2 edits merged)
Please save this source code
User prompt
every time a new star is created increase the threshold to destroy obstacles that are offcreeen in 300 pixels
User prompt
add hand to game start. dot should be bouncing on top of hand.
User prompt
on game start move star orbit and obstacle 1000 pixels higher
Code edit (1 edits merged)
Please save this source code
User prompt
dot should bounce on click but should start in still position on the top of the hand
User prompt
first star should spawn 700 pixels higher
User prompt
move dot 400 pixels higher on game start and should bounce 400 pixels higher too
User prompt
move all assets from game start 500 pixels higher
Code edit (1 edits merged)
Please save this source code
User prompt
move initial orbit 500 pixels lower
User prompt
move initial obstacles 500 pixels higher
User prompt
make dot bounce point 500 pixels higher
User prompt
initial dot bounce should happen 500 pixels higher from current spot.
Code edit (2 edits merged)
Please save this source code
User prompt
add hand below dot on game start
User prompt
dot should continue to bounce on initial position and not go dowards until first star is destroyed
User prompt
after first star is destroyed, destroy hand, and allow dot to keep moving downwards and not bounce
User prompt
dot should bounce when it intersects with hand
User prompt
hand destroy should be a fade down
User prompt
when first star is destroyed, hand should move downwards 800 pixels and then destroy itself.
User prompt
do not destroy hand when star is destroyed
User prompt
when star is destroyed, add movement to the hand, and move the hand downwards 1000 pixels
User prompt
hand should mvoe on tick 1000 pixels down after star is destroyed
User prompt
when first star is destroyed, move hand on tick 1000 pixels down.
===================================================================
--- original.js
+++ change.js
@@ -280,9 +280,9 @@
var orbitLine = game.addChild(new OrbitLine(star.x, star.y, 300));
obstacles.push(orbitLine);
function spawnInitialObstacles() {
var starX = 2048 / 2;
- var starY = 2732 / 2;
+ var starY = 2732 / 2 - 700;
var radius = 300;
var angleSpeed = 0.05;
for (var i = 0; i < 20; i++) {
var obstacle = game.addChild(new CircularObstacle(starX, starY, radius, angleSpeed));