Building my indie game: one month of progress

Sdílet
Vložit
  • čas přidán 17. 03. 2022
  • gameplay? who needs it? i don't.
    TWITTER: / jdah__
    PATREON: / jdah
    GITHUB: github.com/jdah
    EDITOR: NeoVim
    THEME: gruvbox
    RESOURCES:
    en.wikipedia.org/wiki/Entity_...
    0fps.net/2012/06/30/meshing-i...
    learnopengl.com
    opengl-tutorial.org
    shadertoy.com
    stackoverflow.com
  • Věda a technologie

Komentáře • 435

  • @jakehuang3545
    @jakehuang3545 Před 2 lety +1259

    I don't think your video editing skills gets talked about enough. The fact that you can make a 10+ min video on in-depth programming architecture and design cool and compelling and hip-hop even makes you stand out so much from the rest of the field.

    • @questwalkerko
      @questwalkerko Před 2 lety +55

      "I don't think your video editing skills gets talked about enough"
      *continues to not talk about video editing skills*

    • @arial_01
      @arial_01 Před 2 lety

      so true!

    • @oagalthorpe
      @oagalthorpe Před 2 lety +1

      The text color change for week 4 that went along with the beat drop was dope

    • @arial_01
      @arial_01 Před 2 lety

      @@oagalthorpe Yah fr it was lol

    • @arial_01
      @arial_01 Před 2 lety +1

      @Zark Hussain lmfao you are right, it is so much more, but u gotta admit his editing is damn good

  • @Kubmayano
    @Kubmayano Před 2 lety +324

    This man has so much computer knowledge and looks handsome af, what a dream

    • @JayeDidAThing
      @JayeDidAThing Před 2 lety +1

      10/10 would smash

    • @elxde0
      @elxde0 Před 2 lety

      jdh stands for jSuper dFucking Hot

    • @cartoonfantasy4541
      @cartoonfantasy4541 Před 2 lety +6

      where are the replies? They won't load

    • @sussy_bka_winston
      @sussy_bka_winston Před 2 lety +2

      I dunno

    • @rungeon83
      @rungeon83 Před 2 lety +41

      I'm straight and even I can say he's stupidly good looking and crazy smart... and on top of it?! Funny... If I was a girl I'd be a total fangirl.

  • @Tantandev
    @Tantandev Před 2 lety +226

    This voxel style and the method to generate them is mind blowing to me
    I have never seen such a thing, super cool!

  • @twomur_
    @twomur_ Před 2 lety +338

    the editing is so clean and easy to follow! love the game progress and your style of videos keep it up!

  • @NickMorozov
    @NickMorozov Před 2 lety +351

    Shit, I've spent a week on making a camera follow a Unity's capsule in a non vomit inducing way. This is impressive! Keep it up!

    • @jdh
      @jdh  Před 2 lety +150

      we all gotta start somewhere!

    • @puppergump4117
      @puppergump4117 Před 2 lety +30

      I've spent a week trying to get a neural network to work. It can currently act like an OR operator. For week 2 I hope to make it act like an XOR operator.

    • @vincviertytaccount2608
      @vincviertytaccount2608 Před 2 lety +34

      @@puppergump4117 Way to go. Before you spend too much time on a unsolvable problem: Neural networks without hidden layers (i.e. just input and output layer) are mathematically incapable doing XOR with most activation functions.

    • @souls.7033
      @souls.7033 Před 2 lety +19

      Since we're all talking about what we did in 1 week, well I've been eating, sleeping, shitting and watching youtube. uhh yhhh ...

    • @puppergump4117
      @puppergump4117 Před 2 lety +12

      @@vincviertytaccount2608 Don't worry, I first tested the net by adding a few million neurons and many hidden layers. Now I'm just repeatedly watching statquest and trying to get the math down.

  • @finndotbin
    @finndotbin Před 2 lety +22

    W-wait, he made a follow up video like he said he was!?! Impossible!

    • @jdh
      @jdh  Před 2 lety +11

      don't get used to it!

  • @hopperstreams4487
    @hopperstreams4487 Před 2 lety +175

    See, it wouldn't be this difficult with a pre-existing game engine but jdh is also a fucking legend for the sheer amount of NIH content

    • @Official_KC
      @Official_KC Před 2 lety +6

      I'm always interested in people who go this route, instead of using something like Unity. I'm not saying they're wrong! Just curious about the motivation. It's like if someone wants to learn guitar, and they go out and chop down a tree for wood, melt some iron ore down for strings and frets, etc. But everyone has their hobbies and interests of course!

    • @deistormmods
      @deistormmods Před rokem +7

      @@Official_KC Your analogy doesn't really make sense. I don't see how building your own engine is akin to wanting to learn guitar despite doing x things that are unreleated. It seems like to me, he is passionate about game development but at the same time, wants to understand how exactly his favorite games are made (which mind you use their own proprietary engines). Hope that makes sense.

    • @Ready4Whatever
      @Ready4Whatever Před rokem

      @@deistormmods his analogy made perfect sense. I don’t get how you didn’t get it Lmaoo wtf

    • @deistormmods
      @deistormmods Před rokem +4

      @@Ready4Whatever Because learning a guitar and chopping wood are two completley unreleated things. Whereas making your own game engine will give you more skills and knowledge about how a game engine like Unity works and will also help you in the job market. No one's saying you should do that if you just wanna make games. I don't see how you didn't comprehend the disconnect.

  • @DOHandDOH
    @DOHandDOH Před 2 lety +18

    The entity component part is basically a conclusion to go with **composition over inheritance**. Worth reading about for any dev (not only game dev).

  • @Dacaspex
    @Dacaspex Před 2 lety +40

    Your video style is really unique and truthfully enjoyable to watch

  • @yeppiidev
    @yeppiidev Před 2 lety +232

    ah yes this is what I call quality content. and btw another video idea:
    creating a browser from scratch

  • @gooball2005
    @gooball2005 Před 2 lety +10

    love your video style man

  • @jbritain
    @jbritain Před 2 lety +10

    Those trees actually look really awesome, I love the visual style of this.

  • @gooball2005
    @gooball2005 Před 2 lety +15

    yo can you make a playlist of the music you use in your videos?

  • @historvical6062
    @historvical6062 Před 2 lety +2

    Your editing is so good!! I'm here struggling with blueprints and c# in unreal and unity and you there are making your own game engine!! Kudos to you man!

  • @theocrob
    @theocrob Před 2 lety +1

    I literally have been checking my notifications and your channel every day to see if you uploaded. Thank you for creating such amazing content that drives me to this madness!

  • @shmyrdejean4935
    @shmyrdejean4935 Před 2 lety +3

    Honestly, these videos are amazing. I usually don't comment on videos but the work you're able to do always shocks me. Keep up the great work, can't wait for the next update.

  • @philo8380
    @philo8380 Před 2 lety +1

    I absolutely love your art style. The game has such incredible potential. Please keep working on it. Your videos are so great!

  • @ducky1681
    @ducky1681 Před 2 lety

    Love your videos, the minimalistic and clean editing, the nerdy, nitty-gritty details, everything! At this point, I'd say upload more often, but videos like yours take time to make.

  • @orlaani1451
    @orlaani1451 Před 2 lety +2

    I get amazed by the work you are doing while making the games, most of the time I can't really tell what's happening, but at least it inspired me get into gamedev(yet with unity). Also I love your editing style, and the fact that you put StackOverFlow as a whole into the resources section.

  • @1..1..1..1H
    @1..1..1..1H Před 2 lety +22

    I really want to see what he could make with a game engine.

  • @Armetron
    @Armetron Před 2 lety +80

    Man this looks amazing and I love to see the process/troubles your encountering
    I have a few questions:
    At 10:55 you started mentioning about the particles that appear when you chop a tree and that you wanted to have 1000 particles which was not possible, are you running your particle system on the GPU? or are each individual particle it's own entity that the CPU needs to work on? Same question for the leaves of the tree are they individual entities handled by the CPU?
    My other question is what platforms can your engine run on? I ask because thanks to the introduction of the Steam Deck I predict that Linux gaming will start to take off and perhaps consoles will start to make their own Linux distros in the future. That's why when I see someone making their own engine I ask if it can run on Linux.

    • @jdh
      @jdh  Před 2 lety +66

      (for now) the leaves are one mesh that are rendered by the model manager for all tree entities through instance rendering - the renderer/entity system are (relatively) decoupled in this way :)
      Particles are individual entities (also for now) because I wanted to be able to maximally control their behavior (collision, movement, etc.) in these early stages of development. Will for sure be considering GPU-based particle systems later on, but for now it’s not worth the time when I don’t have a clear spec of what the system needs to be able to do. also it isn’t a bottleneck (yet).
      The engine is extremely cross platform! It uses BGFX which can run on Vulkan/Metal/OpenGL/DirectX and the rest is just some stdlib-depending C++, so as of right now there are no limits on platform. Though I imagine some things would have a to be (minimally) changed were I to start targeting windows, Linux, etc.

    • @1..1..1..1H
      @1..1..1..1H Před 2 lety +18

      Amogus

  • @SKarboy_4
    @SKarboy_4 Před 2 lety +9

    A video idea : program a programming language and program a game in it

  • @kurdtcoben
    @kurdtcoben Před 2 lety +1

    Holy shit, that looks *a m a z i n g*! Definitely keeping an eye on your channel, even though my brain is waaaay too smooth to understand at least half of what you're talking about! Keep it up, brother!

  • @joiscode3832
    @joiscode3832 Před 2 lety

    I love the little programing jokes like they are a nice touch

  • @jasonnikolic
    @jasonnikolic Před 2 lety

    Subscribed. You're doing things from the ground up which honestly is a super valuable angle for learners.

  • @Dremth
    @Dremth Před 7 měsíci +1

    Always remember: memory is cheap, time is not. If you can precompute something and store it in memory, do it. I'm hoping that's what you did with your leaf placement when you said you optimized it. Because even the 5ms algorithm can stay inefficient if you just use it to precompute the data. You'll save time on having to optimize code, and then your leaf placement will scale as fast as your memory bandwidth (which is about as scalable as you can ever hope for). And if randomization is your concern, you can still precompute enough random variations to fit in even a single cache line such that you would never notice a pattern. So, unless you managed to get that 5ms algorithm to like double digit MICROseconds with a full world of trees, just use a few extra KB of memory and have them precomputed!

  • @uncleSmeller
    @uncleSmeller Před 2 lety

    Your videos always leave me inspired to work on my side projects!

  • @unnamedblack2920
    @unnamedblack2920 Před 2 lety +9

    Greate video thanks. I think the OOP approach for this inheritance problem is Strategy Pattern. Basically implement the behaviour example "Fly" and inject to the class the kind of implementation you want (PlaneFly, BirdFly... etc) and even at runtime you can change the behaviour if you want.

    • @deistormmods
      @deistormmods Před rokem

      You should never use inheritance either way.

  • @mehceunisen
    @mehceunisen Před 2 lety

    dude I've never waited to someone to post a video or any kind of post, but little do you know, I was waiting for an update from you! Keep up the good work.

  • @Asdayasman
    @Asdayasman Před 2 lety +2

    Can't wait for you to go from EC to ECS, whereby you move the logic off each component and into systems which act on sets of components. It makes the components WAY more composeable, brings literally all of the performance benefits (you don't get those with logic per component), and is really interesting to think about and design barriering and system execution dependency trees.

  • @czytp9787
    @czytp9787 Před 2 lety +9

    Remember the tetris os ? It would be really cool, if you would make a operating system with ONLY c++ and Assembly without a single line of C code. BUT just to run the Minecraft Clone.

  • @Skeffles
    @Skeffles Před 2 lety

    Awesome to see how far you got in the month!

  • @drjankenstein
    @drjankenstein Před rokem +2

    i love how you use the chad meme next to yourself...its the same person

  • @Gabriel-nf8eb
    @Gabriel-nf8eb Před 2 lety

    this is amazing. the sheer skill you have.

  • @smellthel
    @smellthel Před 2 lety +1

    Those trees look wicked dude

  • @am3049
    @am3049 Před 2 lety +1

    If your goal is to make a successful video game and you achieve that by making a game that lots of people will willfully give their free time to then you've made it. Nobody is going to care about the fact this guy made his own engine this is an exercise in procrastination if the goal is truly to make a dream passion project video game but evidently it's about getting views on a youtube video and receiving praise from random strangers on the internet. Great job you did in a month what someone could have done with an engine in a day.

  • @DerNivel
    @DerNivel Před 2 lety

    I just love the animation of the trees.

  • @ypaut
    @ypaut Před 2 lety

    those trees are so very lovely

  • @Dth091
    @Dth091 Před 2 lety

    Fantastic video, great editing and very lucidly presented! One point though, your issue with OOP is with building inheritance hierarchies (trees of is-a relationships). Composition where an object's dependencies are data members not bases, combined with strong separation of concerns is way cleaner than some complex polymorphic structure and is definitely a strongly OO design.

  • @tobafett2873
    @tobafett2873 Před 2 lety +1

    I reckon a short blast of all the leaves from a tree as its destruction particle animation would look pretty sick (assuming such is not already in the works)

  • @elxde0
    @elxde0 Před 2 lety +1

    man was actually eye candy the whole time

  • @SebastianGraves
    @SebastianGraves Před 2 lety

    A man making a game without an engine. Clicked for the interesting topic, stayed for the beautiful hair and clean editing. Subbed.

  • @eboatwright_
    @eboatwright_ Před 2 lety

    Looks really great! I love the trees :)

  • @smellthel
    @smellthel Před 2 lety +1

    Dude so far this game looks really cool.

  • @georgecop9538
    @georgecop9538 Před 2 lety

    You inspired me to make my own game engine and OS. Keep up with the good videos!!!

  • @coolman36kmaway34
    @coolman36kmaway34 Před rokem

    These trees are so good !!

  • @ashersaipe
    @ashersaipe Před 2 lety

    nice video! I enjoyed it thoroughly. can't wait to see more progress on this game :))

  • @divine203
    @divine203 Před 2 lety +15

    Man ur the reason coding interviews are hard

  • @fuseinabowl
    @fuseinabowl Před 2 lety

    The voxel generation from the sprites looks really interesting, I love learning about making tools like that.
    While I was watching some bits I didn't like how the code in the background had loads of very distracting autocomplete windows flickering open and close (e.g. 3:48). I think I'd like it better if this was more muted or maybe paused altogether while the vid's focusing on something else.
    Very promising, I'm looking forward to seeing more of this!

  • @stevenjlovelace
    @stevenjlovelace Před 2 lety

    Can't wait to play this one day!

  • @tresdoug
    @tresdoug Před 2 lety

    That's the coolest video I've watched in a while!!

  • @nini700
    @nini700 Před 2 lety

    you know what, I'll enable the notifications just for you, I'm annoyed that youtube doesn't recommend your videos as soon as they are uploaded. Thanks for the quality content ♥

  • @filipw1432
    @filipw1432 Před 2 lety

    So fun to see yet another video of yours! You should check out the indie-game Equillinox. From the little you said it seems to have similarities in the gameplay mechanics, and it's quite the gem if you ask me!

  • @zanebecker-byrd436
    @zanebecker-byrd436 Před 2 lety

    Your videos are very easy and intresting watches. Keep up the good work!

  • @nitrogenez
    @nitrogenez Před 2 lety +6

    I recommend you to make player and mobs models way cooler by making them stretch in-out a little when they're moving.
    this will make world more alive. urw.

  • @b3at1
    @b3at1 Před 2 lety +1

    You should consider changing tree opacity while the player is under it, that way you can see the character still

  • @jackawaka
    @jackawaka Před 2 lety

    i gotta say, those trees are gorgeous

  • @StiekemeHenk
    @StiekemeHenk Před 2 lety

    You did get a ton of work done, its more than enough

  • @JonathanJardine
    @JonathanJardine Před rokem

    You've rediscovered composition over inheritance. Good job. :P also inheritance and polymorphism are two different things.

  • @giack.peretti
    @giack.peretti Před 2 lety +1

    Love your vids, it's really awesome to see the great progress you are making.
    Btw can you post an updated neovim config please?

    • @jdh
      @jdh  Před 2 lety +2

      I’ll see about getting all my dotfiles out at some point on GitHub :) it’s a little more complicated now since I’ve moved to NeoVim’s lua config so things are split up across multiple files now :/

  • @Gwilo
    @Gwilo Před 2 lety +4

    me commenting on how good the 12 minute video is after 1 minute of it being uploaded

  • @kernel0verflow919
    @kernel0verflow919 Před 2 lety +6

    I really feel like that you are the most advanced developer I follow on CZcams. Especially after your mindblowing TetrisOS Video, which was just amazing to look at the logic behind. Keep that good work up!

  • @TitanLordofPizza
    @TitanLordofPizza Před 2 lety

    Looking great!

  • @nopilpl
    @nopilpl Před 2 lety +1

    Great video!

  • @FunNooberCodingForBeginners

    In case anybody is interested the "hacker" graphics at the intro of the video is a command line tool called Hollywood. Good video as always

  • @ik2254
    @ik2254 Před 2 lety +1

    1) This man is better than most of us at programming.
    2) This mans is better looking than EVERYONE of us by A LANDSLIDE (at least 99,9%)
    I feel like a failure

  • @_JS96
    @_JS96 Před 2 lety

    0:15 so relatable it hurts

  • @DidiMoto
    @DidiMoto Před 2 lety

    Hi jdh!
    Can you make a video about your setup, editors and configurations that you are using? It would be very interesting to see.

  • @melody_florum
    @melody_florum Před 2 lety

    if you want some inspiration for "generative pixel art", Celeste makes heavy use of it. most of it is hand-drawn but there is also a lot of dynamic stuff like Madeline's hair, flags, wind, and a bunch of other effects.

  • @PuffyRainbowCloud
    @PuffyRainbowCloud Před 2 lety

    Literally the other day I saw an ad on TikTok for a game where you restore flora and fauna to an ecosystem... But I bet your programming is more interesting and impressive!

  • @disconnect7
    @disconnect7 Před 2 lety +1

    This "3d like" behavior of 2d objects looks cool.
    4:05 i never seen before so cool 2d flying leaf animation. I wanna see how this leaf fly away from garden leaf blower.

  • @kumboi
    @kumboi Před 2 lety

    Week 3 was my favorite

  • @bluecrystalstudio402
    @bluecrystalstudio402 Před 2 lety

    Very nice! Good job.

  • @harmitchhabra989
    @harmitchhabra989 Před 2 lety

    Hey, as usual ❤️❤️❤️ lovely video! Got late this time 😅 but loved it!

  • @riccardopalleschi
    @riccardopalleschi Před 2 lety

    Man is packing some serious hardware

  • @abhishekmaurya8330
    @abhishekmaurya8330 Před 2 lety

    Bruh You are my inspiration For real ❤️❤️🙏

  • @unlxck3255
    @unlxck3255 Před 2 lety

    I just love your videos.

  • @markos9644
    @markos9644 Před 2 lety

    Looks good bro

  • @tmbarral664
    @tmbarral664 Před 2 lety

    ECS... discovered it last year, thx to covid. Had a blast with this. Wrote an arkanoid clone. Very nice and well suited for game.

  • @rickseiden1
    @rickseiden1 Před 2 lety

    This video makes me happy I don't have the creative skills to come up with a game idea that I would want to try and code.

  • @poklop_
    @poklop_ Před 2 lety

    looking good man

  • @elbbepp
    @elbbepp Před 2 lety +1

    ECS seems fun but i've never been able to wrap my head around it no matter how much I try.

  • @__8120
    @__8120 Před 2 lety

    After 1 month your game is still further along than some finished indie games I've seen

  • @qwoolrat
    @qwoolrat Před 2 lety

    glad to say I've been here since 2k

  • @gerhard_adler
    @gerhard_adler Před 2 lety

    Love your videos!

  • @iamgabrielsoft5891
    @iamgabrielsoft5891 Před 2 lety

    This is just awesome 👍, your coding skill is good

  • @centenarium
    @centenarium Před 2 lety

    BABE WAKE UP JDH DROPPED ANOTHER DEVLOG

  • @Steerable6827
    @Steerable6827 Před 2 lety

    Nice htop + cmatrix combo

  • @gachastorys5129
    @gachastorys5129 Před 2 lety

    Jdh, implementing Importing the whole Unity Hierarchy, gameobjects, entity component system

  • @IB0RjA131I
    @IB0RjA131I Před 2 lety +2

    Oh no! another CZcamsr suffering the "do your game engine from scratch" fever. Hope this one does not lose his mind.
    Just kidding, great video jdh! Digging your editing skills :O

    • @IB0RjA131I
      @IB0RjA131I Před 2 lety

      @dk bruh hahahahaha for now I am addicted to see their videos, but who knows...

  • @nahuelpaillapi
    @nahuelpaillapi Před 2 lety

    This looks very cool

  • @blahblahh4958
    @blahblahh4958 Před 2 lety

    Great work, keep it up m8

  • @purplemosasaurus5987
    @purplemosasaurus5987 Před 2 lety +3

    I started game dev by using the Godot game engine, but I just can't use game engines, I prefer to make my own game logic because that's easier for me, right now I'm using python to make my first original indie game, its a top-down RPG. I have got the player controls working and I've also added a goblin which walks randomly.

    • @astroid-ws4py
      @astroid-ws4py Před 2 lety

      Try maybe using Nim instead, it is like Python but 30x faster and compiles down to C and C++ and has direct access to C and C++ libraries

    • @purplemosasaurus5987
      @purplemosasaurus5987 Před 2 lety +1

      @@astroid-ws4py Thanks, but I'm fine using python. I'll try Nim sometime else.

  • @eggpoison5182
    @eggpoison5182 Před 2 lety +1

    Great video! Also have you considered making the tree leaves partially transparent when the player is under them?

    • @basedSkeleton
      @basedSkeleton Před rokem

      Or, outlining the player, or giving them an arrow like GTA 2.

  • @Lorkin32
    @Lorkin32 Před 2 lety

    That tree is goddamn gorgeous

  • @laustkreibergfricke4707

    Nice flowers and tree

  • @atk4227
    @atk4227 Před 2 lety +2

    Would be cool to see some sort of implementation of anti-aliasing

  • @Tristoo
    @Tristoo Před 2 lety

    improving the movement of the character would make this a whole lot better. also I don't think he needs to be a block if your trees have actual geometry that's also not just blocks. great video!

  • @petermuller608
    @petermuller608 Před 2 lety

    This is quality content

  • @_russkiy
    @_russkiy Před rokem

    hey nice video, really liked it good luck with your game.
    also what Ide do you use to code?