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
User prompt
Fix Bug: 'ReferenceError: mainContainer is not defined' in this line: 'self.notificationText.x = self.x + mainContainer.x;' Line Number: 62
User prompt
the notifications still dont follow the car. I cant see them over the car :(
User prompt
Fix Bug: 'ReferenceError: mainContainer is not defined' in this line: 'self.notificationText.y = self.y + mainContainer.y + 200;' Line Number: 63
User prompt
Fix Bug: 'ReferenceError: mainContainer is not defined' in this line: 'self.notificationText.x = self.x + mainContainer.x;' Line Number: 62
User prompt
I still cant see the text for the notification. at the start of the game I see maybe a bit of it at the right side of the screen than cant see it anymore, somethign ir wrong with its position
User prompt
the notification text is not visible, move it to the very center of the car, it should appear at the same point as the car
User prompt
I still cant see the notification
Code edit (2 edits merged)
Please save this source code
User prompt
I cant see the notifications, maybe you are displaying them too far away from the car, move them closer to the car's asset
User prompt
Fix Bug: 'ReferenceError: notificationText is not defined' in this line: 'notificationText.x = car.x + mainContainer.x;' Line Number: 195
User prompt
Fix Bug: 'ReferenceError: notificationText is not defined' in this line: 'notificationText.setText(notificationTexts[Math.floor(Math.random() * notificationTexts.length)]);' Line Number: 193
User prompt
Fix Bug: 'Uncaught ReferenceError: notificationTexts is not defined' in this line: 'self.notificationText = new Text2(notificationTexts[Math.floor(Math.random() * notificationTexts.length)], {' Line Number: 24
User prompt
the notifications still dont follow the car, they need to appear above the car and remain there as the car moves
User prompt
the notifications are currently remaining in the place they were generated, they need to follow the car
User prompt
the notification should follow the car, not remain behind it
User prompt
instead of having the notifications stuck to the screen, make them come out of the car. they should appear above the car
Code edit (1 edits merged)
Please save this source code
User prompt
make the notification text outline stronger
User prompt
the undernotification asset is a property of the notification text, thus is should always appear under the text. it's part of the UI. right now it remains stuck to the ground
User prompt
I cant see the asset under the notification text. ensure it is under the text but above the road
User prompt
add an asset under the notification text layer
===================================================================
--- original.js
+++ change.js
@@ -59,9 +59,9 @@
nonTravelMomentum = self.momentum.x;
}
self.nonTravelMomentum = nonTravelMomentum;
self.notificationText.x = self.x + self.parent.x;
- self.notificationText.y = self.y + mainContainer.y + 200;
+ self.notificationText.y = self.y + self.parent.y + 200;
};
self.changeDirection = function () {
self.direction = self.direction === 0 ? 1 : 0;
self.speed = self.ORIGINAL_SPEED;
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.