Settings

Theme

Show HN: I made a PS1 style racing game

outpostracer.com

52 points by shash7 · 46 comments · 1 min read

Reader

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!

20 threads
tsak

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.

  • tsak

    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

    • shash7OP

      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.

  • eduardoagarcia

    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!

    • shash7OP

      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.

koshergweilo

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

  • shash7OP

    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_dev

I always hated getting stuck on railings or trees in racing games, so being able to bulldoze through objects is a nice touch

  • shash7OP

    Yeah it was irritating early on so I made those entities destructible.

opan

Very slow to load in on mobile, but then runs okay once it loads in. Surprisingly decent touchscreen controls also. Is this vibecoded? Is it free (as in freedom) software? How long have you been working on it?

  • shash7OP

    Hey what mobile and os version are you on? I did optimize it for mobiles specifically so I'm curious to know.

    1. Vibecoded(Even I'm surprised how good it turned out to be)

    2. Completely free

    3. 4 days

    • opan

      I'm running LineageOS 24.0 (Android 17) on a OnePlus 8T and using Fennec (Firefox).

      • shash7OP

        Thanks! Is it just the loading that takes time, or does the game lag too? Oneplus 8t is a good phone so the game should ideally be smooth.

theturtletalks

Great game! Few things. Brake should be named reverse. On mobile, tapping the button multiple times rapidly makes the whole game zoom in due to iOS behavior. Double clicking doesn’t zoom back out.

  • shash7OP

    Thanks! Good suggestions, refresh it and try it now the controls for mouse should be better.

bazijjoba

I liked it; the checkpoint are a bit too big; so sometimes I cannot see which direction I should go after the checkpoint (first map)

deterministic

Love it! Built with AI I assume? How was your approach? Plan first then implement or step by step prompting? How did you generate the models?

  • shash7OP

    Thank you! Yep made with chatgpt codex.

    Honestly there was no clear approach. I was bored at work so I built a simple level editor with psx graphics to place things around, slowly I started experimenting and thought I could make a game.

    So I started prompting heavily. For larger unknown systems I told chatgpt to find references of existing designs, then did some research, then told it to implement(eg physics), for known systems, I told it to use specific libraries, styles, etc.

    Once I got in the groove, I started making and refining these systems in parallel, that's how I got this game out fast.

    I also started by building out the editor, so the tracks are all hand created. That's how I can control the style and everything. AI simply won't be able to cook up these tracks.

    level editor: https://outpostracer.com/editor

    Let me know if you have more questions.

    • deterministic

      Thanks for the reply. I love the editor. It reminds me of my past working in the games industry :)

      How did you create the car models and textures? Another editor or prompting?

      • shash7OP

        Yeah I used to make maps for games like cs1.6, cnc3, etc so I knew what I was doing :)

        Car models are completely AI generated, obviously tuned tho.

        There are no textures, its either flat colors or the textures have a slight grain/randomness on them. The psx look makes it look more better tho.

page0

That's a cool game, the map terrain and physics reminds me of a top town racing game called ignition from the 90's

maurice4ever

Looks fun, maybe think on adding rally tracks also. So we could share the best time we finished the track

anentropic

What's with the big yellow barriers across the road that you can't see through?

  • shash7OP

    Hey that's the checkpoints, you need to go through them. I know they are not the best, fix incoming :)

calebrider

I love the PS1 style!

What language/technologies/tools did you use to build this?

km3k

To really get the PS1 feel, it needs an option for shorter draw distances.

  • shash7OP

    Oh yeah I know that, increase fog and hide everything behind it.

    With my testing, I found the current level of fog better as it matched the art direction. For instance if I had the ps1 level of fog(to hide shorter draw distance) the coolness of viewing the town from the heights of Outback, or the Caldera map would be lost.

    Anyways if you want a shorter draw distance, set the graphics on low(from settings).

dongjoo

This is really cool! How long did you take to build this great game?

yleslie

You should add multiplayer next

anon115

add multiplayer 13/13 players per instance and a rainbow road track

goosethe

this is awesome and is begging for a drifting mode/race

arshxyz

Add a CRT effect!

purplecats

add a career mode!

sunbash

i freaking love it. Please working on it and let us know how to know when to check back in. I play mostly on mobile myself.

pkstn

Did you really make it though if AI made it?

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection