User prompt
Move the game title to the left
User prompt
Add design to the game title
User prompt
Add design to the game title with "Car Racing" theme
User prompt
Flip sideward of left arrow asset
User prompt
Finish line asset have white and black tiles
User prompt
Background ID asset input
User prompt
Whe game over spawns, a Pixel art trophy shows under it
User prompt
Fix finish line turning black
User prompt
Fix finish line when turning black
===================================================================
--- original.js
+++ change.js
@@ -45,8 +45,9 @@
var FinishLine = Container.expand(function () {
var self = Container.call(this);
var finishLineGraphics = self.createAsset('finishLine', 'Finish Line Graphics', .5, 1);
finishLineGraphics.scale.set(5);
+ finishLineGraphics.tint = Math.random() < 0.5 ? 0xFFFFFF : 0x000000;
});
var Game = Container.expand(function () {
var self = Container.call(this);
LK.stageContainer.setBackgroundColor(0x00008B);