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

  Рет қаралды 208,538

jonnn

jonnn

Күн бұрын

Пікірлер: 308
@Jamato-sUn
@Jamato-sUn Жыл бұрын
It's an infinite road, why bother at all? Despawn anything behind you and confidently make 6 left turn in a row.
@anoukk_
@anoukk_ Жыл бұрын
This
@Jellyjam14blas
@Jellyjam14blas Жыл бұрын
This!
@CathrineMacNiel
@CathrineMacNiel Жыл бұрын
sounds lazy and immersion breaking.
@kalechips22
@kalechips22 Жыл бұрын
@@CathrineMacNiel wooosh
@CathrineMacNiel
@CathrineMacNiel Жыл бұрын
@@kalechips22 not really.
@morgan0
@morgan0 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
@@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 Жыл бұрын
Same thought, replace the overlapping tiles with a tunnel that's guaranteed to go past it
@simonwillover4175
@simonwillover4175 Жыл бұрын
@MINIMAN10000 just make a separate mesh for the tunnel, and place the tunnel below the existing road. It is extremely simple.
@pepsiman9093
@pepsiman9093 Жыл бұрын
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 Жыл бұрын
*dumbasses won't realize
@thewhitefalcon8539
@thewhitefalcon8539 Жыл бұрын
Broke: self-overlapping roads Woke: avoid self-overlap Bespoke: allow self-overlapping roads and render it in a way that doesn't look stupid
@TheRealBoof
@TheRealBoof Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
Sounds like iterated depth first factorial extinction.
@addmix
@addmix Жыл бұрын
@@Dan-gs3kg I like your funny words, magic man.
@MisterAssasine
@MisterAssasine Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
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!
@cyb3r._.
@cyb3r._. Жыл бұрын
wait this is actually so cool i played this game for a while before finding these videos
@frogo1790
@frogo1790 Жыл бұрын
i just installed this game about 1 week ago and i have been playing it everyday and i love it
@themrfj
@themrfj Жыл бұрын
Adding tunnel pieces that go under previous tracks would make this problem a whole lot easier and add some variation.
@Poldovico
@Poldovico Жыл бұрын
How do you tunnel through an existing mesh?
@themrfj
@themrfj Жыл бұрын
@@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 Жыл бұрын
@@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 Жыл бұрын
Great video , love to see the evolution of this game
@WackoMcGoose
@WackoMcGoose Жыл бұрын
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...
@redteller
@redteller Жыл бұрын
This game is awesome. So fun to play and the unlockables make me want to keep playing!
@_the_Nochad
@_the_Nochad Жыл бұрын
I didn’t even know you made the game awesome work, however I never knew the road wasn’t infinite first
@andersonpgs
@andersonpgs Жыл бұрын
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
@slevter5151
@slevter5151 9 ай бұрын
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
@thesovietseal5887
@thesovietseal5887 Жыл бұрын
Damn I've been playing the game for a very long time now and never realised you had a KZbin I'm glad I got recommended it.
@hi-what
@hi-what Жыл бұрын
I play this game daily on the train to and from work, and randomly got recommended this vid 😁 love the game bro
@АндрейВолик-з5н
@АндрейВолик-з5н Жыл бұрын
i got this game to pass time at school, so cool that ur a dev on it
@RichHeart89
@RichHeart89 Жыл бұрын
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 😅
@Miccielly
@Miccielly Жыл бұрын
Great video, I appreciate that you make racing/driving game
@kArTerhns
@kArTerhns Жыл бұрын
I just tested out your game and it's pretty fun ! thanks for it!
@RupertBruce
@RupertBruce Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
You round the forward vector so it matches the angles of your premade pieces
@o_sch
@o_sch Жыл бұрын
@@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
@wyhno
@wyhno Жыл бұрын
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
@alexandertheok9610
@alexandertheok9610 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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.
@wordrc
@wordrc Жыл бұрын
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 Жыл бұрын
Thank you! I really appreciate this. I hope you continue to enjoy it.
@TheBu213
@TheBu213 Жыл бұрын
The road knows where it is, because it knows where it isn't.
@zionjones2854
@zionjones2854 Жыл бұрын
Downloaded this ages ago and have been loving it as a good game I can rely on. Please don’t abandon it 😂
@MrAusdrifter
@MrAusdrifter Жыл бұрын
Sounds like a cool concept, downloading it to try now
@wupinegaming4629
@wupinegaming4629 Жыл бұрын
Just tried your game and its fun and addicting!
@eyeseeyougood888
@eyeseeyougood888 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@Kyanoxia always happy to help :)
@jonathonhowe
@jonathonhowe Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@jonathonhowe You could just coarsely voxelize them with a handful of collision checks against rectangular prism colliders arranged in a grid.
@SplarcieRS
@SplarcieRS Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
@@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!
@assert_justice3783
@assert_justice3783 Жыл бұрын
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.
@aguywhoplaysgames
@aguywhoplaysgames Жыл бұрын
You are gonna blow up soon, I'm calling it.
@jonathonhowe
@jonathonhowe Жыл бұрын
I sure hope so ❤️
@nathanrey
@nathanrey Жыл бұрын
you can also simply cast a ray at the end in the direction the track is going. well edited!
@jonathonhowe
@jonathonhowe Жыл бұрын
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 Жыл бұрын
@@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)
@konstantinbachem9800
@konstantinbachem9800 Жыл бұрын
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 :)
@yksnidog
@yksnidog Жыл бұрын
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.
@JonWaterfall
@JonWaterfall Жыл бұрын
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.
@mensajero_TV
@mensajero_TV Жыл бұрын
ive been playing this game for 3 months now I DIDNT KNOW THIS WAS A DEVLOG GAME
@Theodorlei1
@Theodorlei1 Жыл бұрын
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!
@seanjhardy
@seanjhardy Жыл бұрын
OMG I DOWNLOADED THIS RECENTLY AND JUST SAW THIS IN MY RECOMMENDED LMAO, what a coincidence
@BeeBee54454
@BeeBee54454 Жыл бұрын
I got this game before seeing any of these videos. I love the game
@jdude21
@jdude21 Жыл бұрын
This looks really cool!
@jauki2742
@jauki2742 Жыл бұрын
Wave Function Collapse would suit here perfectly i guess
@flow1194
@flow1194 Жыл бұрын
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
@Vlad79X
@Vlad79X Жыл бұрын
this game seems really cool
@pseudo_goose
@pseudo_goose Жыл бұрын
Embrace the non-euclideanity and just delete all the old tiles, you're never going to go back to them anyway right?
@jak0x622
@jak0x622 Жыл бұрын
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
@bickle8911
@bickle8911 Жыл бұрын
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
@parkeryj3135
@parkeryj3135 Жыл бұрын
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.
@Scardacay
@Scardacay Жыл бұрын
Great stuff!
@michaelsiddle01
@michaelsiddle01 Жыл бұрын
Good video I enjoyed it 👍
@zebraforceone
@zebraforceone Жыл бұрын
Now, you're not thinking with portals!
@Xrthix
@Xrthix Жыл бұрын
I NEED this game!!! Edit I installed it!!! also, PLEASE make a pc version! I beg.
@yagan_dawn2008
@yagan_dawn2008 Жыл бұрын
Oh i was playing this game a lot in school,now i see it here
@Just_Some_Random_Goober
@Just_Some_Random_Goober Жыл бұрын
I have this game! I didnt know you made it!
@iamtufa
@iamtufa Жыл бұрын
(last time)...sure
@boriskalashnikov8595
@boriskalashnikov8595 Жыл бұрын
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.
@BlueOctopusDev
@BlueOctopusDev Жыл бұрын
I know some of my friends play and love your game 👍
@F0r3v3rT0m0rr0w
@F0r3v3rT0m0rr0w Жыл бұрын
is the next video going to be "how i switched my project from unity to Unreal?"
@doltramir
@doltramir Жыл бұрын
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.
@tomw0184
@tomw0184 Жыл бұрын
Been playing this game for a month and just found this devlog 🤣🤣
@Blu-ray
@Blu-ray Жыл бұрын
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.
@U_Geek
@U_Geek Жыл бұрын
Wouldn't this also be a valid solution here? Store every generated piece of road in a dictionary based on id(distance from starting position in tiles traveled) so that would be Dictionary Check which pieces need rendering. Should be simple, just render every piece until the next corner, since the corner blocks visual anyway, this could be achieved with a look up table for which piece blocks the view. Now just simply fetch the needed pieces from the dictionary if they are already generated and boom infinite right hand corner.
@LiamKelley-gu4fe
@LiamKelley-gu4fe Жыл бұрын
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
@aykarain
@aykarain Жыл бұрын
looks like a fun game
@arandomperson2495
@arandomperson2495 Жыл бұрын
Ok hear me out, this might sound stupid but why not just delete the track right behind the player since he cant see it anyways, that way there won't be any overlapping
@m.i.c.h.o
@m.i.c.h.o Жыл бұрын
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 Жыл бұрын
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!
@DavidKozyan
@DavidKozyan Жыл бұрын
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 Жыл бұрын
Thank you! Yes more maps and more variety in the current maps are definitely going to come soon!
@DavidKozyan
@DavidKozyan Жыл бұрын
Thanks bro, your game is the best
@zataritamods7499
@zataritamods7499 Жыл бұрын
🤔 I feel like this would be a good use for wave function collapse
@ZÏ̇̃
@ZÏ̇̃ Жыл бұрын
Thumbnail makes it look like jelly drift
@randomposting3030
@randomposting3030 Жыл бұрын
YOU MADE THE GAME?! I jus found it n started playing lmao
@crashim4869
@crashim4869 Жыл бұрын
Really interesting!
@andersama2215
@andersama2215 Жыл бұрын
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
@fallenlegend6682
@fallenlegend6682 Жыл бұрын
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.
@mercyrlgaming5378
@mercyrlgaming5378 Жыл бұрын
What about adding multiplayer mode? It would be fun to drift with people! But if you dont want to add it u can! Ur choice man
@zactron1997
@zactron1997 Жыл бұрын
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 Жыл бұрын
This is a great idea !
@WellSwolen69
@WellSwolen69 Жыл бұрын
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!
@alleman0378
@alleman0378 Жыл бұрын
great video
@NoblePineapples
@NoblePineapples Жыл бұрын
Well this is cool as hell.
@wazzpqazzza
@wazzpqazzza Жыл бұрын
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.
@stvka
@stvka Жыл бұрын
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)
@fixups6536
@fixups6536 Жыл бұрын
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. :)
@Andreyy98
@Andreyy98 Жыл бұрын
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.
@Spyblox007
@Spyblox007 Жыл бұрын
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.
@zachariusd6473
@zachariusd6473 Жыл бұрын
Solid game I loved it
@XiYen
@XiYen Жыл бұрын
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.
@bdenix1997
@bdenix1997 Жыл бұрын
Since the eay is covered with trees and walls and stuff, and you cant really see whats behind and stuff, i would just unload the old map fragments and would not care about overlapping and shit. Since the visible area is limited.
@ResIpsa-pk4ih
@ResIpsa-pk4ih Жыл бұрын
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.
@grqfes
@grqfes Жыл бұрын
hardest mobile game i ever played
@grqfes
@grqfes Жыл бұрын
other than clash royale
@jacobthecool3000
@jacobthecool3000 Жыл бұрын
Have you looked into wave function collapse?
@colemiller2149
@colemiller2149 Жыл бұрын
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 Жыл бұрын
A checkerboard, like a tile/grid based system? If so then that would work for only a couple of the stages
@Spooky.Studios
@Spooky.Studios Жыл бұрын
you can also fix this by adding a condition, where if the road was ever rotated towards the left or right the next spawn with a rotation has to be the opposite of the last
@Beatsbasteln
@Beatsbasteln Жыл бұрын
tbh i wish you'd just release it as a computer game. i'm not much of a mobile gamer. but i can definitely see myself sometimes starting it up on my computer to relax between work phases
@doougal
@doougal Жыл бұрын
very epic
@RivalStyles
@RivalStyles Жыл бұрын
Hey @Jonathan Howe, I love the game. I have over 100,000 coins and really enjoy it so far. One issue, Could you please not make the tires lose traction so quickly? Once i make it to 7k It starts becoming so annoying sliding around for no reason. I understand that you want to add a challenge. I'm totally okay with that but I think it would be much better if you lose traction a little later in the game.
@simonwillover4175
@simonwillover4175 Жыл бұрын
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 Жыл бұрын
2:40 is so wrong. Do you want some help? I can send you simple code that solves this issue 100% of the time.
@stalebread2997
@stalebread2997 Жыл бұрын
You Are The Road but awesome
@davidaugustofc2574
@davidaugustofc2574 Жыл бұрын
You could make all tiles going slightly downhill or uphill, so after a while no tiles would run through each other, and you can stop rendering tiles that are far from the car at the Y axis
@NabekenProG87
@NabekenProG87 Жыл бұрын
Wouldn't the overlapping be completely solved if you unloaded old roads (that are not visible)? That way you would drastically limit the amount of overlap checking you have to do. Didn't watch the whole video yet, so I'm probably talking crap
Why Stairs Suck in Games... and why they don't have to
11:24
Nick Maltbie
Рет қаралды 1,5 МЛН
Moebius-style 3D Rendering | Useless Game Dev
8:12
Useless Game Dev
Рет қаралды 846 М.
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 21 МЛН
Players vs Pitch 🤯
00:26
LE FOOT EN VIDÉO
Рет қаралды 39 МЛН
Trick-or-Treating in a Rush. Part 2
00:37
Daniel LaBelle
Рет қаралды 21 МЛН
Yay, My Dad Is a Vending Machine! 🛍️😆 #funny #prank #comedy
00:17
I Created a Game Engine Just to Optimise This
4:50
Vercidium
Рет қаралды 1,1 МЛН
I Have 2 Weeks to File a Dispute for this Scam TV
25:35
Linus Tech Tips
Рет қаралды 1,3 МЛН
Endless Summer Road - UnrealEngine short POV animation
1:00
How Games Have Worked for 30 Years to Do Less Work
23:40
SimonDev
Рет қаралды 1,4 МЛН
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 724 М.
Fixing the Drifting Camera Movement - Drifto Devlog
3:13
Making 3D animation look painterly (it's easier than you think)
8:05
A new way to generate worlds (stitched WFC)
10:51
Watt Designs
Рет қаралды 538 М.
風船をキャッチしろ!🎈 Balloon catch Challenges
00:57
はじめしゃちょー(hajime)
Рет қаралды 21 МЛН