Code edit (1 edits merged)
Please save this source code
Code edit (11 edits merged)
Please save this source code
User prompt
add rotation to stardisplay
Code edit (2 edits merged)
Please save this source code
User prompt
Display star assets on screen
Code edit (7 edits merged)
Please save this source code
User prompt
create star class that contain 4 assets called star1, star2, star3 and star4. Each asset to have variables for x,y pos and rotation
Code edit (1 edits merged)
Please save this source code
Code edit (1 edits merged)
Please save this source code
User prompt
Change gem detection code to an intersect based interaction
User prompt
For zbert and ball interaction check if the two asset cross each other as well as interact
Code edit (7 edits merged)
Please save this source code
User prompt
For grid rows 1 to 6 apply an offset of -100 on x for detection of Zbert and ball interaction
User prompt
add directionarrow asset to screen.
User prompt
add directionarrow asset to screen with controls to position x and y and rotate based upon degrees
Code edit (2 edits merged)
Please save this source code
User prompt
ensure grid cells are aligned to tiles in both X and Y directions
User prompt
when level changes remove any gems
Code edit (2 edits merged)
Please save this source code
User prompt
Add check to ensure paracute only attached once at beginning and then removed when fall finishs
User prompt
Modify the code to attach one paracute at beginning of fall and remove it at end
User prompt
Move parachute 50 pixels up
User prompt
When zbert is falling attach Zbertparachute to him
Code edit (1 edits merged)
Please save this source code
Code edit (2 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -474,9 +474,9 @@
/****
* Game Code
****/
// Instantiate and display stars on the screen
-var starDisplay1 = game.addChild(new StarDisplay('star1', 200, 2366, 1, 0.1));
+var starDisplay1 = game.addChild(new StarDisplay('star1', 200, 2366, 1, -0.5));
var starDisplay2 = game.addChild(new StarDisplay('star2', 300, 800, 1, 0.2));
var starDisplay3 = game.addChild(new StarDisplay('star3', 1748, 600, 1, 0.3));
var starDisplay4 = game.addChild(new StarDisplay('star4', 500, 2000, 1, 0.4));
// Function to reduce lives and handle game over
beautiful landscape. starry sky, pastel colours, high definition, alien world. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
beautiful landscape. starry sky, pastel colours, high definition, alien world.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
beautiful expansive landscape. starry sky, pastel colours, high definition, alien world.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
beautiful expansive landscape. starry sky, pastel colours, high definition, alien world.. 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.
A little cube person. 2 legs. back to viewer. facing 45 degrees to the right. multicoloured skin, cartoon style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
white circle. metallic. light bevel on edge. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Round furry, cute alien ball with big eyes. vivid colours, looking at 45 degrees to the right. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
bright 3d present with bow, vivd colours. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Change to be vivid multicoloured cube
A simple Triangle, flat shaded, bevelled edges. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Speech bubble with expletive word in it. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
parachute. multicoloured. cartoon style.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
white circle with a single thin black border. flat shade. simple graphic. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
small star shape, vivid metallic blue, varying length spikes on star. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.