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

Ғылым және технология

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Ай бұрын

    what's a generator bro?

  • @mehrdaddowlatabadi2319

    @mehrdaddowlatabadi2319

    Ай бұрын

    It is like a gold generator 💰⛏️

  • @SableSpiritStudio

    @SableSpiritStudio

    Ай бұрын

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

  • @inculetbogdan

    @inculetbogdan

    29 күн бұрын

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

  • @comradechonky6328

    @comradechonky6328

    28 күн бұрын

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

  • @SableSpiritStudio

    @SableSpiritStudio

    28 күн бұрын

    @@comradechonky6328 scalability

Келесі