Code edit (1 edits merged)
Please save this source code
User prompt
Drag Race Legends
Initial prompt
i want you to make a 2d drag race game. The game will have a sign up page at first and then user will enter the game. For the second page there will be "race" button that leads the user to the drag race menu, "garage" button that leads the user to the personal garage where the user keeps his car or cars at (there is 10 car limit in the garage and only 2 spot will be open at first. Users needs to buy car spots one by one with the price of 5 crystals), "car gallery" button that leads the user to the car gallery to buy cars, and there will be a "shop" button that lead the user to the shop where users can buy engines with different hp and weight, turbos with different +hp, psi and weight, intakes with more hp, tires with more grip, spray paints for the car with the currency of cash. In "race" menu user will race with the car that user chooses that user owns in their garage. the race will be 500 meter long. The cars speed depends on how much hp it carries.
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 });
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});