Тёмный

Creating Infinite Road For My Drifting Game (last time I swear) - Drifto Devlog 

Jonathon Howe
Подписаться 5 тыс.
Просмотров 207 тыс.
50% 1

I'm developing the mobile drifting game Drifto.
All the stages in Drifto are procedurally generated at runtime ~ drift to your heart's content.
Pay my rent (please):
www.buymeacoffee.com/jonn
Road Generator Repo:
github.com/JohnnyHowe/com.jon...
Join the Discord! / discord
Get Drifto here!
Android: play.google.com/store/apps/de...
iOS: apps.apple.com/app/drifto/id1...
Myst3ry's (the music producer) Socials
RU-vid: / @myst3ry694
The soundtrack: open.spotify.com/album/2lN9i6...
Drifto is being built in the Unity game engine

Опубликовано:

 

31 авг 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 307   
@Jamato-sUn
@Jamato-sUn 10 месяцев назад
It's an infinite road, why bother at all? Despawn anything behind you and confidently make 6 left turn in a row.
@anoukk_
@anoukk_ 10 месяцев назад
This
@Jellyjam14blas
@Jellyjam14blas 10 месяцев назад
This!
@CathrineMacNiel
@CathrineMacNiel 10 месяцев назад
sounds lazy and immersion breaking.
@kalechips22
@kalechips22 10 месяцев назад
@@CathrineMacNiel wooosh
@CathrineMacNiel
@CathrineMacNiel 10 месяцев назад
@@kalechips22 not really.
@thewhitefalcon8539
@thewhitefalcon8539 10 месяцев назад
Broke: self-overlapping roads Woke: avoid self-overlap Bespoke: allow self-overlapping roads and render it in a way that doesn't look stupid
@morgan0
@morgan0 10 месяцев назад
would be cool to use tunnels (also bridges) for fixing overlaps. could also have sections where a wall becomes breakable and you drive thru it, with stuff blocking the original path
@MINIMAN10000
@MINIMAN10000 10 месяцев назад
I'm honestly not seeing any good tools for programming CSGs for subtracting overlapping meshes. That would probably another large project he would have to tackle.
@morgan0
@morgan0 10 месяцев назад
@@MINIMAN10000 the simpler way is for some pieces, make a version with a hole, then if a piece can have a hole, the track gen can punch through there, and if not, it can’t
@olly123451
@olly123451 10 месяцев назад
@@morgan0I feel like you just delete the piece that it cuts through and replace it with a tunnel, and the road above is visibly good enough for the few seconds it’s on screen, even though it’s actually just built into the tunnel mesh. It might not work perfectly with corners, but would be good enough from a distance to not kill the suspension of disbelief.
@davidaugustofc2574
@davidaugustofc2574 10 месяцев назад
Same thought, replace the overlapping tiles with a tunnel that's guaranteed to go past it
@simonwillover4175
@simonwillover4175 9 месяцев назад
@MINIMAN10000 just make a separate mesh for the tunnel, and place the tunnel below the existing road. It is extremely simple.
@pepsiman9093
@pepsiman9093 10 месяцев назад
If there isnt a looping track and you never go backwards, you could avoid the overlap problem by literally only keeping road pieces that the car is on and the space ahead. Spatially aware players might realize they're moving through an impossible track but most people will never notice, especially with more stuff going on around the player
@carltheblock1718
@carltheblock1718 9 месяцев назад
*dumbasses won't realize
@TheRealBoof
@TheRealBoof 10 месяцев назад
I made an extremely similar system in my dungeon crawler game, Lowest Labyrinth. There actually is a solution which you missed. Have your generator commit to memory the entire track whenever it finds an invalid path and disallow those states whenever it goes to place a new piece. Then just allow the generator to move back a single piece when it runs out of options. The result is a sort-of Monte Carlo random walk towards a valid final solution. Good luck with your game!
@addmix
@addmix 10 месяцев назад
Yes. I conceptualized a similar solution. There is no reason to delay the creation of future road segments to the near future. He could feasibly precompute dozens of future road segments and check them long before the player would ever reach them. This would have an added benefit, as he mentioned in the video, gives him more time to spread the collision calculations, and time for other things like loading tiles.
@Woodledude
@Woodledude 10 месяцев назад
One minor adjustment to this is limiting the scope of the part where you say "the entire track". We could probably get away with just memorizing the entire track since to roll back changes past the player's current position would be rather unideal anyway. And then, yes, precomputing so it isn't a problem to roll back changes when necessary. You could also implement a fairly simple check to guarantee good future options - At the end of the precomputed road, do a raycast off the end of the final road piece equal to the length of the road behind the player. And don't accept solutions where the raycast collides with any road pieces. I feel like that's a pretty good upper bound to guarantee non-entrapment.
@Dan-gs3kg
@Dan-gs3kg 10 месяцев назад
Sounds like iterated depth first factorial extinction.
@addmix
@addmix 10 месяцев назад
@@Dan-gs3kg I like your funny words, magic man.
@MisterAssasine
@MisterAssasine 8 месяцев назад
sounds like a great solution! And once you have bigger pieces consisting of 10, 20, 100, 1000 road pieces - stick them together using the same approach
@Woodledude
@Woodledude 10 месяцев назад
It's kind of delightful how this sort of creates a higher-dimensional space by accident, where it's possible to travel over somewhere a road used to be, but has since been deleted - And most players wouldn't even notice.
@lucidtrip3439
@lucidtrip3439 8 месяцев назад
Wow I’ve been addicted to this game the last few days and to see it in my recommended is crazy. Love the game man!
@themrfj
@themrfj 10 месяцев назад
Adding tunnel pieces that go under previous tracks would make this problem a whole lot easier and add some variation.
@Poldovico
@Poldovico 9 месяцев назад
How do you tunnel through an existing mesh?
@themrfj
@themrfj 9 месяцев назад
@@Poldovico Design the mesh so that it has no sides. You're only going to see it from the top when you drive on it. Then add the tunnel and sorrounding cliff when tunneling :)
@themrfj
@themrfj 9 месяцев назад
@@Poldovico You could even plan for it in some cases by having generation "Recipes" like: 1. downward straight road with a high cliff (You won't see the top) on the left. 2. make "3 right turns" downwards. 4. time for a long tunnel section "Under the mountain" :) You can just end the tunnel section whenever randomly, or have a minimum number of tunnel sections.
@VR6_SKC
@VR6_SKC 10 месяцев назад
Great video , love to see the evolution of this game
@TheBu213
@TheBu213 9 месяцев назад
The road knows where it is, because it knows where it isn't.
@redteller
@redteller 10 месяцев назад
This game is awesome. So fun to play and the unlockables make me want to keep playing!
@_the_Nochad
@_the_Nochad 8 месяцев назад
I didn’t even know you made the game awesome work, however I never knew the road wasn’t infinite first
@Miccielly
@Miccielly 9 месяцев назад
Great video, I appreciate that you make racing/driving game
@kArTerhns
@kArTerhns 10 месяцев назад
I just tested out your game and it's pretty fun ! thanks for it!
@thesovietseal5887
@thesovietseal5887 10 месяцев назад
Damn I've been playing the game for a very long time now and never realised you had a RU-vid I'm glad I got recommended it.
@cyb3r._.
@cyb3r._. 9 месяцев назад
wait this is actually so cool i played this game for a while before finding these videos
@frogo1790
@frogo1790 8 месяцев назад
i just installed this game about 1 week ago and i have been playing it everyday and i love it
@hi-what
@hi-what 9 месяцев назад
I play this game daily on the train to and from work, and randomly got recommended this vid 😁 love the game bro
@MrAusdrifter
@MrAusdrifter 9 месяцев назад
Sounds like a cool concept, downloading it to try now
@user-nj2jo1gy8j
@user-nj2jo1gy8j 8 месяцев назад
i got this game to pass time at school, so cool that ur a dev on it
@WackoMcGoose
@WackoMcGoose 10 месяцев назад
A very long time ago, I tried to do a similar thing for a procedural racetrack generator in Roblox, constrained to a grid. The tile "behind" the finish was tagged, then it would random-walk forward from the start iteratively until it either found the end point, or Snaked itself (where it would reset with a new seed). It was janky as Content Deleted, but _nominally_ it did create race tracks. Really lousy ones, but technically functional closed loops. Maybe someday I'll give the concept another go...
@jdude21
@jdude21 10 месяцев назад
This looks really cool!
@Scardacay
@Scardacay 10 месяцев назад
Great stuff!
@wupinegaming4629
@wupinegaming4629 10 месяцев назад
Just tried your game and its fun and addicting!
@RichHeart89
@RichHeart89 10 месяцев назад
I made a similar(ish) little project in school where you steer a boat down an endless river avoiding rocks with some janky terrain generation. I wish I'd seen this video 7 years ago 😅
@michaelsiddle01
@michaelsiddle01 9 месяцев назад
Good video I enjoyed it 👍
@RupertBruce
@RupertBruce 10 месяцев назад
Try a flow field with perlin noise to define 'forwards' (ie. The path of the road) as following the flow field vectors. As you scroll the 2D noise the road is generated and you can even drive backwards - no memory needed. Just the seed if you want to replicate it.
@jonathonhowe
@jonathonhowe 10 месяцев назад
Those are some pretty powerful ideas, very interesting. They make sense for complete procedural road generation, but I don't see how it could be done when the road is made of preset sections.
@MistahHeffo
@MistahHeffo 9 месяцев назад
You round the forward vector so it matches the angles of your premade pieces
@o_sch
@o_sch 8 месяцев назад
@@jonathonhowe you can make enough pieces to fit all of the different angle matches roughly, there wouldnt be too many considering how you can transform and translate pieces
@zionjones2854
@zionjones2854 10 месяцев назад
Downloaded this ages ago and have been loving it as a good game I can rely on. Please don’t abandon it 😂
@slevter5151
@slevter5151 5 месяцев назад
i recently found this game and decided to watch the devlog. it’s definitely one of my favourite games to kill time when i’m waiting. 5 stars
@andersonpgs
@andersonpgs 9 месяцев назад
This video is the better campaign of marketing possible, i want a lot play this game, congratulations to dev, to game, to video, to explain
@wordrc
@wordrc 10 месяцев назад
hey mate i’ve been playing your game for months and it’s one of the best mobile games i’ve found. really glad youtube recommended me this, take care
@jonathonhowe
@jonathonhowe 10 месяцев назад
Thank you! I really appreciate this. I hope you continue to enjoy it.
@wyhno
@wyhno 9 месяцев назад
Love the game so far! Super fun I’ve got few things that would make me love it even more: -An “advanced” control method where instead of just a left right slider it could be a square allowing for forward and backward inputs - A time attack mode on set maps - Portrait mode support Either way great game, lots of fun
@Subscribble
@Subscribble 9 месяцев назад
Two idea: 1. Road deletes behind you, so overlapping wouldn't happen. 2. The road that's being developed is incentivized to head in a direction that's not towards other roads.
@aguywhoplaysgames
@aguywhoplaysgames 10 месяцев назад
You are gonna blow up soon, I'm calling it.
@jonathonhowe
@jonathonhowe 10 месяцев назад
I sure hope so ❤️
@F0r3v3rT0m0rr0w
@F0r3v3rT0m0rr0w 9 месяцев назад
is the next video going to be "how i switched my project from unity to Unreal?"
@yksnidog
@yksnidog 9 месяцев назад
You can use multiple way tiles like parking lots, crossroads, stadiums, woods, sand places and other playgrounds to have overlaps but in a controlled way. Every road going to or from these has to be 4 tiles straight (so 8+1=9 with the crossed one itself) and has to differ from the other road by at least 30 degrees and max. 90. On the crossing tile can be hay bales or traffic cones blocking the other road. So many will now say: This does stop you from drifting because of the long straight. No. Not necessarily. On these straights can be generated cones, hay bales, cars or even tank barriers you have to drift around. This way the game itself becomes more diverse and less boring on the long run, helps with concentrating and has a natural feel to the level of difficulty. Also the cross tiles could mark the start or end of an rally and you drift avoid the (oldtimer?) participants or a town route to its mall on which is traffic in both ways. Another way around could be jumps which make the player feel like in Dukes of Hazzard, portals like in Stargate, tunnels or dimension passages like in Stranger Things season 4 or fog in which is no wrong drifting until there is a street again and the fog fades away like in Assassin's Creed 2.
@pseudo_goose
@pseudo_goose 10 месяцев назад
Embrace the non-euclideanity and just delete all the old tiles, you're never going to go back to them anyway right?
@JonWaterfall
@JonWaterfall 10 месяцев назад
Another way of improving this depth check could be to check if any section already exist to the left, right and ahead(with some max distance checked) simultaneously. There are edge cases, but the assumption is that if there exist road pieces in all cardinal directions, there's a good chance you're eventually gonna run into another existing road section. The theory is that it's computationally cheaper to raytrace 3 times than to iteratively check all possible combinations of placing any 5 road pieces. Weaknesses could arise from having 45 degree turns, or if you decide that you'll be adding underpasses.
@alexandertheok9610
@alexandertheok9610 10 месяцев назад
love this game, having a lot of fun playing it, as well as seeing all the work you keep putting into it when many other people would already call this a finished game and move on! I'm getting bored pretty quickly while playing though, so I'd really appreciate if you'd add a bit of variety to the maps, both in terms of scenery, and lighting. also I believe that having a day-night cycle could be interesting, and reward players who manage to keep driving for multiple minutes without crashing.
@jonathonhowe
@jonathonhowe 10 месяцев назад
Thank you! I'm glad you're liking it. Yes I agree more variety is needed. It's been on my mind a lot. As for rewarding the player for longer runs, I'm worried that might incentivise afk strategies, but maybe we could reward distance 🤔.
@m.i.c.h.o
@m.i.c.h.o 10 месяцев назад
@@jonathonhowe Yeah I was thinking you could award how many segments you go. I always have a tough time judging how 'good' a run is outside of the score. Because your score definitely varies, and it's not always 1:1 to distance.
@assert_justice3783
@assert_justice3783 10 месяцев назад
I'd look into maze generation algorithms and space filling curves. Arbitrary shaped road pieces certainly complicate things but it should work with some adaptations.
@Theodorlei1
@Theodorlei1 10 месяцев назад
The "stepping" solution to track creation sounds similar to cooperative scheduling. You could move that calculation into a different, low priority thread, too - and pick up the result (the appended track) when you need it. The calculation wouldn't need to be interruptible then, and you wouldn't need to estimate the amount of steps per frame. It would introduce more threading/synchronization and changing a running system, though. Nice game visuals, video and explanations, btw!
@jauki2742
@jauki2742 9 месяцев назад
Wave Function Collapse would suit here perfectly i guess
@eyeseeyougood888
@eyeseeyougood888 10 месяцев назад
U could use a flood fill algorythm starting in the area at the end of the selected tile to see if that option would result in a finite or infinite area filled, then if finite, u know that this move would create an area that cannot be escaped in future but if infinite then that piece would be valid. Correct me if I am wrong, but I believe a flood fill algorythm is a very cheap calculation to computer and would result in the most accuracy and speed.
@Kyanoxia
@Kyanoxia 10 месяцев назад
I believe this would work well. I don't have a ton of knowledge about flood fill algorithms but it seems as though this would be the best solution.
@eyeseeyougood888
@eyeseeyougood888 10 месяцев назад
@@Kyanoxia always happy to help :)
@jonathonhowe
@jonathonhowe 10 месяцев назад
Yeah that could work for the stages that have tile pieces. I'm not sure how you'd make it work for the stages that have arbitrary piece shapes though 🤔
@somdudewillson
@somdudewillson 10 месяцев назад
You don't even need a flood fill, you can just check the edge since you only care if the area is bounded.
@somdudewillson
@somdudewillson 10 месяцев назад
@@jonathonhowe You could just coarsely voxelize them with a handful of collision checks against rectangular prism colliders arranged in a grid.
@owen_deRADISH
@owen_deRADISH 10 месяцев назад
I have this game! I didnt know you made it!
@alleman0378
@alleman0378 9 месяцев назад
great video
@fallenlegend6682
@fallenlegend6682 9 месяцев назад
Yo bro I’ve been playing your game for a while now and I love it it’s dope that you release videos about making it. I’m a music producer and I think it would be cool if I had the opportunity to make the soundtrack for your next level.
@mensajero_TV
@mensajero_TV 8 месяцев назад
ive been playing this game for 3 months now I DIDNT KNOW THIS WAS A DEVLOG GAME
@konstantinbachem9800
@konstantinbachem9800 10 месяцев назад
in a grid based aproach i would place a tile and than check if there is a path to the beginning. that way you will never runn into a "corner" because the beginning will be deleated when placing the next tile :)
@Vlad79X
@Vlad79X 10 месяцев назад
this game seems really cool
@andersama2215
@andersama2215 10 месяцев назад
Definitely consider spreading those piece placement tests over several frames. I'm not sure if the mobile version already has these changes, when playing my phone definitely stutters every once in a while. Here's my thought, build a small database of the models by their relationship between it's start and end markers. Since you're not caring about the height for overlap I'd do x,y coordinates as a sort of key, I'd just use something like x
@parkeryj3135
@parkeryj3135 9 месяцев назад
Give every segment an angle calulation. (The angle change from its beginning) Add or subtract from a game degree tracker. Never let the game degree tracker get close to 360. If number is 330 Than don’t exceed a positive angle change of 30 This would require identifying the angle for all segments, then having a math problem run in the background that selects appropriate segments. I don’t know squat about coding but I thought it’d be a fun solution.
@jak0x622
@jak0x622 10 месяцев назад
i made a game like this a while ago except you are part of a military convoy and go down a procedurally generated road in a valley and randomly get ambushed by guerrilla fighters
@BeeBee54454
@BeeBee54454 9 месяцев назад
I got this game before seeing any of these videos. I love the game
@seanhardy_
@seanhardy_ 10 месяцев назад
OMG I DOWNLOADED THIS RECENTLY AND JUST SAW THIS IN MY RECOMMENDED LMAO, what a coincidence
@yagan_dawn2008
@yagan_dawn2008 10 месяцев назад
Oh i was playing this game a lot in school,now i see it here
@BlueOctopusDev
@BlueOctopusDev 10 месяцев назад
I know some of my friends play and love your game 👍
@flow1194
@flow1194 10 месяцев назад
you could divide the world into chunks (my favourite), then choose an exit side that is not the side you came from, then generate a random path through the chunk.the fastest way to overlap chunks would be a 4x4 square of chunks where the 1st and 5th path would overlap. so as long as you only ever have at most 4 chunks you should be fine
@doltramir
@doltramir 10 месяцев назад
If new piece overlaps with existing one - they form a loop. You can't place pieces inside that loop, or you'll run out of space for new pieces eventually. So just rule out all possible placements inside that loop. Plus, there are a lot of options on how to do it exactly. That would be, either, a decent optimization, or a complete algorithm by itself, depending on implementation.
@bickle8911
@bickle8911 9 месяцев назад
holy crap I played the shit out of this game a few months ago I unlocked everything I didn’t know it had a devlog that’s so cool
@randomposting3030
@randomposting3030 8 месяцев назад
YOU MADE THE GAME?! I jus found it n started playing lmao
@crashim4869
@crashim4869 10 месяцев назад
Really interesting!
@nathanrey
@nathanrey 10 месяцев назад
you can also simply cast a ray at the end in the direction the track is going. well edited!
@jonathonhowe
@jonathonhowe 10 месяцев назад
Raycasting for the overlap detection? It would definitely be faster, but I would need to write a custom implementation as many of the pieces we're testing for overlap with are not actually in the world. I'd also need to cast many rays to cover the entire possible area that a piece may cover, rather than it's rough center line.
@nathanrey
@nathanrey 10 месяцев назад
@@jonathonhowe At the end of the search, one can check if the general outcome is valid by casting rays in all different directions the track could continue. By using some sort of implementation of this method, you could reduce the depth searched by quite a bit. (You could for example search until a valid exit is found)
@boriskalashnikov8595
@boriskalashnikov8595 9 месяцев назад
If the road happens to go in it itself, idk if its possible but building verticality could be another solution but a complication. Like if the road goes into the already rendered road, if the map's settings matches it, the road could go over or under. Like on the forest, road could go over by a bridge, and on the container warehouses something similar or the road could lead to an underpassage.
@Blu-ray
@Blu-ray 10 месяцев назад
select random piece, check if collides with another if yes select another random piece that is not the previous one repeat until done, remove roads behind you and have a "tunnel" piece that can go through other pieces if there are no options.
@aykarain
@aykarain 10 месяцев назад
looks like a fun game
@SplarcieRS
@SplarcieRS 8 месяцев назад
Infinite road removing road directly behind. This would work, do some checks to see if the tile you're driving on is able to see the tile behind you. If any are able to just make sure to code in to keep the road tile until you are on the next and then it will remove the previous 2. This will help with infinite roads and immersion if you have super tight hairpins. Good luck developing.
@jonathonhowe
@jonathonhowe 8 месяцев назад
Thank you! And yes, the road does actually get removed behind the car already, it's a little less sophisticated than what you've recommended, but gets the job done. Even with this, overlap is still fairly common so this system is still used.
@SplarcieRS
@SplarcieRS 8 месяцев назад
@@jonathonhowe What engine are you working in? I knew it wouldn't be a full fix to the overlapping but it'd be a bit to explain it without working on a system I talked about myself. Either way it's looking good and if you figure out a way to not make overlaps I'd be interested in seeing a video on it, keep up the good work!
@NoblePineapples
@NoblePineapples 8 месяцев назад
Well this is cool as hell.
@m.i.c.h.o
@m.i.c.h.o 10 месяцев назад
I'd like a map like Rally, with a little bit more friction on the dirt, and it changes elevation and has hairpins like Touge. Also, another map that procedurally generates a smooth spline instead of the grid pattern. It'd be more complex but way more satisfying to drift in. And also implement a modifier that makes the spline more straight when you begin to go faster, just so that you don't have to purposely slow down to a halt every few turns because you're going so darn fast.
@m.i.c.h.o
@m.i.c.h.o 10 месяцев назад
Something to add, I've tried going backwards on touge (uphill) and I've noticed that the car doesn't accelerate as fast as going downhill (duh). I think that it's a little too slow so maybe try to fix that somehow :) If you were to add a map that goes downhill AND uphill, 'fixing' the uphill acceleration is probably necessary. Super excited to see the future of this game!
@iamtufa
@iamtufa 10 месяцев назад
(last time)...sure
@zachariusd6473
@zachariusd6473 10 месяцев назад
Solid game I loved it
@tomw0184
@tomw0184 9 месяцев назад
Been playing this game for a month and just found this devlog 🤣🤣
@nic0ff_86
@nic0ff_86 10 месяцев назад
I have a question now. Why don’t u do like an “angle systems thing”. Taken every turn the change in initial angle of the block and the end angle of the block. Finding the negative or positive difference in angle. And just do that it never reaches 360 or -360 ( maybe like a lil more or less depending size of the road and other assets for them not to overlap on another piece of road ). Then randomly generate for n pieces of road u wanna load. Would that work?
@mayonnaisical
@mayonnaisical 10 месяцев назад
would you be able to simplify the code by just checking if a new piece overlaps (or gets too close to) an old piece, and if it does, check which side? like if you are too close to the right side of a previous piece of road, always have it turn left, since if you turn right, it'll always end up boxing itself in?
@Spyblox007
@Spyblox007 10 месяцев назад
Slight idea here. Instead despawning track and hoping you won't run into it, I notice there isn't many tunnels any your game. Maybe whenever the game backs itself into a corner, have a tunnel bit where you tunnel under the previous road. Keeps the emmersion, prevents illogical geometry, and could get the player away from cluttered areas to allow for more free generation.
@doougal
@doougal 10 месяцев назад
very epic
@zebraforceone
@zebraforceone 9 месяцев назад
Now, you're not thinking with portals!
@zataritamods7499
@zataritamods7499 10 месяцев назад
🤔 I feel like this would be a good use for wave function collapse
@jacobthecool3000
@jacobthecool3000 10 месяцев назад
Have you looked into wave function collapse?
@stvka
@stvka 10 месяцев назад
I found this on the AppStore didn’t even realise you made it lol. The one thing I would like though if you made performance a lot more since it isn’t a very visually demanding game yet it basically makes my phone over heat, I use an iPhone X which isn’t that old (in apples eyes it is though)
@XiYen
@XiYen 10 месяцев назад
I suppose you could cull all old road pieces that are out of lone of sight with the player, and if they decide to turn around and go backwards, just start generating new pieces backwards as well.
@bukdays
@bukdays 10 месяцев назад
Since the road is going down hill, would would be able to set the limit to the amount of tiles needed to go beneath the previous laid road? Maybe not completely realistic
@zactron1997
@zactron1997 10 месяцев назад
Very cute! Have you considered adding intersections that the player could choose between? Since it's a procedurally generated course, the only cost would be a limit on how ahead of time you could generate the track.
@DumboSanchez
@DumboSanchez 8 месяцев назад
This is a great idea !
@WellSwolen69
@WellSwolen69 10 месяцев назад
Question, is your game moving the car in coordinates or the roads? You could make longer non euclidean roads to go even longer without moving the car if the roads generate and move under your car making the illusion of moving while unloading old parts of the road you cannot see. This will help remove floating point errors too as you are not technically moving!
@THE_ONLY_REAL_WAFFLE
@THE_ONLY_REAL_WAFFLE 10 месяцев назад
Nice 👍
@nanaba9027
@nanaba9027 10 месяцев назад
hey just check if placing this piece would make a box. then place outside the box you see what you don't wanna do is essencially boxing yourself in. bc that would leave no way out. So check if box is going to be created and if so place next piece outside that box p.s can't you just remove previous piece?
@Robertfluff
@Robertfluff 9 месяцев назад
I've noticed some of these cars are from a certain vehicle model pack Where is that great one from from the beginning of the video
@LiamKelley-gu4fe
@LiamKelley-gu4fe 10 месяцев назад
Please add purchasable engines into the game (only for sound effects) it would just be cool to be drifting to the sound of a vr or 2jz or even Ls
@ResIpsa-pk4ih
@ResIpsa-pk4ih 10 месяцев назад
Cool video. Unsolicited advice: having the front tires smoking in a drift doesn’t make sense because you’re steering into the turn and controlling your direction with the front wheels. If they’re also sliding enough to smoke as much as the rear tires, something has gone terribly wrong. Car guys may find that detail distracting or off-putting. The visuals are great and your explanation of your thought process was cool. Good luck with it.
@fixups6536
@fixups6536 10 месяцев назад
I just tried the game on Android, and it's nice, but it's just too difficult. I gave up after 10 minutes. I think it should be more forgiving when you hit some obstacles. Also, as others have pointed out, very few players would notice if the track was actually impossible. After 2 turns, you forget were you came from, because you are so focused on the next turn. I tend to think that you solved this problem because it's an interesting programming problem, not because it makes your game better. I'm not blaming you, I have done that too. But I don't want to sound too negative, it's great that you explain what you have done and why, and I like the ideas. I will give Drifto another try tomorrow. :)
@Xrthix
@Xrthix 10 месяцев назад
I NEED this game!!! Edit I installed it!!! also, PLEASE make a pc version! I beg.
@heatherkirk7657
@heatherkirk7657 10 месяцев назад
could try using overlap pieces in places where its stuck, like a bridge, intersection, etc
@simonwillover4175
@simonwillover4175 9 месяцев назад
Just save all roads, just like with snake. Any single move is valid if it does not move inwards into a section that has been walled off. That is extremely simple. You hardly even need a for loop for that.
@simonwillover4175
@simonwillover4175 9 месяцев назад
2:40 is so wrong. Do you want some help? I can send you simple code that solves this issue 100% of the time.
@cosminperram
@cosminperram 10 месяцев назад
It would be really cool at the end to see the entire track and also have a seed and to let to input one.
@iamawatcher9201
@iamawatcher9201 10 месяцев назад
How do you play in widescreen? On mobile the game doesn't change to landscape mode at all
@z̈̇i
@z̈̇i 10 месяцев назад
Thumbnail makes it look like jelly drift
@wazzpqazzza
@wazzpqazzza 10 месяцев назад
For years I've wanted this system for a split screen fps. Combine this with the games ability to teleport players back toward each other and you have an infinite map.
@Andreyy98
@Andreyy98 10 месяцев назад
I'm pretty sure using pathfinding algorithm with a good heuristic would be sufficient to solve you problem in Polynomial time. Depending on guarantees you have based on tile types there may be even simpler approaches. Removing already used tiles from the map is something you should do anyways, so your solution may be sufficient.
@DavidKozyan
@DavidKozyan 10 месяцев назад
Hey man I love your game, I play it when I’m bored, can you make more maps please and more obstacles. Thxs
@jonathonhowe
@jonathonhowe 10 месяцев назад
Thank you! Yes more maps and more variety in the current maps are definitely going to come soon!
@DavidKozyan
@DavidKozyan 10 месяцев назад
Thanks bro, your game is the best
@colemiller2149
@colemiller2149 8 месяцев назад
With the snake road you can actually use a finite checkerboard, and therefore guarantee you never hit the loaded road (and more turns more drifts)
@jonathonhowe
@jonathonhowe 8 месяцев назад
A checkerboard, like a tile/grid based system? If so then that would work for only a couple of the stages
@salvatoreshiggerino6810
@salvatoreshiggerino6810 10 месяцев назад
Could you solve it with sectors and portals like in Duke Nukem 3D? Then you can have overlapping geometry without worrying about what to render or collide with.
Далее
A Little Bit of World Building - Drifto Devlog
5:44
Просмотров 2,1 тыс.
How I Solved Real Time Motion Blur
10:20
Просмотров 11 тыс.
Can I make a racing game that's actually fun?
8:27
Просмотров 2,5 тыс.
Fixing the Drifting Camera Movement - Drifto Devlog
3:13
How I Created 2D Pixel Art Water - Unity Shader Graph
14:11
Generating 2d levels
6:11
Просмотров 2,1 тыс.
Race 3D Template Godot 4.2 - R12 showcase
1:15
Просмотров 4 тыс.