THIS is what gamedev is actually like.

Поділитися
Вставка
  • Опубліковано 25 кві 2024
  • hey we're two brothers trying to make it as indie game devs.
    welcome to the family.
  • Ігри

КОМЕНТАРІ • 207

  • @rapushkaa
    @rapushkaa Місяць тому +642

    i really love this quote, "the code does what you tell it to do, not what you want it to do."

    • @BrosMakeGames
      @BrosMakeGames  Місяць тому +55

      painfully true

    • @bupza
      @bupza Місяць тому +6

      I am writing this down.

    • @kaiiboraka
      @kaiiboraka Місяць тому +8

      "Do as I think, not as I say!" 😂

    • @charg1nmalaz0r51
      @charg1nmalaz0r51 28 днів тому +2

      I always joke with my wife that the codes doing what i'm telling it to do and not what i think i'm telling it to do.

    • @DJL3G3ND
      @DJL3G3ND 23 дні тому +7

      except those few occasions where it ACTUALLY happens to be an engine bug which leaves you doubting every problem you ever run into from that point

  • @grass324
    @grass324 Місяць тому +259

    >Looks at debugger
    >11717 errors

    • @null6482
      @null6482 29 днів тому +5

      Too little, i have half a million

    • @chefaku
      @chefaku 26 днів тому +22

      better than having a bug and not getting any errors 💀

    • @null6482
      @null6482 26 днів тому +2

      @@chefaku good pfp btw

    • @chefaku
      @chefaku 25 днів тому +8

      @@null6482 my picture reflects the nature of the human being. how some can be white, normal and good and others are bl...

    • @rungeon83
      @rungeon83 22 дні тому +7

      I make sure I have 0 errors/warnings, even making if I'm not using delta to rename it _delta, silly I know, but when your game does break it's very easy to resolve it.

  • @lemonlimebitta8903
    @lemonlimebitta8903 20 днів тому +47

    I feel like as a game dev I’m just jumping from ‘I’m a genius!’ To ‘I’m an idiot’ on repeat

  • @GuyMakeGame
    @GuyMakeGame Місяць тому +61

    Game dev in a nutshell
    “If I do (xyz) that should fix it”
    **multiply problem by ten**

  • @pydude13
    @pydude13 Місяць тому +182

    idk why but this is the gamedev content I enjoy the most

    • @BrosMakeGames
      @BrosMakeGames  Місяць тому +18

      that's great to hear, thanks!

    • @gphr5987
      @gphr5987 Місяць тому +5

      Maybe bcuz it's actually realistic 😂

    • @vaiterius
      @vaiterius Місяць тому +1

      me too! super relateable

    • @damsen978
      @damsen978 23 дні тому +2

      Because he perfectly puts it into perspective the experience of an average game developer.

  • @question_mark
    @question_mark Місяць тому +87

    of course its the random_in_circle

    • @sjoerdev
      @sjoerdev Місяць тому +8

      its such a simple function, how can anyone possibly have bugs related to it?

    • @ultimaxkom8728
      @ultimaxkom8728 Місяць тому +22

      @@sjoerdev The _random_in_circle_ is perfectly fine. It's just not the _random_walkable_in_circle_ the human _actually_ wanted.

    • @FifthOfNovember_Original
      @FifthOfNovember_Original Місяць тому +1

      There’s always one random in the circle

  • @FloatingOer
    @FloatingOer 17 днів тому +7

    "Do what I want, not what I tell you!"

  • @McRaptorRex
    @McRaptorRex Місяць тому +85

    Next step: add enemy ricochet off of walls on death.

    • @BrosMakeGames
      @BrosMakeGames  Місяць тому +30

      YES, on my to-do list.

    • @naalex9058
      @naalex9058 Місяць тому +7

      ​@@BrosMakeGames I'd be pretty easy, just keep collision with walls on, then on contact reflect velocity along normal of the wall. The formula for reflection is something like
      r=d−2(d⋅n)n
      where r is the resultant vector, n is the reflection vector (in this case the walls normal), and d is the input vector (velocity)
      Oh and d⋅n means dotproduct or dot(d,n)

    • @rungeon83
      @rungeon83 22 дні тому

      @@naalex9058 A much easier way would to use the bounce method of the vector2 class, so the example I wrote a while back so will be flawed but still works. I have a room with 4 staticbody2d walls as bounds, then a characterbody2d ball that I set off at vector2(0.5,0.5) and the code in the characterbody2d is as follows:
      extends CharacterBody2D
      var dir : Vector2 = Vector2(0.5,0.5)
      func _process(delta):
      velocity = dir * 10
      var Collision_Data = move_and_collide(velocity)
      if(Collision_Data):
      dir = dir.bounce(Collision_Data.get_normal())
      figured this might be interesting for anyone others reading.

    • @nubunto
      @nubunto 22 дні тому

      @@naalex9058 nice! godot has a method called "bounce" on Vector2 that does exactly this! so basically get the collision normal with move_and_collide (if using Kinematic/CharacterBody2D), check if collided, and bounce along the collision normal

  • @NachitenRemix
    @NachitenRemix Місяць тому +20

    Little advice for you all folks. Sometimes you just need to take a REAL break (away from you phone AND computer), and then ideas will flow more easily. Creativity needs energy, and energy needs rest.

    • @fk3239
      @fk3239 4 години тому

      Fucking REAL. I was recently trying to solve a problem with jumping while on a slope. It would essentially bank and I think also multiply the vertical acceleration, spent a few days on it, couldn't figure it out and was getting really frustrated. Took a few days off of it because life stuff, came back, solved that shit immediately with barely any thought.

  • @thegameguy208
    @thegameguy208 Місяць тому +10

    “Ok I just had an idea”
    *starts murdering*

  • @bluemonkey189
    @bluemonkey189 Місяць тому +18

    obviously the enemy is just really stupid

  • @robertwallace5498
    @robertwallace5498 21 день тому +3

    I feel your pain brother, this is like therapy. And the excitement/relief once it works is unparalleled

  • @user-ek2jc1xf3y
    @user-ek2jc1xf3y Місяць тому +13

    help me step player i'm stuck

  • @henrystickmin8812
    @henrystickmin8812 Місяць тому +6

    Alternative title: "I didn't know birds couldn't pass through walls"

  • @IamNewbo
    @IamNewbo Місяць тому +29

    Bro this is so true! Sometimes tho the entire system is just broken and then you have to remake it over and over again or add stuff until it's just right realizing its only a smol thing u missed lol. Bro epic vid

    • @1BucketOfChicken
      @1BucketOfChicken Місяць тому +2

      you mentally hurt my by reminding me that ive rewritten stuff so many times just to realize i, for example, divided by delta instead of multiplying it, plus instead of minus, wrong values and other stuff like that

    • @poleve5409
      @poleve5409 27 днів тому +1

      rewriting parts of your game mutliple times is natural and a good thing.

  • @Zethneralith
    @Zethneralith День тому +1

    This is probably the most relatable video on anything software dev I've ever seen. Bravo!

  • @ince55ant
    @ince55ant 24 дні тому +2

    "its my fault, but i dont know why"
    sometimes i think i took up game dev for similar reasons i see a therapist

  • @franciscobernardo95
    @franciscobernardo95 Місяць тому +5

    of course its the state machine

  • @Math_Mage_9869
    @Math_Mage_9869 Місяць тому +2

    accidentally became woodpeckers

  • @rowleskids
    @rowleskids Місяць тому +8

    The video is 2 minutes but this process usually takes about 2 hours 💀

  • @patek2385
    @patek2385 Місяць тому +4

    They are just dancing.

  • @nickhurst7493
    @nickhurst7493 21 день тому +1

    I love these short little tid bits of devlogs. Super fun to watch!

  • @_MrMen_
    @_MrMen_ Місяць тому +2

    This is so relatable, and describes a lot of the issues I encounter.
    I'm subscribing.

  • @paulimriss
    @paulimriss Місяць тому +2

    I'm really scared of people that don't solve the debugger errors

  • @ghostradiogames
    @ghostradiogames Місяць тому +12

    I'm trying to pay attention but I can't get past your insane amount of rising debugger errors.... you gonna uh...you gonna check those? D=

    • @BrosMakeGames
      @BrosMakeGames  Місяць тому +15

      if you don't look down there they don't exist.

    • @ultimaxkom8728
      @ultimaxkom8728 Місяць тому +6

      @@BrosMakeGames 100% working strat. I used this exploit to escape the IRS and the kids. It's also extremely milk-compatible.

  • @d34drat
    @d34drat 25 днів тому +2

    you need a rubber duck...

  • @LookjaklooK
    @LookjaklooK Місяць тому +2

    That's why it's important to be aware of our assumptions we made on how we think things supposed to work. And then test those assumptions by tweaking values and debugging, until we reach to the fault in one of our assumptions that we need to fix. In this case, the assumption that the destination is within the reach of the duckies.

  • @RKIOrbMage
    @RKIOrbMage Місяць тому +4

    Really nice bitw sized vid, please make more :D

  • @3PlayerGaming
    @3PlayerGaming Місяць тому +11

    Having worked in the games industry for over 5 years now, can confirm, it happens to even the most experienced of us.
    Having said that... I actually think the game engine should warn you when you trying to do something that doesn't make any sense... like telling the nav agent to navigate to a point outside the nav mesh. Because then the problem would have been obvious way earlier, and you wouldn't have spent hours blindly debugging.

    • @iantrolington6594
      @iantrolington6594 4 дні тому

      The problem was obvious just looking at it without even reading the code. And there are plenty of examples where you could make use of navigating between collision layers. The fact that you say these things and say you have been doing this for 5 years is just baffling.

    • @NihongoWakannai
      @NihongoWakannai 2 дні тому

      The code is producing thousands of errors which he never looks at...

  • @DanPos
    @DanPos 16 днів тому

    Excellent video that really captures the frustration of programming haha. Another is when something doesn't work you change some stuff out of desperation, and it works, but you don't know exactly what you did to fix it or what the problem was, and then you just move on with your life

  • @THExRISER
    @THExRISER 9 днів тому +1

    Feels good when it does work.

  • @scroopynoopers9824
    @scroopynoopers9824 17 днів тому

    "as usual the problem was me and my stupid brain"
    I felt that

  • @DivideBy0YT
    @DivideBy0YT Місяць тому +5

    as a new, learning gamedev, i can 100% confirm

  • @Robomobius_Art
    @Robomobius_Art 10 днів тому

    Absolutely. What's worse is when there's multiple different single points of failure.

  • @simplexeon
    @simplexeon Місяць тому +1

    missing: 12 other attempts that were SURE to work

  • @aztecagames
    @aztecagames Місяць тому +3

    Yup! The hard part is figuring out where it went wrong. 99 percent of the time it's an easy fix. This is looking great btw

  • @thekingscrown8931
    @thekingscrown8931 Місяць тому +1

    Something similar happened to me not too long ago. I'm currently making a zombie game where the player is stuck in a grocery store and has to use whatever they can survive incoming waves of zombies. Now I put together a multiplayer system, difficult at first but ultimately didn't give me many issues, shelves so that the players can store items ended up being insanely easy, zombie movement and spawning I was able to do with my eyes closed. But, the wave mechanic, the one thing I thought was gonna be so simple I could probably get a monkey to do it, ended up taking me a week to figure out. Turns out throwing rpc calls everywhere is NOT a good idea and I was basically calling an rpc call with an rpc call, so the system that handles zombie tracking wasn't accurately tracking zombies because of it.

  • @CrispyDaFrog
    @CrispyDaFrog Місяць тому +1

    now just repeat this process multiple times per every time you want to change anything whatsoever

  • @nobenx
    @nobenx Місяць тому

    Your code is so clean! I could never

  • @foreducation408
    @foreducation408 Місяць тому +3

    Yup that's game dev in it's purest form.

  • @donkeykong315
    @donkeykong315 18 днів тому

    Literally me every time I add a feature with any slight complexity.

  • @mylordbibbles8498
    @mylordbibbles8498 4 дні тому

    That debugger is going CRAZY LMAO

  • @cmorellato
    @cmorellato 20 днів тому

    This is an awesome way of teaching!

  • @taylorfisdboss5200
    @taylorfisdboss5200 6 днів тому

    This really is a great look into the gamedev experience.
    1. You encounter a problem - and you really aren't 100% sure why it's happening.
    2. You take a guess at what the problem is.
    3. You implement a "fix" to try to correct it.
    4. You correct the issues created by step two and scrap the "fix"
    5. Repeat steps 3 and 4 until you want to rip your hair out or you accidentally enter step 6.
    6. You spot the actual problem, realize you're an idiot, and solve it in two or three easy attempts.
    7. You regain *almost* all of the sanity you had before the problem occurred.

  • @AtelicDev
    @AtelicDev 22 дні тому

    The solution sounds so simple, but one has to first come up with the idea! Also, awesome editing!

  • @3ustin
    @3ustin Місяць тому

    This is such a great example of everyday life in game development. Thanks so much for the commiseration.

  • @umar7812
    @umar7812 Місяць тому +6

    where's the part when you say
    IT TOOK ME HOURS TO FIX THIS!!!

    • @charg1nmalaz0r51
      @charg1nmalaz0r51 28 днів тому

      probably in a later video when he finally fixes it. Based on his debugger tab at the end his codes still broken lol

  • @bungercolumbus
    @bungercolumbus 20 днів тому

    You can notice this in more than just game dev. I am in my final year in school and sometimes I get really stuck at some pretty easy math problems. And I just can't wrap my head around them to find the solution for some reason. It feels the same I swear to god.

  • @Ryuko15
    @Ryuko15 Місяць тому +2

    i want to applause for your problem solving skills, not the fact that is impressive, but you got through it. Congratulations man!

  • @savagekid94
    @savagekid94 Місяць тому +1

    its what I love most about development. it stresses me out but i love it

  • @slipperynickels
    @slipperynickels 17 днів тому

    would love a video about your state machine implementation, specifically how it decides which action to take

  • @bromodo2773
    @bromodo2773 20 днів тому

    I have that "if I'm right" statement soo many times lol

  • @aaronmarsden120
    @aaronmarsden120 11 днів тому

    I was terrified there would be a glitching NPC at the end of the video

  • @lebobshark
    @lebobshark 20 днів тому

    The conclusion is always “I’m the biggest idiot of all time.”

  • @vladulay8762
    @vladulay8762 6 днів тому

    Recently I tried to implement something new and the hitbox collisions from a test print didn't show up. But I already had set up something similar before, so I got really confused. I didn't find anything on Google about my issue, so I spent hours on recreating a minimal setup to try ro find out what was different in those cases. It got worse there, since I didn't seem to be able to recreate the old setup. After a while I got frustrated and just played around for a bit, when I realized that no print messages at all show up. Which is the point where I found out that I accidently disabled the debugger messages in the engine. I didn't even know I could do that, but whelp. I was so relieved, but it didn't even feel that satisfiying :D

  • @UltraViolentYT
    @UltraViolentYT Місяць тому

    Very informative videos, really tell us how to solve problems instead of quitting the project and starting a new one.

  • @snagfeather
    @snagfeather Місяць тому +1

    Great video! I feel this so much. Yesterday was 30 minutes figuring out that my code should've been in `_physics_process` and not `_process`.

  • @NagoTheCat
    @NagoTheCat 11 днів тому

    Really love your use a Kirby sound effects.

  • @TomInbound
    @TomInbound 18 днів тому

    This is incredibly accurate! Great video! The struggles are real 😭

  • @Gerardheime
    @Gerardheime 19 днів тому

    If you had some sort of debug visualization of the wanted destination, you would've solved that in a jiffy. That's why debugging tools are so important.

  • @IlSharmouta
    @IlSharmouta 14 днів тому

    "I'm the biggest idiot"
    Ah the sound of progress

  • @Nezarus0
    @Nezarus0 17 днів тому

    Accurate. I was playing with creating islands with proc gen, and reasoned I needed to make elevation fall off sharply along the edges of my map, leaving an island. My first try somehow smasheed all 800 pixels of 'terrain; into the top line of the window and made the rest ocean...Turns out I'm stupid, like everyone else. Felt really great to finally figure out what stupid thing I had done, which was totally forget to iterate over one axis for most of the process, resulting in my strange 1 row of x data.

  • @Wesley1996J
    @Wesley1996J Місяць тому +3

    Just do what I do everytime give up!

  • @smoresgobbo
    @smoresgobbo 5 днів тому

    As a new godot user (just shifted from Unity after 6 years) it’s amazing to see there is a state machine system for me to explore. Those tend to make programming a lot simpler and now I don’t have to create it myself LOL

  • @KlausbergerYT
    @KlausbergerYT Місяць тому

    Take this subscription, Sir. Many know those moments! 💙
    (even though they are often much longer, till one tries to evade the situation... going to the bathroom.... doing laundry...)

    • @BrosMakeGames
      @BrosMakeGames  Місяць тому

      we humbly accept your sub, thank you!

  • @JayFolipurba
    @JayFolipurba Місяць тому

    What I like is, when you follow a tutorial and the code is as 1:1 as it can be, but for them it works and the same code on your computer just says nope

  • @roadtripwarrior
    @roadtripwarrior 15 днів тому

    dude your brilliant dont call yourself stupid my man i am impressed by your skills. I've been doing coding for 2 years and 90% of that time seems to be fixing errors haha. at least thats what my teacher said it usually is and he said thats normal.

  • @FindTheFun
    @FindTheFun 13 днів тому

    Ahh yes, the tried and true method of "make it smaller then bigger and see if that gets you anywhere".

  • @onceisdrawing
    @onceisdrawing 7 днів тому

    Programming is me telling my lovely wife, "i'm fine, thanks", her becoming upset for 2 days, me trying to understand wtf i just said, finally realizing it was our birthday and i forgot about it.
    But every day.

  • @noiseworks
    @noiseworks 15 днів тому

    Superstition is a huge part of development for me

  • @jipcoumou4935
    @jipcoumou4935 25 днів тому

    true, also loveit when you think your code is broken but then after 30 min you see that you disabled a script for testing :)

  • @erniebeasley8521
    @erniebeasley8521 13 днів тому

    This video brings great pain and suffering

  • @mrreemann8313
    @mrreemann8313 9 днів тому

    Still stuck in the stage of "I don't know what I just copy pasted but it is/isn't working."

  • @Kolbiathan
    @Kolbiathan Місяць тому +1

    how do you get you collision shapes to look pixelated? kinda fun that they match the sprites! Fire vid man, I know these feels

  • @linux5min
    @linux5min 10 днів тому

    My dudes... this is software development in general... it just be more visual and fun in games... or frustrating instead of fun...
    writing code is the single thing that humbles me every day...

  • @MichaelDub
    @MichaelDub 7 днів тому

    ayyy u use the same state machine architecture that I learned!
    shaggy dev for the win

  • @atomiz2002
    @atomiz2002 23 дні тому

    this would never have been a time consuming issue if your gizmos were correctly displaying that the targets are inside the walls...

  • @thomlaurent
    @thomlaurent 18 днів тому

    In Unity you can sample a position on the navmesh from a point you give, so you can random in circle then ensure it's inside the navmesh.
    The only problem with this approach is you can still ask for an impossible move if the navmesh of the target is not connected to the one your character is on, but that's a tricky case that's unlikely to happen I guess 😅

  • @Korn1holio
    @Korn1holio 23 дні тому

    Just wanted to comment on your 'game' looking charming, the toad protagonist and these little guys just crack me up for some reason

  • @AIAdev
    @AIAdev Місяць тому

    Every. Day.

  • @the_procrastinator8606
    @the_procrastinator8606 Місяць тому +1

    Just wait until you get to the Context Based Steering Behaviors part... Now thats actually the true game dev experience

    • @Korn1holio
      @Korn1holio 23 дні тому +1

      Just been there... I overcame it but oh my brain...

    • @the_procrastinator8606
      @the_procrastinator8606 21 день тому

      @@Korn1holio dw, you'll spend a few more months tweaking it for the 100th or so time until it kinda feels right and performant 💀

  • @Hemmels
    @Hemmels 5 днів тому

    What's worse is when you actually understand everything. You spend ages debugging the complex logic, get right to the end, and it's a display issue. Output text instead of formatted text. I'm not bitter.

  • @Rikaisan
    @Rikaisan Місяць тому +1

    That game looks really cool! :3
    Birb exterminator

  • @kadenfrfx
    @kadenfrfx Місяць тому +2

    do you think you can do a tutorial on how you make the lighting pixelated instead of being smooth?

  • @DenysShust
    @DenysShust 24 дні тому

    Instantly subscribed ❤

  • @badhasher
    @badhasher Місяць тому

    Haha I love this, the enemy navigation can be such a nightmare!

  • @AlessandroMencarini
    @AlessandroMencarini Місяць тому

    As an experienced software developer dipping my toes in gamedev, this constantly happens in “classic” software engineering too

  • @635574
    @635574 Місяць тому

    For a development version of the game cosider also visualising their actual trget and not just the navmesh they are sticking to.

  • @DJL3G3ND
    @DJL3G3ND 23 дні тому +1

    true, although I only wish I could stay as calm as this
    also is there some pixel filter going on or is the spinning crosshair actually animated? seeing pixels rotate always slightly bugs me so its nice to see here it looks as it should

  • @kronksstronkstonks6360
    @kronksstronkstonks6360 17 днів тому

    Game development is problem solving and you are the problem - me to myself every time I try anything and it inevitably doesnt work.
    Best piece of advice my Computer Science lecturer gave my class was "If you write code and it works first time, it doesnt work, you just haven't come across the issue yet."
    Best piece of damn advice Ive ever gotten in an educational setting.

  • @NachitenRemix
    @NachitenRemix Місяць тому

    This is what most people dont see nor understand, the real struggle you get sometimes with bugs. And, its not always your fault. The worst feeling is finding an engine or language limitation that simply cannot acomplish what you want, and then you have to code a workaround youself, thats painful. But worse still is thinking you found an engine limitation, when it was just a PEBCAK issue lmfao.

  • @daviio
    @daviio Місяць тому

    1:27 its always obvious like this but it always happens

  • @soumyadebnath3614
    @soumyadebnath3614 15 днів тому

    Yeah this is what happens with me all the time... Recently I was working on my game and the enemy was getting stuck in the scene's global position and not the camera... Then I saw the problem I was setting the position to global myself... That had to be only position not global... Good to know I am not alone.... 😅

  • @kristapspurinsh
    @kristapspurinsh 15 днів тому

    yes , But ! enemy still renders in when they are behind wall , your vision :D

  • @yazeedgamer5296
    @yazeedgamer5296 21 день тому

    Dude, can you do a tutorial on how you aim with the mouse?
    I have been trying for hours to mimic that behavior but with a joystick for my game.

  • @Talonkratt
    @Talonkratt 18 днів тому

    Knowledge is Power, once yiu understand why things work, you'll know why they aren't, it a journey and most can't walk a mile

  • @ThatExplo
    @ThatExplo Місяць тому

    this is so fucking real honestly. 10/10

  • @benc8738
    @benc8738 27 днів тому

    Oh man this is totally like half of game dev for me! 😆

  • @NurolMusa
    @NurolMusa Місяць тому

    you've got a subscriber for life here!

  • @naniwerner9095
    @naniwerner9095 Місяць тому

    0:30 Debugger (11717) LMAOO💀

    • @luazul_
      @luazul_ Місяць тому

      just like me fr