I Made a Procedurally Generated City | Devlog 0

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ต.ค. 2024

ความคิดเห็น • 313

  • @bestgamedev
    @bestgamedev  ปีที่แล้ว +9

    I made a discord so that we interact easily for anyone interested.
    discord.gg/c9zKXDWPBY

    • @Ghost58202
      @Ghost58202 ปีที่แล้ว +3

      Warning: The server is OP

    • @baguettelord5769
      @baguettelord5769 ปีที่แล้ว +1

      Hey! I’m also currently developing a game, nice to see other devs sharing their experience. Maybe I should make content about my development.

  • @nitroneonicman
    @nitroneonicman ปีที่แล้ว +122

    I did this at one point and realized making a procedurally generated city isn't the hard part, making a fun game out of it is.

    • @fodk7021
      @fodk7021 ปีที่แล้ว +4

      Really ? I find it hard ... could you show me some creator that explains the logic and code please.

    • @yusufziyakaraaslan5691
      @yusufziyakaraaslan5691 ปีที่แล้ว +4

      @@fodk7021 You should definitely check out Sebastian Lague's videos.

    • @fodk7021
      @fodk7021 ปีที่แล้ว +1

      @@yusufziyakaraaslan5691 I already did I am stuck with making biomes and blending them....

    • @barkmober
      @barkmober ปีที่แล้ว +1

      @@fodk7021 you can find some simple procedural generation algorithms that are pretty simple to implement

    • @fodk7021
      @fodk7021 ปีที่แล้ว +1

      @@barkmober I have been searching for a year now and still nothing

  • @Oreo_Dog
    @Oreo_Dog ปีที่แล้ว +77

    I can’t wait to see future devlogs and how your channel grows over time!

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว +9

      Thanks, I didn't expect the video to do this well. I'm glad you enjoyed!

    • @illshowyougames3605
      @illshowyougames3605 ปีที่แล้ว +3

      Same

  • @pr4shantishere
    @pr4shantishere ปีที่แล้ว +107

    Make the city have a boundary at its edges or make them island. Just add some kind of way for the city to end.

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว +13

      Yeah I'm not sure if I want water, mountains, hills or something else.

    • @Tylermanguy58
      @Tylermanguy58 ปีที่แล้ว +26

      @@bestgamedev maybe a combination of all three to add more depth to the world

    • @ckwallace
      @ckwallace ปีที่แล้ว +3

      I was also going to suggest adding water. As someone from Chicago who moved to Cali, having a huge lake or the ocean would really make this come alive.

    • @cosmnick2805
      @cosmnick2805 ปีที่แล้ว +3

      @@bestgamedev rivers could work, since cities are built near or between rivers in real life

    • @michasengotta2295
      @michasengotta2295 ปีที่แล้ว +2

      @@Tylermanguy58 I would suggest keeping it simple for the beginning

  • @tov8714
    @tov8714 ปีที่แล้ว +38

    Very cool! The procedural generation looks good; you did a great job.

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว +3

      Thanks, I really enjoy algorithmic coding problems so it was a fun challenge.

  • @iamsecrets
    @iamsecrets ปีที่แล้ว +29

    Very smart of you to go with pre-made assets early in development. Many would be tempted to do it all themselves but with a scope like this it wouldn't be viable.

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว +7

      Yeah it's important to be realistic as a solo developer

    • @ChaosSHSM
      @ChaosSHSM ปีที่แล้ว +4

      @@bestgamedev Nail the prototype and someone else will fund the art

  • @qwertz3813
    @qwertz3813 ปีที่แล้ว +1

    my man is speedrun-developing procedurally generated gta and its working lol
    looking forward to next vids :D

  • @sarahm2005
    @sarahm2005 ปีที่แล้ว +13

    This looks cool 👍 the fact that you are using models instead of cubes makes it 10 times better. Can't wait to see what you do with it.

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว +3

      Yeah I think it's important to use assets here and there for things you are bad at as a solo developer or the game will never get done. Thanks for the comment!

  • @cavecreaturenorth4840
    @cavecreaturenorth4840 ปีที่แล้ว

    This exact kind of game (Procedural GTA -like) has been on my game idea list for a while, so it's really cool to see other tinkering with the same sort of idea

  • @watermelon8487
    @watermelon8487 ปีที่แล้ว +1

    Amazing devlog! I’m looking forward to your future videos

  • @lucbloom
    @lucbloom ปีที่แล้ว +1

    Be sure to pool and despawn pedestrians and traffic. Choose simulate or procedural instancing early on.
    Procedural meaning 100% based on noise functions and thus no interaction; simulate meaning more heavy cpu load unless you find a way to fast forward distant unsimulated blocks.

  • @strangelpeaceful
    @strangelpeaceful ปีที่แล้ว +2

    @OctaDev what you've made so far isn't actually procedurally generated because you're relying on "Random Range", which is obviously, random. Be sure to use "Range.seed" in Unity so your random values are always the same, depending on your seed. It might also be in your best interest to implement this for your "roads".
    The biggest advantage would be that you can "chunkify" your city, which allows you to "render/calculate" it in realtime and allows your to scale it up enormously.

  • @zeonos
    @zeonos ปีที่แล้ว

    Very good quality first video and i am looking forward to following the progress!

  • @thesneakyturtel
    @thesneakyturtel ปีที่แล้ว

    found your video through yt recommendation feed, and im not disappointed! keep up the great work man! :D

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว

      I'm happy you enjoyed it!

  • @aaronl1998
    @aaronl1998 ปีที่แล้ว

    Love what I've seen so far and I can't wait to see where you take it!! It's been so long since I've seen a devlog gamedev situation that interested me so much! I imagine it turning into a roguelike or something where each run generates completely new areas but also you now have completely random chances at finding NPC's who give out quests, high value world roaming targets like armored cash trucks, etc. Maybe certain districts have higher chances at "end-game" quests that are more patrolled by police, these quests could require that the player has to return to the quest giver to get the reward meaning they have to enter, exit and then return through this challenging area... Maybe if the player is interacting with an enemy that much it might get bland and stale but if the quest is valuable enough and you make the police chases/fights enjoyable to at least complete then I could see it being a fun aspect. Spit balling, throwing my two cents into this dope idea and seeing if any gets your creativity running. Subscribed, can't wait to see where you go with the game!

  • @ilyjothepig9314
    @ilyjothepig9314 ปีที่แล้ว

    This is an amazing project and dev log!

  • @GeezySeason
    @GeezySeason ปีที่แล้ว

    Watched this on my TV, great devlog!

  • @noahspacedude6035
    @noahspacedude6035 ปีที่แล้ว

    bro it’s sick to see another game dev on yt keep going this idea is lit

  • @WolfSky12634
    @WolfSky12634 ปีที่แล้ว

    I am at Uni in England studying Computer Games Programming, so watching other devs working on games is so cool to me, keen to see where you go with this!

  • @JeanCringeBro
    @JeanCringeBro ปีที่แล้ว +1

    I love the idea and love the project (and luv u too) I hope you continue like that😁👌

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว +1

      Thanks glad you loved everything!

  • @DenDerGut
    @DenDerGut ปีที่แล้ว

    Very cool! Looking forward to following the development:)) - Would be cool if u could choose your on path like gang, cop, business dude etc - so it was up to the player what kind of life u wanna - maybe if u combined paths u could be a criminal business dude and so on

  • @VARIGONSTUDIOS
    @VARIGONSTUDIOS ปีที่แล้ว +1

    Very cool! I always love checking out what fellow game devs are working on. You got my sub, looking forward to your next devlog

  • @finnf2462
    @finnf2462 ปีที่แล้ว +1

    I am not sure if you have already done this but try to combine as many meshes as possible so that you have less draw calls this will give you a big performance boost

  • @ECHSBACHS
    @ECHSBACHS ปีที่แล้ว +1

    Looks Great !

  • @gerard_r0ig
    @gerard_r0ig ปีที่แล้ว

    Really cool! I would remove some roads to have intersections with 2 or 3 exits in order to decrease repetition. That would also create long streets like irl. Great work 😁

  • @thenovemberedition
    @thenovemberedition ปีที่แล้ว +1

    Love the progress!
    maybe out of the scope for what you want to do but height variation of the map and maybe some hills/mountains in the background.
    Varying street with would help a lot to make it feel more real like the downtown/city area could have 4 or six lanes while the suburbs doesn't have any lane markers

  • @shivagp9923
    @shivagp9923 ปีที่แล้ว

    This looks really cool! Looking forward to the next one

  • @etozhecasper
    @etozhecasper ปีที่แล้ว

    Wow! That’s very cool! I’m already waiting for the next video... 😍

  • @R4venshore
    @R4venshore ปีที่แล้ว

    One thing that really helps when you do procedural generation is to batch your meshes. After generation you can create a script that iterates over all your buildings and parts and joins all meshes with the same materials. It has a massive increase on performance as it reduces the batches dramatically. It works a lot better than just GPU instancing the materials or setting them static. For the NPCs I would just add Navmesh and Navmesh agents. Super easy to implement. Then add state machines for behavior.

  • @DamianOC0100
    @DamianOC0100 ปีที่แล้ว

    Sounds amazing. I can't wait to see more of this. I will definitely be subscribing now

  • @UtopssAKAPJ
    @UtopssAKAPJ ปีที่แล้ว

    I do like Polygon's assets
    I'm actually looking forward to see where this game goes

  • @davedev27
    @davedev27 ปีที่แล้ว

    I really like your approach of doing what you like and using assets for the rest. your devlog feels so inspiring to me :D

  • @neoline5831
    @neoline5831 ปีที่แล้ว

    Add occlusion culling, it really helps with the performance, and i suggest adding a skybox early on in development because it gives the scene more depth, preferrably a skybox with mountains to set a boundary for the world, you also have to add a little bit more post-processing, and perhaps baked lightmaps instead of realtime lighting for the static objects, trust me, optimizing the scene early on in development helps set a benchmark for what performance is to be expected from the game, using this benchmark you could easily see the framerate you have to work with and how much the performance will be affected in later versions of the game, if you leave optimization for last you'll have to reconfigure everything based on your optimizations, and you'll find that you've made lots of unnecessary sacrifices in terms of graphics and gameplay, but overall, good start, keep going!

  • @callmesleepless9040
    @callmesleepless9040 ปีที่แล้ว

    For the first devlog, the game look amazing. I can't wait to see more of this! Keep up the work homie

  • @DurgisFlak
    @DurgisFlak ปีที่แล้ว +10

    I think you need some kind of boundry district between the city and the suburb so the change in building style isn't so noticable...

  • @ThatLazyGameDev
    @ThatLazyGameDev ปีที่แล้ว

    Yooo, that is actually pretty sick, I tried to make a similar game before but sucked at coding and animating, (more of a Game "lvl designer" and modeler). Excited to see more progress

  • @NickEgg
    @NickEgg ปีที่แล้ว

    great video man you are gonna be growing fast

  • @sudhansubalasahoo
    @sudhansubalasahoo ปีที่แล้ว

    Wow this video really shows the power of premade assets,
    Good luck on the project

  • @belalmohamed9648
    @belalmohamed9648 ปีที่แล้ว

    Nice work, the procedural generation for the building looks very good, with some lighting and post-processing it will be even better

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว

      Yeah I can't wait to make the city come to life in the next couple of devlogs

  • @ace5916
    @ace5916 ปีที่แล้ว

    This is amazing, I'm really excited for the upcoming vids!

  • @stevenmathews7621
    @stevenmathews7621 ปีที่แล้ว

    nice work
    potentially as your devlogs get longer and more involved,
    you could do little accompanying vids that explain how you
    implemented various aspects in each devlog
    So the devlog could be an overview, and you'd have
    accompanying sub-devlogs /
    code-figureout-and-implement-log - code you
    grabbed ideas from, parts where you were having
    hassles figuring stuff out, before insight (this is
    the bit I love - banging your head against a wall
    for a while, scrounging around, then finally gettting
    it to work - "oh, yeah!!, take that!!! (lol)),
    etc, etc
    e.g obvious one for this log would be how you went about
    writing the procedural generation

  • @MrSadek94
    @MrSadek94 ปีที่แล้ว

    Looks cool so far, good luck man 👌

  • @dev_enca
    @dev_enca ปีที่แล้ว

    Very nice. Looking forward to more devlogs.

  • @ojakgnuy3551
    @ojakgnuy3551 ปีที่แล้ว

    looks really cool so far!

  • @victorAgain00
    @victorAgain00 ปีที่แล้ว

    Subscribed!!!
    I gotta see future devlogs. Please don't take too long

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว

      Thanks! I plan on posting once a month. I know it's pretty long but I want to make sure I have some good stuff to show!

  • @mr.tiger8884
    @mr.tiger8884 ปีที่แล้ว +1

    Stay committed! I love the idea and it could be a really great game!

  • @Jpres
    @Jpres ปีที่แล้ว

    Cool video look forward to see what you come up with.

  • @Wolfzzz
    @Wolfzzz ปีที่แล้ว

    Bro you made a good video with good content, keep up with that and you'll have success!

  • @wrexbg
    @wrexbg ปีที่แล้ว

    Good luck on the project!
    The quality of the video is great for a first upload =)

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว

      Thanks! I appreciate it.

  • @JakeDaSpud
    @JakeDaSpud ปีที่แล้ว

    wow you just hit 100 subs! blowing up already lol, great start!

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว +1

      I know, isn't it crazy! Thanks for the support

  • @breadboarddev
    @breadboarddev ปีที่แล้ว

    Looking great so far! Excited to see more.

  • @travisco13
    @travisco13 ปีที่แล้ว +1

    Keep it up mate

  • @ConnorsGamingOasis
    @ConnorsGamingOasis ปีที่แล้ว

    Very cool!
    Suggestion though: you should make the transition between city and suburbs smoother

  • @mrbruh2460
    @mrbruh2460 ปีที่แล้ว

    You are So Underrated dude! Cant wait for part 2

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว +1

      Thank you so much! Part 2 is coming out on Thursday.

    • @mrbruh2460
      @mrbruh2460 ปีที่แล้ว

      @@bestgamedev Cool im excited!

  • @Chickengbs
    @Chickengbs ปีที่แล้ว

    I'm really looking forward for this!

  • @faris_diz
    @faris_diz ปีที่แล้ว

    Looks promising, waiting for next video update!

  • @SombreroMan716
    @SombreroMan716 ปีที่แล้ว +2

    This project seems like it could really go places, and I would definitely follow it if it does, but just be aware of the giant scope of this project.

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว +1

      Yep I am planning on working on this for a while. Hopefully I don't burn out

  • @Jlewismedia
    @Jlewismedia ปีที่แล้ว +1

    You should check out "amplify impostors" essentially makes a 3d billboard so from like 50m away you have a billboard with like 8verts that can be viewed in a 360 degree angle. Also set up occlusion volumes, and check your texture compression to make sure they aren't too big (aim for

  • @ltcolthorin8661
    @ltcolthorin8661 ปีที่แล้ว

    Adding different types of roads will also add to the immersion. Have some one way streets, gravel roads, back lanes, etc.

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว

      Yeah thats a good idea for the future

  • @fluffyflamingo
    @fluffyflamingo ปีที่แล้ว

    This looks really interesting. Well done on the initial progress, pretty decent!

  • @dr0nz893
    @dr0nz893 ปีที่แล้ว

    I can already tell this man is gonna be the next
    Dani, and this game is gonna go big

  • @robinkeuchel4596
    @robinkeuchel4596 ปีที่แล้ว

    You deserve every sub !! Great devlog btw

  • @Mekhel
    @Mekhel ปีที่แล้ว

    This already looks really good! I'm really excited to see the progress on this project!!

  • @jacobhenderson3908
    @jacobhenderson3908 ปีที่แล้ว

    Very impressive! ChatGPT is an absolute lifesaver. Looking forward to following the journey!

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว +1

      Thank you! Chatgpt is great

  • @nikt-wazny
    @nikt-wazny ปีที่แล้ว +1

    The man just got a few assets made a generator and now has a game 👍. Be sure to not take a lot of things at the same time so you won't burnt out your idea seems very likely for you to burn out rather quickly by it

  • @pravinshinde_9353
    @pravinshinde_9353 ปีที่แล้ว

    I love it so far interested to see the future 🙌🙌🙌🙌🙌🙌 all the best for the journey 🙌🙌🙌🙌

  • @azieg9ygeb
    @azieg9ygeb ปีที่แล้ว

    I like it! I think you should change the way that the roads are made so that they're not all rectangular plots of land. That works well for city and downtown areas, but It would be better for suburbs to be longer, continuous strips. I also think that the road size is a little too big, and that roads that wide should be used for potential highway areas instead.

  • @stratos2
    @stratos2 ปีที่แล้ว

    Wave function collapse might be an idea as an algorithm that could make the city more realistic and less random feeling

  • @nerdygeek9865
    @nerdygeek9865 ปีที่แล้ว

    Looks like me and you both, me and a friend just got started on a VR game and I think the concept is solid but a challenge

  • @adustyoldmuffin
    @adustyoldmuffin ปีที่แล้ว

    A good way to help and make the fog pop out less would be to make the streets not so straight so that way there's a good cut off as right now the player can see for a long distance so you have to render all of that distance. You might also look into chunk loading and in combination with the previous thing you can only load small chunks of the city at a time to make it smoother.

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว

      Good idea, I will have to look into it

  • @DePaula.Filipe07
    @DePaula.Filipe07 ปีที่แล้ว

    That's a neat idea! Really excited to see it come around!

  • @zezel3421
    @zezel3421 ปีที่แล้ว +1

    Hi, I don't know if you've already dit it, but for optimization you can check the GPU instancing checkbox on your materials. It basically avoid instancing same meshes multiple times. Good video !

  • @noahprincivil103
    @noahprincivil103 ปีที่แล้ว

    Can't wait for the future update!

  • @indianastilts
    @indianastilts ปีที่แล้ว +1

    At first I was going to say... Wow this is way too big scope for 1 person... Kept watching and got to know your skills and then just well... Wow great video, you have some fab skills and look forward to the devlogs coming.

  • @10Mymymymy
    @10Mymymymy ปีที่แล้ว

    Sick video, you should include links to the assets you use from the asset store! Some of them seem rly cool

  • @frederickfreund1957
    @frederickfreund1957 ปีที่แล้ว

    Exiting! Looking forward to the next vid :)

  • @hacostudios
    @hacostudios ปีที่แล้ว

    You could try and make the city fairly destructible, like allowing certain objects to be picked up and placed, aswell as buildings be destroyed, allowing players to almost rebuild the city or create a small base within a building or alleyway etc.

  • @StephenGlatfelter
    @StephenGlatfelter ปีที่แล้ว

    This is so good! Since you have different districts in your game, one idea might be to gain reputation within each district (good or bad reputation) which will compete with the rival gang as a score?

  • @StailloGaming
    @StailloGaming ปีที่แล้ว

    Good luck with your studies! I just graduated with my Bachelor's in CS & if ever feels difficult, just know that you got this & it's worth it! Nice devlog, can't wait to see the game come together 🔥

  • @GarnetKane
    @GarnetKane ปีที่แล้ว

    Looks great! Keep it up. Can't wait to see the progression

  • @SebastianGraves
    @SebastianGraves ปีที่แล้ว

    Since you're making a city, occlusion culling would boost your fps a bunch if done properly. Good luck with the project man.

  • @YujiYT
    @YujiYT ปีที่แล้ว +1

    Super hype! Subbed and liked 👍 😊

  • @woodsmanthepeasant
    @woodsmanthepeasant ปีที่แล้ว

    nice! i love procedurally generated stuff

  • @abdelbarimessaoud242
    @abdelbarimessaoud242 ปีที่แล้ว

    looking good my guy

  • @FlameIsExisting
    @FlameIsExisting ปีที่แล้ว

    This inspires me even more. Considering I will be going into software engineering for college this year

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว +1

      That's awesome! Software engineering is a great career path.

  • @Private_Duck
    @Private_Duck ปีที่แล้ว

    If you could pull that off its a nice idea for a game. But keep in mind that the scope of the this project is pretty big for a solo developer. But if you keep focusing on the main goal, you might be able to make this game a reality.

  • @nintenvlogz
    @nintenvlogz ปีที่แล้ว +1

    Lots of potential keep it up 👏

  • @Brosquini
    @Brosquini ปีที่แล้ว +1

    You should make it to where you can get a plane between procedurally generated islands in game

  • @ckwallace
    @ckwallace ปีที่แล้ว +8

    this is insane. honestly speechless by what you’ve been able to do so far. can’t wait to see your progress on it

  • @niuage
    @niuage ปีที่แล้ว

    That seems pretty ambitious!

  • @JamesMakesGamesYT
    @JamesMakesGamesYT ปีที่แล้ว

    Nice work, Octa!

  • @randompandemonium4823
    @randompandemonium4823 ปีที่แล้ว

    Interesting hope you keep making videos

  • @jokerkiller9590
    @jokerkiller9590 ปีที่แล้ว

    Looks nice. Adds a lot to replayability and uniqueness. As a suggestion for npc you add “Goal Orient Action Planning” or Radient Ai system used by games like Skyrim to make the world feel alive. Sundermead developer (Josephus) is also using it.

  • @supairo6539
    @supairo6539 ปีที่แล้ว +2

    Really cool idea I am interested to see how this project will keep going :)
    Though I need to mention it as I am working with Unity alot and have a Project that is in active development for multiple years now. Looking at your code its insanley nested. You should really try to get away from nesting everything this much so you will be able to tweak things in the code without having to learn your own code in a few months that happens way too fast sometimes :D

  • @automedi
    @automedi ปีที่แล้ว

    Im excited to see the outcome. I wish you luck on the journey!

  • @thepokelightningx5592
    @thepokelightningx5592 ปีที่แล้ว +1

    Make the city load and unload in chunks so that the performance can be better
    Also amazing work buddy keep it up..

  • @ChuckSploder
    @ChuckSploder ปีที่แล้ว

    For visuals, add low-level cell shading and a better skybox

  • @LittleMikeStarCraft
    @LittleMikeStarCraft ปีที่แล้ว

    Super impressive progress for the first dev log.

    • @bestgamedev
      @bestgamedev  ปีที่แล้ว

      Thanks, it's amazing what you can get done during a 2 week break from school.

    • @filiphedman4392
      @filiphedman4392 ปีที่แล้ว

      @@bestgamedev You should make assets yourself tho. It's hard being proud of things you didn't make.

    • @fluffyflamingo
      @fluffyflamingo ปีที่แล้ว +1

      @@filiphedman4392 to be fair, he should look at making/buying/commissioning/whatever his own assets once he has a solid idea and working prototype. Using pre-made assets is a fantastic way to not get overwhelmed by the sheer scope of a project. Who knows? Certain ideas or things in the world might change completely, and then the time spent making those assets is time that could've been spent on actual progress.
      And why can't he be proud of his current progress? Many people have the exact same assets without being able to do half of what @octa did. He can most certainly be proud of his own work, pre-made assets or not.

  • @ant21
    @ant21 ปีที่แล้ว

    Interested to see how this develops. I love the assets you're using, I've been using the same in some of my prototypes recently.
    There's another guy on here, Jimmy Vegas, who did an entire tutorial series on making a GTA clone. It might be a little too "beginner" for you, but figured I'd highlight it incase there's anything useful in there that might help you.
    Good luck!

  • @Docillamanilla
    @Docillamanilla ปีที่แล้ว

    looks cool! keep it up!