User prompt
in LevelManager set currentLevel & currentRound to -1 initally
User prompt
in initNewRoundState write the new level and round numbers in debugtext
Code edit (1 edits merged)
Please save this source code
User prompt
set cameraHUD visible in initNewRoundState
Code edit (3 edits merged)
Please save this source code
User prompt
re-add the CameraHUD in the initNewRoundState
User prompt
re-add background to backgroundLayer in initNewRoundState
Code edit (6 edits merged)
Please save this source code
User prompt
photoFrameBackground stands in backgroundLayer fix that in initResultState
User prompt
recreate the photoFrameBackground in initResultState
User prompt
in initnewRound, set the currentBackground using the levelManager the use that
User prompt
Use the LevelManager to get the background asset
Code edit (2 edits merged)
Please save this source code
User prompt
Add a name property to the levels.
Code edit (1 edits merged)
Please save this source code
User prompt
créons un variable global nommé niveau, non, niveau actuel
User prompt
Please fix the bug: 'ReferenceError: levelManager is not defined' in or related to this line: 'background = LK.getAsset(levelManager.getBackground(), {' Line Number: 469
User prompt
create a technical class named LevelManager responsible of providing the name of the assets to use for the background and the targets for each level and each round
User prompt
replace 0xAEC6CF by 0x8FA9B9
User prompt
replace 0xAEC6CF by 0xB2C4CF
Code edit (1 edits merged)
Please save this source code
User prompt
Changez la couleur du texte prêt à l'écran à blanc.
Code edit (5 edits merged)
Please save this source code
User prompt
use score text options for result text
Code edit (1 edits merged)
Please save this source code
===================================================================
--- original.js
+++ change.js
@@ -282,10 +282,10 @@
name: 'Space',
background: 'space',
targets: ['spaceObject1', 'spaceObject2']
}];
- this.currentLevel = 0;
- this.currentRound = 0;
+ this.currentLevel = -1;
+ this.currentRound = -1;
};
LevelManager.prototype.getBackground = function () {
return this.levels[this.currentLevel].background;
};
a forest.
flying Red-bellied Woodpecker.
flying Yellow-headed Blackbird.
flying Painted Bunting.
Underwater. only water and corals. NO animals
Countryside. 1 flower in foreground.
A Butterfly flying.
a fish swimming.
full dragonfly flying to the right.
full drone flying to the right.
a full hot air balloon with a basket flying to the right.
roofs of an empty modern city. day light
a satellite.
stary dark space. NO OBJECTS
a multitude of polaroids in bulk, with photos of birds, fishes, butterflies, planes, hot air baloons, satelites, dragonflies.....
A flying owl.
A flying parrot.
hippocampe.
shark. lateral view
diodon hystrix swimming. lateral view
fighting fish swimming. lateral view
a hang glider flying. full lateral view
un cerf-volant multicolore.
une coccinelle volante.
un scarabée vert irisé volant. side view
une gueppe volante. side view
un astronaute volant. full side view
une navette spaciale volante. full side view
un astéroïde volant dans l'espace. full side view
remove