Code edit (1 edits merged)
Please save this source code
User prompt
while the car moves play the engine sound. after the player taps the screen, immediately stop and restart the engine sound
User prompt
after the player taps the screen, stop and restart the engine sound
Code edit (6 edits merged)
Please save this source code
User prompt
after the player taps the screen, stop and restart the engine sound
User prompt
stop the engine sound immediatelly after a drift occurs
User prompt
after each drift, play the engine sound and let it play. stop it as soon as a drift occurs then restart it
User prompt
when drifting the car, play the Skid sound
User prompt
Migrate to the latest version of LK
User prompt
ensure the notifications texts don't repeat. pick a random one each time, and only reset the list once all texts have been exhausted
User prompt
update notification after every point instead of 2
Code edit (7 edits merged)
Please save this source code
User prompt
move the notification 100 pixels to the left
Code edit (1 edits merged)
Please save this source code
User prompt
make the text aligned from left instead of the center
Code edit (14 edits merged)
Please save this source code
User prompt
move the notification 200 pixels higher
Code edit (2 edits merged)
Please save this source code
User prompt
I still cant see the driver, ensure it's position is fixed to the left edge of the screen
Code edit (1 edits merged)
Please save this source code
User prompt
the driver asset is part of theUI it should remain in the screen view at all times
Code edit (2 edits merged)
Please save this source code
User prompt
givethe driver x & y coordinates so I can edit it position
User prompt
create a new asset called Driver and place it the the bottom left side of the screen
User prompt
Fix Bug: 'ReferenceError: mainContainer is not defined' in this line: 'self.notificationText.y = self.y + mainContainer.y + 200;' Line Number: 63
===================================================================
--- original.js
+++ change.js
@@ -1,8 +1,8 @@
var Driver = Container.expand(function () {
var self = Container.call(this);
- self.x = 0;
- self.y = 0;
+ self.x = 500;
+ self.y = 500;
var driverGraphics = self.createAsset('driver', 'Driver Asset', 0.5, 0.5);
});
var Particle = Container.expand(function () {
var self = Container.call(this);
DeLorean car, seen from behind Top-down, gta2, Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.isometric
cool looking driver holding a car wheel as if he's driving. 30 years old. vintage retro 1980 style. 3/4 view. pixelated. 8 bit. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.