Godot 4.2 - In Depth Generator Tutorial (Beginner & Intermediate)

Поделиться
HTML-код
  • Опубликовано: 31 май 2024
  • Godot 4.2 - Idle & Incremental games tutorial : Generators
    Again, I'll be revisitting one of the core conceps of the channel : Generators. We'll go in depth with techniques which allow you to have a scalable generator. We'll also create a custome AdvancedTimer node which we will be able to edit in order to create more complex behaviors for the generator.
    Discord : / discord (Check channel description for updated link)
    Donate : paypal.me/SableSpiritStudio
    -----
    Chapters:
    00:00:00 - Intro
    00:01:03 - [Beginner] Create a basic generator scene
    00:03:07 - [Beginner] Script
    00:07:30 - [Beginner] Generator toggling
    00:12:20 - [Intermediate] Intro
    00:12:38 - Delocalise gold in a Data object
    00:13:40 - Create a Game node (root of the project)
    00:17:23 - Make Data a Resource (for saving & loading)
    00:17:50 - Delocalise generator functions in a Manager
    00:24:02 - Create a Gold Manager
    00:27:51 - Delocalise the Timer node in the Manager
    00:31:08 - Make each prototype's nodes responsible for themselves
    00:37:18 - Debugging example
    00:38:08 - Debugging solution
    00:38:55 - Simulate upgrades to increase generator power
    00:42:32 - Simulate an upgrade to change to Timer settings
    00:46:32 - Create an AdvancedTimer node
    01:04:31 - Fix the errors of the previous chapter
    01:06:25 - Improve the AdvancedTimer efficiency by handling the excess time
    01:11:04 - Add a speed property to the AdvancedTimer
    01:13:21 - Add a skip time method to AdvancedTimer
    01:22:20 - Outro
    -----
  • НаукаНаука

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

  • @comradechonky6328
    @comradechonky6328 17 дней назад +10

    what's a generator bro?

    • @mehrdaddowlatabadi2319
      @mehrdaddowlatabadi2319 17 дней назад

      It is like a gold generator 💰⛏️

    • @SableSpiritStudio
      @SableSpiritStudio  17 дней назад

      Passive resource generators 😄 Mostly for idle games, but anything works
      A basic example would be a mine generating X gold per seconds

    • @inculetbogdan
      @inculetbogdan 16 дней назад +2

      @@SableSpiritStudio This is how the video should've started then :)

    • @comradechonky6328
      @comradechonky6328 15 дней назад

      ​@@SableSpiritStudiowhy cant someone just do gold += 1 , or this is better somehow​

    • @SableSpiritStudio
      @SableSpiritStudio  15 дней назад

      @@comradechonky6328 scalability