TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

A chill driving game with procedurally generate scenic landscapes

760 pointsby itsukaover 2 years ago

81 comments

jstanleyover 2 years ago
Really neat! My only complaint is that the handling is very sluggish. Also it might be nice to have a first-person vew, maybe the camera view contributes to the sluggish feeling.<p>I <i>love</i> the procedurally-generated landscapes. It really captures the feeling of driving on unfamiliar roads.<p>I&#x27;m curious how the physics works. Is this using raycast wheels? A couple of years ago I made a racing game for Oculus Quest using Godot[0], based on Godot&#x27;s &quot;VehicleBody&quot;, and getting the physics to work satisfactorily was a major headache. But a procedural world would have made it <i>so</i> much cooler.<p>[0] <a href="https:&#x2F;&#x2F;sidequestvr.com&#x2F;app&#x2F;1403&#x2F;ghost-racing-vr-wip" rel="nofollow">https:&#x2F;&#x2F;sidequestvr.com&#x2F;app&#x2F;1403&#x2F;ghost-racing-vr-wip</a>
评论 #33308109 未加载
评论 #33306471 未加载
评论 #33309747 未加载
评论 #33306411 未加载
评论 #33307878 未加载
评论 #33306252 未加载
评论 #33307617 未加载
TheRealPomaxover 2 years ago
A small note: 80 miles an hour on windy roads, driving in the middle of the road, is not slow and chill. That&#x27;s &quot;I want to die&quot; fast and reckless... maybe have two autodrive settings. &quot;slow and chill&quot; going appropriate speeds and driving correctly (left&#x2F;right toggle?) and &quot;landscape zoomies&quot; or something for what it currently does. Right now auto pilot is literally stress inducing =D
评论 #33309051 未加载
评论 #33307875 未加载
评论 #33309851 未加载
评论 #33309692 未加载
评论 #33309052 未加载
评论 #33310357 未加载
评论 #33314084 未加载
评论 #33309329 未加载
xeonmcover 2 years ago
This would be great for Rally racing games, since it&#x27;s all about reacting to unknown terrain.<p>Also, it would be better if mouse steering is damping impulse based, i.e. every frame the steering position exponentially decays, mouse position resets to center and the change is added as impulse on the steering position.<p><pre><code> sensitivity = max_ang &#x2F; ( screenwidth&#x2F;2 ) decay_rate = 6.0 frame(dt){ dx = mouse.x - center_pos mouse.reset() steer_ang += dx*sensitivity steer_ang.clamp(-max_ang,max_ang) steer_ang *= exp(-decay_rate * dt) }</code></pre>
评论 #33309132 未加载
评论 #33422835 未加载
评论 #33306371 未加载
评论 #33308414 未加载
评论 #33308542 未加载
评论 #33307789 未加载
aniforprezover 2 years ago
I wish the autodrive had a defensive driving option. As it is, it goes at 120 kmph on these windy roads and takes over the entire available space including the opposing lane. Wish you could limit the speed for a more relaxed cruise<p>This is very lovely and really relaxing (aside from the crazy speeds the autodrive goes at haha). Kudos to the creator! Btw if you haven&#x27;t tried the numerous options to change weather, time of day, vehicle and even planet, go for it! There&#x27;s a surprising amount of options<p>OH! I&#x27;m just finding out that there&#x27;s a lock that&#x27;s next to the speedometer that limits how fast the car goes! Damn this is so neat!
robflynnover 2 years ago
This is really cool! Thank you for making&#x2F;posting this. I played around with it for about half an hour to 45 minutes or so. I did manage to break it two or three times but I can&#x27;t reproduce it reliably yet. I&#x27;ll provide a proper bug report if I can figure out the exact conditions, but mostly if you go off road and get to the top of a big enough hill and then accelerate down the hill as quickly as you can and crash into a barrier you can sometimes flip yourself over it. When you do, you are no longer tethered to the ground and, instead, kind of hover above it and the road. Sometimes you can slip through the ground and the water, and all other barriers become passable.<p><a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;YDyJa5g.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;YDyJa5g.png</a><p>(edit: It might be related to hitting slightly awkward terrain?)<p>(edit 2: Got it on video, though my commentary didn&#x27;t get recorded for some reason) <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=f7U-qS7P2tI" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=f7U-qS7P2tI</a>
评论 #33309852 未加载
M4v3Rover 2 years ago
Wow, I didn&#x27;t expect I will like this as much as I did. This is a really neat idea and could probably be turned into an actual product. If the author added some more content (like some landmarks sprinkled on the landscape every now and then, possibly some varied terrain eg. bridges over rivers, cities&#x2F;villages, windmills, dams, maybe some simple wildlife, etc.) and released it on PS4&#x2F;PS5 for few bucks I can imagine it could sell pretty well.<p>Edit: Seems there&#x27;s actually a way to support the developer on Ko-Fi: <a href="https:&#x2F;&#x2F;ko-fi.com&#x2F;slowroads" rel="nofollow">https:&#x2F;&#x2F;ko-fi.com&#x2F;slowroads</a><p>Edit 2: Also props for good optimisation, it runs flawlessly on my M1 Macbook even on the highest setting.
评论 #33306122 未加载
评论 #33307934 未加载
drewtatoover 2 years ago
If anyone is looking for this but as a more complete game, check out art of rally: <a href="https:&#x2F;&#x2F;artofrally.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;artofrally.com&#x2F;</a>
评论 #33314686 未加载
zestypingover 2 years ago
This is a really minor detail, but — how long are the lane dashes? It looks like they&#x27;re 50% white, 50% space, but in real life they are actually a lot longer and spaced a lot farther apart than most people think. A tiny detail to consider if you&#x27;re going for realism.<p>Examples:<p><a href="https:&#x2F;&#x2F;www.google.com&#x2F;maps&#x2F;@37.9700533,-121.9225333,59a,35y,317.42h&#x2F;data=!3m1!1e3" rel="nofollow">https:&#x2F;&#x2F;www.google.com&#x2F;maps&#x2F;@37.9700533,-121.9225333,59a,35y...</a><p><a href="https:&#x2F;&#x2F;www.google.com&#x2F;maps&#x2F;@37.9700286,-121.9224894,3a,60y,57.11h,63.27t&#x2F;data=!3m6!1e1!3m4!1sWJrrsUK2Q2gVw_MTxAooCA!2e0!7i16384!8i8192" rel="nofollow">https:&#x2F;&#x2F;www.google.com&#x2F;maps&#x2F;@37.9700286,-121.9224894,3a,60y,...</a>
评论 #33309262 未加载
评论 #33310574 未加载
tech-historianover 2 years ago
I really enjoyed these settings:<p>- Autopilot on<p>- Using the motor bike<p>- Setting roads to &quot;casual&quot;<p>- Season to summer<p>- Cycle timer of 3 minutes<p>- Setting cruise control to max 120<p>- Hitting &quot;c&quot; until you get complete first person view<p>- View distance: Ultra<p>- Detail: Ultra<p>Very cool experience, sort of put me in a trance a bit.. and I can&#x27;t quite put my finger on why!
评论 #33310464 未加载
评论 #33310185 未加载
commandlinefanover 2 years ago
Man, I wanted something like this when I was a kid. (I liked it as an adult too, but I immediately drove off the road deliberately… just like I would have when I was 12)
评论 #33309498 未加载
chrisdalkeover 2 years ago
Nice! Loved driving around and trying to break the physics.<p>At first I was disappointed you couldn&#x27;t leave the road until I found you just needed to use more speed + boost. After that I spent all the time driving off-road.<p>I drove backwards at the start and clipped into some geometry, causing the car to gain a ton of vertical velocity and fly high into the air up to the clouds! When it dropped back down it bounced around a lot. Found you could reproduce this by finding where the road surface was clipped and gain some speed before entering it.<p>This made me think: You should add some planes!<p>Had a great time exploring.
评论 #33312546 未加载
fhoover 2 years ago
Some time ago I added ABS, traction control and some torque vectoring to the Unity CarDemo ... that made the supercar surprisingly handable (is that a word?) even with acceleration levels increased to insane values. Especially with keyboard control (ie full tilt left or right) the car would not spin out in curves. Maybe you get a kick out of implementing some &quot;electronic assists&quot; for your car?
评论 #33308202 未加载
xtirpationover 2 years ago
I don&#x27;t know if there are other achievements but the one with the &quot;What did you expect&quot; text popping up really made me laugh. Good foresight anticipating players like me.
frogulisover 2 years ago
&quot;What did you expect&quot; - ha! Nice. The keyboard controls could definitely feel snappier, but once I got a feel for the mouse controls I settled right in. And taking the coach offroad is super fun!
ch33zerover 2 years ago
Love it! If feel like you should lean into the landscapes, which are the biggest draw, by not penalizing driving off the road as much. Maybe dirt roads with some more floaty handling but not the speed penalty?<p>Great work!
评论 #33306400 未加载
mysterydipover 2 years ago
It would be nice if autodrive was on to start so that those on mobile could see it in action, even if control is currently not possible.
评论 #33306322 未加载
gregghover 2 years ago
The only correct play is to drive forward a few hundred yards, do a u-turn and drive back past where you started. Very entertaining. Especially when you fall off into the ocean and earn an achievement.
评论 #33307592 未加载
comprevover 2 years ago
Kudos to the developer! I&#x27;m a huge fan of open world driving sims (Forza Horizon series) and find the endless roads (and the long races) a great way to unwind. Knowing the roads is one thing, but add in changing weather conditions and general road traffic, each corner can be different each time you go round. Certainly keeps me on my toes!
评论 #33308644 未加载
anon25783over 2 years ago
I got really weird results when I set the seed to 0099FF - not the decimal value of 0x99FF, I mean the literal string &quot;0099FF&quot;. I got all kinds of terrain generation glitches including one where the surface on which my wheels rested was a good 50 feet above what the texture was applied to.
remramover 2 years ago
For anybody else on mobile, I found this video of it: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;mEDywA7aVLo" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;mEDywA7aVLo</a>
评论 #33309982 未加载
评论 #33308719 未加载
ansloover 2 years ago
Neat, this is my project - thanks for sharing! For anyone interested, I have a brief overview post up on Medium while I work on a deeper technical write-up:<p><a href="https:&#x2F;&#x2F;anslo.medium.com&#x2F;slow-roads-tl-dr-a664ac6bce40" rel="nofollow">https:&#x2F;&#x2F;anslo.medium.com&#x2F;slow-roads-tl-dr-a664ac6bce40</a>
评论 #33332969 未加载
MaxBorsch228over 2 years ago
Procedural landscapes are such a fun thing.<p>When I was in high school I read about perlin noise landscape generation technique in a random blog post. I shared the technique with a friend and he was very excited. A week later he presented a program which rendered Minecraft-style landscapes in ortho projection. A few more weeks passed and he added 3D perspective (using alien tech called &quot;projection matrices&quot;), water reflections, grass and day-night cycle animation with shadows from Sun and stars. All this using Pascal and some primitive bundled-in 2D graphics lib.<p>Another related high school memory is Audiosurf game, where the road and environment are generated using an algorithm based on music tempo. What if we replace this algo with a modern generative model? Probably literally a bad trip.
2Gkashmiriover 2 years ago
i loved the drive but the speed is offputting.... i mean it only seems to work when i am like 100km, something that autodrive does while i can expect a mountain winding road to be comfortable at 20-50 because of twists and turns?<p>like there is<p>1. incline effect on the speed (up turns down speed and going down increases) 2. snow effect on wheels 3. traffic mode 4. like above, speed responsiveness at slower speeds 5. gear shifting<p>thank you for building a great product
mlokover 2 years ago
Very nice creation ! But sad that AZERTY keyboards are often forgotten in mini games. The game is not really playable outside QWERTY keyboards. (Arrow keys would be a good alternative too)
评论 #33310170 未加载
评论 #33310071 未加载
tagamiover 2 years ago
For fun, I went off-road immediately and ended up floating over the ocean after a few minutes
bhelkeyover 2 years ago
I love the cruise control and auto drive options. I don&#x27;t find the default cruise speed very relaxing and appriciate being able to bump it down.<p>A feature request that, if I were you, I would probably say no to:<p>It would be cool to have URL flags to load with auto-drive on and cruise control at a certain level.<p>I think it would be fun to easily share what I find relaxing about this. Also it would be a kinda cool default new page.
评论 #33310738 未加载
shadowgovtover 2 years ago
I appreciate the player is rewarded for going offroad. That was fun. :)<p>I noticed as I approached the edge that large square tiles started to show up (the terrain was still contiguous until I go all the way to the edge, but it divided into uniform-sized squares by increasingly-high dirt walls with no collision detection). I wonder what caused that?
评论 #33308925 未加载
Kkoalaover 2 years ago
Nice, looking great. Roadster feels like a super heavy electric car though :D<p>Controller support would be great. Or I wonder if there is already some way to map the controller inputs? Browser extension maybe
评论 #33307161 未加载
评论 #33307841 未加载
JeanMarcSover 2 years ago
&quot;Critical Error<p>Apologies - please click below to continue with a different generation seed. Your distance progress will carry over.<p>This error has been recorded for investigation.&quot;<p>Well, I guess that&#x27;s what you get from leaving the road and continue driving through the hills.<p>Sorry to broke it, I was enjoying driving those hills and was impressed to not hit a &quot;border&quot; of the world. I thought it would happen sooner to be honest.
bitwizeover 2 years ago
It popped up a message saying &quot;Hold shift to increase acceleration&quot;. But I got the feeling that I was playing it wrong if I went far above 40 mph, so the shift key seems perfectly useless.<p>Lovely countryside -- very evocative of winding country roads in the southern or midwestern USA -- but I get stressed out when driving even in a simulation; real world driving is worse, so I&#x27;m not feeling the &quot;zen&quot;.
anon235236over 2 years ago
How about re-creating the classic &quot;Desert Bus&quot;, where it&#x27;s still a straight road, but with more interesting scenery
karmakazeover 2 years ago
I think this would be way better if it could work with only the mouse. LMB&#x2F;RMB for brake&#x2F;accelerator and moving mouse left&#x2F;right for proportional steering with steering position visual feedback.<p>I&#x27;ve always also preferred the more immersive inside-out view where the view rotates directly with direction of motion rather than the overhead&#x2F;behind view.
评论 #33309415 未加载
评论 #33310748 未加载
Markoffover 2 years ago
Great idea, but landscape is not very realistic, I&#x27;m driving next to sea or huge lake going uphill, then driving further away from sea, all the time going uphill and after some time I&#x27;m back at coast at same elevation where I started while going all the time uphill and NEVER going downhill.<p>Also why is autodrive driving in the middle of the road and not in the correct lane?
评论 #33306424 未加载
评论 #33309536 未加载
Asookaover 2 years ago
Took some finagling, but I made it off the road and onto the endless meadow. Really fun to slide around on and try to avoid the trees. Can&#x27;t comment on the road driving, as I never spent more than a minute on it. I&#x27;m surprised you have an effect for driving underwater, too.
alunover 2 years ago
OP could add an optional online mode where you occasionally see other drivers cruising around and make it so that you&#x27;d just go through them as if they were ghosts if you tried to crash into them
wishfishover 2 years ago
That&#x27;s very well done. I was pretty happy about turning my Camaro into a Jeep and being able to go off-road for miles before finally running out of map.<p>The fall and winter modes are especially evocative. Winter with fog or winter with night reminded me so much of driving in Utah.
pmontraover 2 years ago
If you&#x27;re on mobile enable autodrive (the wheel icon at the bottom) and enjoy being a passenger.
评论 #33306402 未加载
bohadiover 2 years ago
This is really cool. I was reminded of the following thread on elaborating the illusion of engine sound <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32367979" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32367979</a>
rjmunroover 2 years ago
It looks great, but I can&#x27;t stand the wasd controls. Please let me control steering with one hand (e.g. z-x or a-s) and acceleration&#x2F;braking with the other (e.g. k-m).<p>Supporting the gamepad API would be ideal.
评论 #33332698 未加载
purplecatsover 2 years ago
this is awesome! i love having a web-based chill car game like this to play to calm down, let my brain chill, and play it when im in bed or the middle of thinking or in between meetings.<p>for the last 5 years or so, its been this game for me: <a href="http:&#x2F;&#x2F;uploads.ungrounded.net&#x2F;alternate&#x2F;1099000&#x2F;1099839_alternate_46125_r3.zip&#x2F;" rel="nofollow">http:&#x2F;&#x2F;uploads.ungrounded.net&#x2F;alternate&#x2F;1099000&#x2F;1099839_alte...</a><p>you can see its very similar vibe to yours.<p>in case you shut down the site, is there a way i can download this for personal use so i can host it on my own servers (in the event you take it down)? thanks for making and sharing!
psychoslaveover 2 years ago
Nice and funny. Adding more details in grasses would make it awesome.<p>The sounds are especially nice.<p>On physics side, the car will really stick to the ground, even when jumping beyond a hill.<p>Also, where are the horse&#x2F;dragon versions? :D
评论 #33314714 未加载
bitLover 2 years ago
Feels like Test Drive 1, cliff&#x2F;mountain combo, pretty relaxing.
marssaxmanover 2 years ago
This is really soothing and nice!<p>The endless explorable landscape is what I wished games could be like when I was a kid.<p>Any way you could offer an alternative to WASD controls for those of us who aren&#x27;t using standard keyboards?
评论 #33307581 未加载
bramgnover 2 years ago
The mouse wheel controls your speed. I wasn&#x27;t aware of this at first.
hansvsover 2 years ago
I really like this, nice work! Only thing missing for me is police sirens with flashing lights chasing me, on coming traffic, and Limp Bizkit and Bush playing in the background.
keyleover 2 years ago
&quot;The edge&quot; is a pretty amazing place at sunset. Well done.
JoeAltmaierover 2 years ago
Fun!<p>Nothing in the lakes; nothing under the sea. Just boring half-light and featureless bottom. Would be nice to see it populated<p>And you can&#x27;t hit anything! Can drive right through forests, ghost trees.
Cianticover 2 years ago
Auto-drive could go slower and stay on it&#x27;s lane for extra relaxation.<p>Currently I just kept wondering, that driving on a middle of a road with such a tight corners seemed like dangerous.
ibdfover 2 years ago
Thank you for acknowledging that I made it to the edge :)
PedroCandeiasover 2 years ago
This drives really nicely. Reminds me of some good driving games from the 90s when a keyboard was enough. It&#x27;s so well done, thanks for sharing!
PhasmaFelisover 2 years ago
I would like an engine noise that&#x27;s more of a deep rumble and less of a high-pitched whine. But this is nice.
smusamashahover 2 years ago
I have RTX 3080 but fps is low.<p>- Distance: Ultra - Render scale: 0.75 - Detail: Low<p>Even if view distance is low, setting detail to med lowers the FPS.
评论 #33306747 未加载
michal_fover 2 years ago
Car is too big, barely fits in lane :)
andrewstuartover 2 years ago
Can you add a URL option so it goes straight into self driving mode, without any need to click anything?
评论 #33315257 未加载
otikikover 2 years ago
It&#x27;s chill when you drive into the water, I wish they added some bubble sounds to complete the effect.
error_saladover 2 years ago
Neat! Will you release the source code?
wizofausover 2 years ago
Very neat, but also made me very glad we don&#x27;t actually have to steer real cars using a keyboard!
mvanbaakover 2 years ago
Nice, would be nice if it could switch to dvorak so wasd is actually ,aoe<p>Makes it easier for me to drive ;P
hanklazardover 2 years ago
Lots of fun! My favorite part was taking the motorcycle off-road and doing wheelies :)
nooberminover 2 years ago
This is a lot to ask for but damaging the car would make this into a fantastic game.
myuzioover 2 years ago
I love it, I&#x27;m not the only person who likes to drive fake cars to relax.
saint-loupover 2 years ago
Me: nice, a chill, contemplative game, just what I need.<p>Also me: try to counter-steer at 100 mph.
krylonover 2 years ago
This is really cool! It&#x27;s a bit much for my puny laptop, but it&#x27;s fun!
yellowappleover 2 years ago
Got an achievement for driving off the edge of the terrain. 10&#x2F;10.
thrillover 2 years ago
Nice ... needs the occasional pair of superbikes blowing by for realism. :)
atentatenover 2 years ago
Great job. Reminds me of an old pc game called Vette! I played as a kid.
bitLover 2 years ago
I like the weather&#x2F;lighting effect when pressing Q.
rsyncover 2 years ago
Oh, I thought this was &quot;Desert Bus&quot;[1] ...<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Penn_%26_Teller%27s_Smoke_and_Mirrors#Desert_Bus" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Penn_%26_Teller%27s_Smoke_and_...</a>
cousin_itover 2 years ago
Adding a distance-dependent blue tint would increase realism a lot.
评论 #33306406 未加载
lawrenceyanover 2 years ago
Teaching the self-driving mode to drift would be pretty cool.
annoyingnoobover 2 years ago
There is something fun about a flat earth with cartoon physics.
zelphirkaltover 2 years ago
Did I hear anyone say &quot;Desert Bus&quot;?
mtoddsmithover 2 years ago
How about some relaxing driving music?
评论 #33308472 未加载
thomover 2 years ago
This isn&#x27;t chill. Surely you have to assume people are going to hold down W but not necessarily want to go at uncontrollable speeds?
behnamohover 2 years ago
the Mars terrain is interesting. Also, I found out that the car can go just as fast in reverse gear!
dQw4w9WgXcQover 2 years ago
Requesting a max air-time feature!
kybernetykover 2 years ago
Nice. Do you have a V8 mode?
dtgriscomover 2 years ago
Rats! No underwater texture!
horsellamaover 2 years ago
wow, now I can drive on the snake pass from my browser :) kudos!
whiddershinsover 2 years ago
This is really great!
siva7over 2 years ago
this is fun on lsd