r/simrally • • Mar 20 '22

slowroads.io - a browser-based, procedurally-generated, casual rally game designed for endless driving zen

485 Upvotes

41 comments sorted by

38

u/nurp71 Mar 20 '22

Easy link to the demo

For a long time I'd wished for a chilled out driving game that I could instantly hop in to while listening to a podcast or just passing time, without any pressure or setup needed. Here's my solution for that - built from scratch with a custom engine, running in the browser so you can start playing from anywhere (well, not mobile, yet) in one click. After about 6 months of work, it's just about stable enough to demo, but there is of course more left to do - locations and vehicles to add, bugs to fix, optimisations to make, and hopefully, one day, wheel support.

While it's more an approximation than a sim, I'm really curious to hear your thoughts on the physics - I've tried to hit a balance between having it be easy to drive while keeping it engaging for more experienced people like yourselves. Do let me know what feels good or what feels off - being browser-based, I'm a little limited in how much realism I can achieve, but I'm hoping there's a sweet spot I can nudge it toward.

Some advanced details you might find helpful:

  • The vehicles are "electric" and AWD by default, but you can select which wheels get power in the lower-left menu

  • Handbrake locks up the rear wheels

  • You can double-tap W (or hold V) to double the acceleration power. Doing that also releases traction control, handy for drifting

8

u/minty901 Mar 20 '22

How is it coded? A particular Javascript game engine?

15

u/nurp71 Mar 20 '22

I wrote a custom engine for it in JavaScript, yep. I used the three.js library for the WebGL rendering, but the rest of the code is my own design. The "infinite" aspect makes the game very resource-intensive, and by writing the core engine myself I had more control to keep everything minimal and save precious CPU for the environment generation.

5

u/minty901 Mar 20 '22

I’m pretty interested in this. You got any advice for starter projects? I’m a web app developer professionally, quite proficient with Javascript, React and some HTML canvas but never dipped into game stuff (moreso data visualisation).

2

u/nurp71 Mar 20 '22

(Replied in PM - for others curious, feel free to send me a message)

3

u/2012vauxcorsa Apr 05 '22

art of rally is perfect for you

16

u/ray199569 Mar 20 '22

your open world feels better and more realistic than the repetitive generated world of dirt 4. very well done.

8

u/nurp71 Mar 20 '22

Before I started this project I spent a while searching for existing games like this, and the underwhelming "Your Stage" thing in Dirt 4 was one of the higher benchmarks I saw. So, that means a lot - thanks!

6

u/kirbyguy22 Mar 20 '22

Feels good and runs great on my machine (200+ FPS at 5120x1440).

Driving feels weighty and satisfying, although input smoothing at high speeds feels really sluggish especially when sliding. Trying to catch slides feels very difficult at the moment.

Steering rate should reset past a certain slip angle, overriding the speed-based steering rate. A Countersteer/drift assist option (moving the steering "center" to the car's slip angle) would be also nice especially for keyboard.

2

u/nurp71 Mar 20 '22 edited Mar 20 '22

This is great feedback, thank you - I could tell something wasn't working with the steer at high speeds but didn't think to try just overriding it in a slip. I'll see what I can do - I suspect it will be a fine line to have the steer rate still feel predictable.

And I'll try the drift assist also - thanks!

4

u/NAPK11NS Mar 20 '22

Chrome, i7 9700k, 1070ti, 16 g RAMs. only getting 1 fps on deault and 3 fps at low details. Tried on edge and i have 144(as my monitor herz).

2

u/nurp71 Mar 20 '22

Yikes, that's quite the performance hit... very interesting, sorry about that. I don't even get that low on my 6 year old phone. Do you know if you have GPU acceleration enabled for chrome? It wouldn't answer all the questions, but might be a clue...

2

u/NAPK11NS Mar 21 '22

i have it disabled by default, i did try it on but nothing changes.

2

u/TheGasMove Mar 21 '22

Feels like Hammond in the Rimac

4

u/nurp71 Mar 21 '22

Don't tell me I need to add fire sims too..

16

u/ezname Mar 20 '22

Pretty cool. The car can go through the barrier (but only in Reverse lol)

5

u/[deleted] Mar 20 '22

That is great!

5

u/cyber045 Mar 20 '22

I likey

11

u/cyber045 Mar 20 '22

Why tf did I say that

1

u/Elmodipus Sep 03 '22

Because you're a cultured Twice fan.

2

u/Huppenhuhn Mar 20 '22

What does this have to do with rally simulations. Because it has a car in it?

11

u/nurp71 Mar 20 '22 edited Mar 20 '22

I'm specifically seeking feedback here since I trust this sub as an authority on what makes driving games satisfying, and those are the technical discussions/experienced opinions I'm looking for. I also figured there's enough overlap that some of the members here would enjoy the game, i.e. exactly the people I've made the game for. Could be wrong, and I won't argue against this post to being removed if that's the wish, but this is all meant in good fun.

Also, time trial features are on the way, in case that ticks the rally box

4

u/MrTomuxs Mar 20 '22

This is really cool! really enjoying the driving, looking forward to the future environments and sceneries! Keep up the good work man.

1

u/[deleted] Mar 17 '24

Nice game you made, but i am interested in how you managed to make it popular

1

u/nurp71 Mar 17 '24

Thanks - I actually didn't really do much; I made posts on three niche subreddits and sent one tweet, and it took off on its own from there. It's been quite popular with school kids and seems to have spread mainly via tiktok, so I suppose the ease of access is a major factor. In its current state it's more of a tech demo, so I don't have any interest in promoting it until it's more of a fleshed-out game.

1

u/Radiant_Salamander28 Mar 20 '22

Wheel?

3

u/nurp71 Mar 20 '22

It's on the todo list, but first I need to understand/experiment with the gamepad API, and figure out the best way to allow mapping control. I have no experience with wheels, but I imagine each one has its own control scheme and idiosyncrasies to work around..?

1

u/[deleted] Mar 21 '22

Is there a public git repository and do you accept contributions?

1

u/nurp71 Mar 21 '22

It's private for now, but I'm not opposed to opening it up in future depending on how things go. It would need a lot of refactoring!

1

u/INCREASED_LETHALITY Mar 17 '23

Will this ever be added to mobile? As an app or something like that, I don’t have a pc but I really want to play this!

1

u/nurp71 Mar 17 '23

I'm hoping to add a mobile UI for the browser version in the short term, but performance might not be great. I'll ping you if I get it working!

2

u/tomatism Mar 20 '22

That is so cool!

2

u/speederaser Mar 20 '22

Very cool!

1

u/kutil_tim Sep 01 '24

This is so well done! Particularly as you've built it from scratch. Great work!

1

u/Zaiydriss Oct 15 '24

hello----- urgent please, Is there a driving simulation browser game like slowroad but with traffic , cityies, pedestrians and traffic lights signals?

1

u/Entity435 Dec 25 '24

Can you play it with a steering wheel?

1

u/[deleted] Nov 03 '22

Amazing love it. My idea for you was, what uf you took the concept and let us play as a medieval farmer going through the lands. Maybe with some random gengerated mini tasks. I would literally cum

1

u/chirag_9121 Jul 06 '26

Minecraft music + this game = Feels like heaven for a few minutes

0

u/[deleted] Mar 21 '22

[deleted]

2

u/nurp71 Mar 21 '22

I have some big optimisation tasks to work on this week and hopefully that will let it run okay on mobile because right now it's terrible - I'll see what I can do!