12 Tips to Boost Your Godot Game's Performance

Поделиться
HTML-код
  • Опубликовано: 27 дек 2024

Комментарии • 41

  • @G4M5T3R
    @G4M5T3R 2 месяца назад +33

    TIL you could just offload the entire physics process to another thread with just a tick of a checkbox.

    • @ran_ver
      @ran_ver 2 месяца назад +13

      A small forewarning for anyone thinking of using this option as of the current date (Oct 2024), multithreaded physics still has some bugs that cause issues with fundamental features and can cause crashes.

    • @Interference22
      @Interference22 29 дней назад +2

      ​@@ran_ver Additionally, it restricts physics API access to only the physics process. So, for example, if your input function did a raycast whenever you click the mouse, it would throw an error with multithreading turned on as it MUST be done in the physics process instead.

  • @Ralke1
    @Ralke1 2 месяца назад +4

    awesome tips, mostly are trully hidden and you showed us, thanks for sharing!

  • @JiaqiYang-ss2ui
    @JiaqiYang-ss2ui Месяц назад +3

    Do I need to implement soft collision myself or are there some functions and plugins I can use

  • @Biokompott
    @Biokompott 11 дней назад

    Thanks. Useful!

  • @Kiyuja
    @Kiyuja 2 месяца назад +7

    I had no idea Godot had Rust support. I always used C# but if getting Rust to work isnt a huge hassle then I'm all in

    • @5minutemovies977
      @5minutemovies977 2 месяца назад +3

      Godot has bindings for many other languages, so if you know rust, you're in luck. There's no way such a popular language doesn't have a decent plugin

    • @Kiyuja
      @Kiyuja 2 месяца назад

      @@5minutemovies977 After the video I looked up the Godot Docs and indeed it has scripting support for other low level languages, it actually surprised me. Only "annoyance" is gonna be setting an external editor up for it, I really wish there could be an in-editor approach but oh well, its not a total deal breaker, I'd take the Rust performance any day!

    • @akatsukilevi
      @akatsukilevi Месяц назад +1

      As someone that has used Rust on my project but switched to C#: Not everything is supported, and some stuff can end up being rather limited. It is good to use, but be aware of the trade-offs and the entire thing still being WIP

    • @Kiyuja
      @Kiyuja Месяц назад

      @@akatsukilevi thats very good to know, thank you! Integrating non-GDScript in Godot is always kinda annoying as the editor doesnt have native support for other languages. I personally would love to avoid C# for games as apart from the Async/Await implementation it adds a lot of overhead. Ideally I'd use Bevy but I really like having an actual editor with an UI hmm

  • @Idkikdhdnbd
    @Idkikdhdnbd 2 месяца назад +11

    7:04 wtf is that sound

    • @aSinkingShip
      @aSinkingShip Месяц назад +1

      Probably telephone message

  • @powertomato
    @powertomato День назад

    As of 4.4 Jolt will be part of the engine, so no more downloading. You just need to switch it in the project settings

  • @davidj3048
    @davidj3048 2 месяца назад

    Great video! Will try some of it out!

  • @revimfadli4666
    @revimfadli4666 2 месяца назад

    I'm making an evolution simulator where I'd need to enable fats forwarding the physics sim. I'm thinking of manually ticking it multiple times per frame. Are there other optimisations possible outside ones in this vid?

  • @snowhornetYT
    @snowhornetYT 28 дней назад

    what songs did you use in the background?

  • @RhevoRamirez
    @RhevoRamirez 26 дней назад

    thanks my friend

  • @P434-m9u
    @P434-m9u 2 месяца назад

    i have 300 instantly enemy spawn with 5 different attack pattern every 0.1 second and locking it at 400 enemy max.. is it good ?

    • @AzaIndustries
      @AzaIndustries Месяц назад

      Bump those numbers to 1000 for a worthy test.
      Then run the profiler and see where it goes.

  • @SirBartolomew
    @SirBartolomew 2 месяца назад +3

    Does Jolt still perform better than default in 4.3?

    • @rodolfolorote9059
      @rodolfolorote9059 2 месяца назад

      It does

    • @dsmeckt2283
      @dsmeckt2283 2 месяца назад +1

      Probably will until godot version 100.1

    • @thefufuu3157
      @thefufuu3157 2 месяца назад +1

      it does but not in all cases ... i have a 3d scene with around 400 colission bodys both physics give up

  • @cheesymcnuggets
    @cheesymcnuggets 2 месяца назад +4

    Heyo sorry be that guy but it really does irritate my misophonia, maybe just export the audio file to audacity, drop the decibels by a comfortable margin (this removes noise and the quiet breaths) and for deep breaths, tongue clicks and etc, you do kinda just have to analyse the patterns on the audio visualiser thingy, to help differenciate where you start sounding words from where the noise spikes begin and cut it out milliseconds before you start sounding the actual words. It takes a bit of time but it good practice. It's been years since I made any videos but im guessing there might be software or AI now that could help with this process if you cant be bothered but i have no idea if there is. I mean you don't have to do any of this, i still watched and enjoyed the video regardless, catering to people with misophonia probably isnt if worth the effort if you're a busy person but just thought id put it out there.
    Anyways, i really want to learn all those deeper under the hood optimisations people do to turn their limit of 3,000 entities into 300,000 but it seems so scary, it's almost like it's spaghetti but in another dimension. Like normal spaghetti code is 2 dimensional but adding scripts in other languages and messing with servers and all that other nonsense is 3 dimensional spaghetti and it can't not be spaghetti whereas 2 dimensional spaghetti is completely avoidable but 3 dimensional spaghetti is a consequence of programming outside of gdscript and the engine. I will give an exception to shaders because theyre kinda their own thing, unless of cause you write a shader that literally needs external programming to function... that stuff might as well be 4 dimensional spaghetti jk

  • @635574
    @635574 2 месяца назад

    I tried to setup my character-body2D enemies with tweens between their movement and only updating move and slide every 10th frame, while it works it does not result inthem actually colliding. Only running the move and slide every 10 frames works for now as I really needed to 10x the perf for basic playability with 200 enemies(that are also capped with a backlog), keeping it until I decide on more labor intensive optimisation after I put in all the core features of my horde game (holocure but a satirical game where you switch with multiple characters)

  • @IsaacLobaoCerejo
    @IsaacLobaoCerejo 2 месяца назад

    great video, thanks

  • @NexusBaum
    @NexusBaum 2 месяца назад

    Is Jolt still needed in 4.3?
    I thought, it was build into the engine...

    • @igorthelight
      @igorthelight 2 месяца назад +2

      Yep - it's still needed.

    • @wikittywhacktv
      @wikittywhacktv 18 дней назад

      best case scenario, it will be integrated in godot 5.0

  • @Dreadkrisz
    @Dreadkrisz 2 месяца назад +1

    Good video, thanks for the info, but I couldn’t finish because of all the mouth noises. You might need to change mic settings, filters, or position it better.

  • @treysonsearle8441
    @treysonsearle8441 2 месяца назад +3

    Firebelly udemy course?

  • @UocLv
    @UocLv 2 месяца назад +12

    When editing your video, please start by cleaning up the audio track. Remove any inhales, lip smacking, or other distracting sounds. I'm not a fan of mouth sounds, and it makes it difficult for me to enjoy the video.

    • @DeepDiveDevelop
      @DeepDiveDevelop  2 месяца назад +2

      Thanks for the feedback, I'll try to clean it up better in the next one. I didn't catch a lot of them editing without my headphones

  • @umapessoa6051
    @umapessoa6051 2 месяца назад

    1 - Stop using Godot 😂

    • @Terra_Blade
      @Terra_Blade Месяц назад

      fuck you mean stop using godot?
      this is a godot video, what are you doing here? are you lost?

  • @RoddieH
    @RoddieH 21 день назад

    Keep grinding that content out - you deserve more followers and you will get them. Can't wait to watch your take on FSMs next!