Creating a custom tool plugin in Godot 4

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

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

  • @tomelders
    @tomelders 14 дней назад +2

    This is an amazing video. I keep coming back to it as I'm working on my own tooling and I've decided to lean into plugins for it because of this video. I've also installed your focus plugin and dived into that code to get more insight into how plugins can be used. It would be great to see more plugin related videos from you. The focus plugin alone is worthy of a video.

    • @octodemy
      @octodemy  13 дней назад

      Always happy to hear that.
      I was preparing to do another one after that but I ended up delaying it and forgot about it eventually.
      I might come back to it. There was still a couple of important things I wanted to talk about related to addons in Godot.

  • @ristopaasivirta9770
    @ristopaasivirta9770 6 месяцев назад +9

    Really good tutorial.
    Adding the undo-redo was really smart to include as it is often overlooked.

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

    I didn't know how easy it was to create a tool add-in, but thanks to this tutorial I can now use it with ease! Thanks for sharing! 👍

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

    fast concise and i love that you handles some issues like the reloading before they even occurred. I knew straight away what to do

  • @Asguardian22
    @Asguardian22 8 месяцев назад +7

    Really good video. I like that you went into depth on creating a plugin. Most videos just show how to create a plugin, but don't add any functionality. The Undo/Redo functionality and the ResourcePicker functionality are 2 features I didn't know how to implement, so Thank you!

    • @octodemy
      @octodemy  8 месяцев назад +1

      Thanks.
      Undo/Redo is a topic on its own, but I though I would at least cover the basics to let people know that it exists.

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

    Thanks to the undo/redo part of the tutorial, my plugin now supports undo/redo! Saved me some headache! :)

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

      Good to hear that. Glad it helped :)

  • @burski0954
    @burski0954 14 дней назад +1

    Loved the video. Entire tutorial has very nice pacing

    • @octodemy
      @octodemy  13 дней назад

      It's nice to hear that.
      Making the correct pacing is one of the things I often get wrong when making theses tutorial videos.
      (usually I make it too fast and without pauses between topics)

  • @PhylJoy
    @PhylJoy 4 месяца назад +1

    Thank you, man. This tip with color_picker have saved me hours during the game jam.

  • @njdarda
    @njdarda 8 месяцев назад +4

    your videos are awesome. this could easily be a companion video in the documentation.

    • @octodemy
      @octodemy  8 месяцев назад +1

      Glad that you liked it :)

  • @01lifeleft
    @01lifeleft 6 месяцев назад +2

    Just exactly what i want to learn, thank you so much! Instant subscribed.

    • @octodemy
      @octodemy  6 месяцев назад +2

      Thanks! Really glad to hear that :)
      PS: A good chunk of those cyclic errors type corruptions will be fixed in the upcoming 4.3 release.

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

    Very informative video. Thank you!

    • @octodemy
      @octodemy  7 месяцев назад +1

      Glad you liked it.

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

    Just awesome!

  • @Ralke1
    @Ralke1 8 месяцев назад +3

    very cool and easy . nice narrative

    • @octodemy
      @octodemy  8 месяцев назад +1

      Thanks :)

  • @JoSanInk
    @JoSanInk 6 месяцев назад +1

    you're a life saver
    thank you

    • @octodemy
      @octodemy  6 месяцев назад +1

      Glad to hear that.

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

    Part2 should talk about making custom nodes and icons. And viewport buttons!

    • @octodemy
      @octodemy  4 месяца назад +1

      I was thinking about talking about gizmos next.
      I always though custom nodes and icons were too simple for a full video, and viewport buttons is just using one of the special areas I've shown briefly in the beginning.
      But I might do that if I can think of a good example plugin interesting to implement and show in the video.

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

    how do I spawn a stone position by clicking the mouse directly into the terrain?

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

      You need to use a mouse raycast just like you'd do inside a game.
      You can use the camera.project_ray_origin and camera.project_ray_normal to find the mouse ray.
      If the terrain has collisions, everything should work fine.
      If it doesn't, you might need to do some extra things. I'm not sure how Godot does it internally to place nodes. Might need to check out the source later to find out.

  • @meeloks.1013
    @meeloks.1013 6 дней назад

    So that basically means I can make some sort of custom Godot Engine?

    • @octodemy
      @octodemy  День назад +1

      Sure, you can customize a lot with plugins.
      There is even a "Metroidvania-system" plugin that makes it really easy to make metroidvania games, with connecting zones and minimaps all working on a nice little graphical interface for you to create them.
      But plugins have their limitations too. Some deeper parts of the engine can't be accessed with them.
      To get full access to Godot core systems, you can use GDExtentions instead...
      They are basically plugins but made in C++ and can directly access some parts of the engine the usual pluins can't.
      For example, you can create your own nodes with their own code and behaviors without needing the node to have a script attached to them, like with gdscript custom nodes.

    • @meeloks.1013
      @meeloks.1013 22 часа назад

      @@octodemy Thank you for a detailed explanation!!

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

    hmmm