#ReuseLogic Nexus for Godot 4.2 - Make it once, use it forever!

8 messages · Page 1 of 1 (latest)

high zealot
#

Make it once, use it forever!

That’s what my Advanced OOP Solution, ReuseLogic Nexus for Godot 4.2 provides you. Based on Observer Pattern, Mediator Pattern, Singleton Pattern, and “Signal-Driven” State Machines, this addon is all you need to “Object Orientalize” your projects, reducing the amount of code needed, enabling you to reuse your modules/objects/systems in all your projects with almost no modification.

Sounds like a bold, unbelievable claim, right? Why not test it? It’s free, and a YouTube Tutorial Series is in production right now to help you understand how the addon is supposed to be used. But before that, let me share a little bit of history…

I’m a Unity user migrated to Godot. The systems implemented in ReuseLogic Nexus is what I had created in Unity long before. But when I was about to run my YouTube Channel and share my Unity OOP Solution, the Unity pricing scandal happened, and I tried Godot for the first time in my life.

The OOP structure of Godot, and its dependency on the Observer Pattern, made it much easier for me to recreate my OOP Solutions into a much neater product. Godot signals were all I needed to fulfill “the dream”.

Let’s get started:

Addon Download Link (currently tested on Godot 4.2):
https://github.com/whilefree/ReuseLogic-Nexus

YouTube Tutorial #1:
https://www.youtube.com/watch?v=Zl3vo9aSKlY

YouTube Tutorial Series:
https://www.youtube.com/playlist?list=PLfOCVzuzqIWiPY5Rh8GpzP_DyLA3--cvg

NOTE: This is a preview version of the addon. Don’t base your actual projects on it (yet). When I officially publish it to Godot AssetLib, you are safe to use it in real projects. However, I couldn’t find any bug and it seems to be working perfectly.

The addon is tested on Godot 4.2. Supporting the older versions is not a priority for now.

Thank you for your great support. Have a great Object Orientalization... 😉

GitHub

Advanced OOP Solution for Godot 4.2 Created By while(free): https://www.youtube.com/channel/UCaJIIbzfjGXgevsXnwuFARg - whilefree/ReuseLogic-Nexus

Make it once, use it forever! In this tutorial you learn how to use ReuseLogic Nexus, my Advanced OOP Solution, to make a character controller in Godot 4.2. A minimal knowledge of State Machines is required to understand what is going on in the video.

ReuseLogic Nexus is a free Godot 4.2 addon which, if used correctly, reduces the amount of cod...

▶ Play video
void karma
#

Hello, i just discovered this. I watched the tutorial #1 and i am wondering what are the use cases for this addon?

high zealot
#

Hi there.

I give you a quick answer here, but after reading this, I suggest you to watch my YouTube Playlist. Link at the end of this message.

As projects grow in size, managing the dependencies between objects/modules/systems can turn into a terrible mess. There are 2 types of dependencies:

1- Between different objects in the level
2- Between different modules inside the same object

To handle the first one, you should not depend on string literals, function names, etc. So any kind of:

if object has function do something
if object.name is something do something

Must be prevented. Otherwise your code won't be reusable in other projects, and also a change in the game structure may break the dependencies.

ReuseLogic Nexus has a System, called the Sender/Receiver System which I haven't covered yet. It solves the many-to-many dependencies, ,killing any need for the if else statements I mentioned above.

For the second problem, the object structure must be broken into reusable modules, and the Brain System you saw in the Tutorial is the tool to do that. The Signal-Driven State Machine is one aspect of the Brain System. Having a list of valid signals of the whole object/system helps you to modularize your object into reusable chunks, but that's also a subject I haven't covered yet.

The concepts I discussed above are better explained in my Godot 4 OOP Game Design Pattern series. Here's the link (11 videos):

https://www.youtube.com/watch?v=-sU2MzYo0BQ&list=PLfOCVzuzqIWjTtL96wrjBIJ7l5G6TPTbt&pp=gAQBiAQB

My editing style is quick and straight to the point; if you feel you need more time to digest the information, just pause the video or slow it down at key moments of the videos.

Feel free to ask any other questions you might have. 🙂

Here I share my first impression on Godot 4. As a Unity user I decided to give it a try, because so many people were talking about it. I must admit that I’m impressed by its lightweight and straight to the point structure.

This is the first video in a series of videos on Godot 4, and I’m gonna share my experience with you guys so you learn the ...

▶ Play video
void karma
#

I see, thanks for the explanation

round vortex
#

This is interesting

high zealot
#

Quick Update:

Here is the second tutorial where I demonstrate the hierarchical aspect of the State Machine in ReuseLogic Nexus:

https://www.youtube.com/watch?v=xIE0RvCvjr0

This addon will change your life as a game dev. Trust me. 😉

Let's examine the hierarchical aspect of ReuseLogic Nexus State Machine. This is the second part of a series where I show you what you can do with my Advanced OOP Solution for Godot 4.2.

Tutorial Beginning File: (Tutorial Completed File in the pinned comment)
https://www.dropbox.com/scl/fi/slvq0eoo0fojl3tce5np3/example-001.zip?rlkey=2i1uylf8f1d...

▶ Play video
high zealot
#

It feels so weird to reply to your own post when nobody seems to be even looking at it. But here is an update:

The project is now shared on github, and here's a new tutorial, demonstration the "sender-receiver" system of ReuseLogic Nexus. It helps you decouple your objects/systems.

https://www.youtube.com/watch?v=svABWNiuOcY

Leaving replies here encourages me to boost up my production speed. 😉

You are using has_method to make the player interact to the items... And this sucks! In this video we'll create pickable items using the Sender-Receiver System of my Advanced OOP Solution for Godot 4.2: ReuseLogic Nexus.

Tutorial Beginning File: (Tutorial Completed File in the pinned comment)
https://github.com/whilefree/CharacterController-bas...

▶ Play video
rain haven
#

Keep up the good work 👍🏽