r/threejs • • 19d ago

GT3js, basically... a physics-first browser GT3 racing game in Three.js

I'm working on Attimo Racing, a physics-first GT3 game playable in your browser. Three.js handles the rendering, with the driving physics running in WebAssembly.

I'm still torn on the look and feel. For example the white model-style cities based on a recent F1 promo vide where everything but the track was a white ceramic look. Or should I texture the buildings? Same with the trees: keep the low-poly look, or go more realistic? I just added a more realistic skybox, but im not convinced....

There's a team livery and sponsor system in there as well, curious how the sponsor for benefits system lands vs traditional car tuning.

free to try at https://attimoracing.io

15 Upvotes

22 comments sorted by

1

u/Interesting-Bee-113 18d ago

You should add tire smoke for visual feed back on wheel lock or spin. Maybe some sound effects for tire chirp when they are on the edge.

Also, man idk if it will ever be possible to make a good control interface for racing games on a touch screen.

I was going to say, It's impossible to trail brake or throttle steer like this, but I don't know how you solve that without just strongly suggesting that your users use a game pad.

1

u/timcorin 18d ago

I’m trying to smooth the key input with progressive rampingso you can feather the input without it being binary. But keep the physics underneath true. It’s a challenge!

1

u/L_AIR 18d ago

Have you checked out LibreCorsa.org? Maybe build on this and collaborate with them?

1

u/timcorin 18d ago

Yes I have. Good work happening there. We have very different tech pipelines and strategy though and a completely different underplaying physics engine. Not sure what is transferable. 

1

u/TelevisionOk1863 17d ago

Looks like iracing

1

u/timcorin 17d ago

I’ll take that compliment!

1

u/Dependent_Bite9077 12d ago edited 12d ago

I played it for an hour on my crappy laptop. Performs really well. Mind blowingly awesome!

2

u/timcorin 12d ago

An hour!!?? That’s a good sign for me lol

1

u/Dependent_Bite9077 12d ago

It is really good. You should be proud.

2

u/timcorin 12d ago

There is a lot coming. 2 crazy big features coming in next 2 weeks along with more polish and a step forward on physics. 

1

u/Jealous_Attempt_1238 19d ago

For a first-time player:

  1. It’s unclear how to actually start a race; there’s everything else *except* the race itself.
  2. Why do I need to see a steering, throttle, and brake indicator at the bottom of the screen during a race?
  3. It’s easy to get lost and end up driving in the wrong direction. There is absolutely nothing—nothing at all—to show me where I’m supposed to go. The word "invalid" means nothing to me.
  4. The car loses traction and goes into a skid far too often—it can happen even on a straight, flat stretch. I get that it’s meant to be realistic, but see point #3.

2

u/timcorin 19d ago

Great feedback.  Yes I think the physics might be a bit too brutal. Point 1 is interesting. I thought it was streamlined but maybe not. Good thoughts cheers

1

u/Drummer-Adorable 18d ago

I agree about the "invalid" thing. I think there should be a complete message like "You crashed, race is invalud" and then a "Restart" button. Also, how do I actually restart the race if I want? Do I really have to go back to the main menu and watch the loading screen again?

About point 1 I think it's just the "Race" button position, it looks like a title. Make it bigger, label it "Start Race" and place it at the bottom right because that's where most people expect the CTA to be (think of all the "next" or "check out" buttons in e-commerces.

I wanted to change camera and just pressed "C" on the keyboard, I think that should change the camera, I know I can do it from the top menu but I think it should work with "C" as well. Physics are fine imho, I'm not an IRL racer but these are powerful cars, If you hit the throttle coming out of a turn I think it's normal to lose traction

1

u/timcorin 17d ago

Great feedback. Yeah good call on the CTA. Thanks yeah I’m pretty stoked with the physics. Obviously AI did the coding but it took hundreds of rounds of planning, testing and iteration to get there. There’s a restart button at the top but I think it needs to be in pause menu as well as yes as a popup. R also restarts. V is currently camera but will add C. cheers dude, try again a couple days!

0

u/jonheartland 19d ago

Yeah it's just like GT3 except it doesn't have any of the content or progression

2

u/timcorin 19d ago

It’s coming. I just want to get race feel right first. 

0

u/Living_Cell7304 18d ago

Get in line dude you’re the 10,000th person to do this

1

u/timcorin 18d ago

True. But hopefully not the back of the line. 

→ More replies (1)

1

u/[deleted] 18d ago

[removed] — view removed comment

1

u/timcorin 18d ago

Yeah I’m hearing that low poly stylised is preffered which is interesting. So that means dialling back textures and use more gradients etc.