User prompt
The pitch of eng sound ranges from 0.5 to 5
User prompt
can you make a sound mechanic where the pitch of the sound is increasing with the rpmneedle going up just like a cars enginesound where the engine sounds pitch is increased by the rpm
User prompt
make all the things (rpmgauge, rpmneedle, speedometer, gear indicator,) closer to the race track so player can watch the cars race and concentrate on shifting at the same time
User prompt
the max speed for each gear is reached when the rpm reaches its max and the car goes to rev limiter
User prompt
speed up the rpms (the cars power)
User prompt
the car speeds up as the rpm goes higher
User prompt
make the rpm going up slower with each gear shift like in a real car
User prompt
player onşy control the green car and playersshifting only affects green car. enemys shifting doesnt affect green car
User prompt
Please fix the bug: 'TypeError: Cannot read properties of undefined (reading 'call')' in or related to this line: 'Car.prototype.update.call(self);' Line Number: 107
Code edit (1 edits merged)
Please save this source code
User prompt
Perfect Shift - Drag Race Championship
Initial prompt
a pixel art drag race sim where you need to shift gears perfeclty in time in order to win
/**** * Initialize Game ****/ var game = new LK.Game({ backgroundColor: 0x000000 });
/****
* Initialize Game
****/
var game = new LK.Game({
backgroundColor: 0x000000
});
engineSound
Sound effect
gear1Sound
Sound effect
gear2Sound
Sound effect
gear3Sound
Sound effect
gear4Sound
Sound effect
gear5Sound
Sound effect
gear6Sound
Sound effect
revSound
Sound effect
perfectShift
Sound effect
badShift
Sound effect
raceStart
Sound effect
back
Music
fabulousShift
Sound effect