Lurker News
Hey folks, was bored with work this week so with the help of chatgpt I built a ps1 style retro racing game.

Let me know what you think!

Comments (38) 24 threads

tsak3 replies#
I like the look! The leaves on the road and the trees that fall when you hit it with your car are a nice touch.
tsak1 reply#
After playing it a bit more:

- Opponents are a bit weak, I basically outpace them immediately
- If you fall off the track it puts you back to the last checkpoint which is a bit annoying on the Himalaya track

shash7#
Thanks man appreciate it!

Yeah I know I tried making the ai better but its hard. Looking back I would've added a dedicated AI library like Yama or something.
For falling off the track, that's intended. Its a similar mechanic to other games like this.

eduardoagarcia1 reply#
I really liked the look as well, the light and leaves on the road were great details.

What engine did you create this in? Curious what you used to make it!

shash7#
Thank you! I built it in threejs but honestly chatgpt suggested and used the libraries. I didn't use any major html5 game engines like phaser/pixijs, etc, most of the code was vibecoded.

Another exception was physics. I used the rapier 3d compat build. For AI, its custom(read, vibecoded) but I'd suggest using a proper AI like yuma since as you can see the AI isn't very good.

maxipavlovic#
Lol, exactly. Felt like a lumberjack simulator for me.
koshergweilo1 reply#
I somehow managed to get my car completely stuck. Please add the ability to "Restart" my car to the last checkpoint.

Otherwise good job on the visuals but the UI is rendered at a very high resolution which is a bit discordant with the rest of the crunchy pixel art style

shash7#
Thank you! Press esc(or pause) and there should be a restart from last checkpoint

Yeah true about the UI, I actually built the ui in css, logic was that it would be more optimum, but maybe I can try rendering the UI in the canvas itself.

jrrc_dev1 reply#
I always hated getting stuck on railings or trees in racing games, so being able to bulldoze through objects is a nice touch
shash7#
Yeah it was irritating early on so I made those entities destructible.
anentropic1 reply#
What's with the big yellow barriers across the road that you can't see through?
shash7#
Hey that's the checkpoints, you need to go through them. I know they are not the best, fix incoming :)

Load more comments