Code edit (1 edits merged)
Please save this source code
User prompt
After the player has 6 points, start adding 100 pixles more for the next star y spawn position. This will be cumulative
User prompt
dot partcicles should take 1 whole second to dissapear
Code edit (7 edits merged)
Please save this source code
User prompt
change dot particle effect to be a circular explosion where all the dots have the same distance between each other and the same speed
User prompt
when dot is destroyed bounce should be disabled
User prompt
add increaase and decrease size animation to star
Code edit (3 edits merged)
Please save this source code
User prompt
decresase obstacle speed in half
Code edit (1 edits merged)
Please save this source code
User prompt
add more obstacles as score increases
User prompt
increase game dificulty every time score increases
User prompt
remove duplicate start
User prompt
obstacle should not rotate on its center
User prompt
Fix Bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'x')' in or related to this line: 'firstObstacle.x = star.x;' Line Number: 154
User prompt
on game start add 1 obstacles orbiting arroung the first stra
User prompt
obstacles should orbit arround the star
User prompt
smallobstacle should move downards on tick in relation to dot like obstacles do
User prompt
small obstacle can havev a different asset as the obstacle
User prompt
small obstacles should appear also orbiting about the first start
User prompt
small obstacle should orbit arround the star
User prompt
every time a star is spawned add a orbit of smallobstacles around it
User prompt
small obstacle should make an orbit arround the start
User prompt
create a new smallobstacle class.
Code edit (1 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -241,9 +241,9 @@
stars[j].destroy();
stars.splice(j, 1);
var newStar = game.addChild(new Star());
newStar.x = 2048 / 2;
- var additionalYOffset = LK.getScore() > 6 ? (LK.getScore() - 6) * 100 : 0;
+ var additionalYOffset = LK.getScore() > 4 ? (LK.getScore() - 4) * 100 : 0;
newStar.y = oldStarY - 2500 - additionalYOffset;
stars.push(newStar);
// Add a cumulative number of CircularObstacles at random positions around the new star
var cumulativeObstacles = 1 + LK.getScore();