Zenject
fungus
Our great sponsors
Zenject | fungus | |
---|---|---|
12 | 6 | |
2,332 | 1,548 | |
2.9% | 1.4% | |
0.0 | 0.0 | |
3 months ago | 12 months ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Zenject
-
I feel like I'm starting to develop a bad design behaviour. Am I using this because it is actually a good solution no my problem or just it is simple to execute even if not efficient? How do handle these kind of situations and how do you handle storing data you always need
You can try Dependency Injection with Zenject. It’s more complicated than singletons, but has many advantages.
-
Web dev trying to learn game dev, had some questions
I just noticed I forgot to link the resource collection 😅 so here it is: https://procgen.space/resources and while we're on links and I'm on a computer now instead of my phone, here's a link to zenject: https://github.com/modesttree/Zenject
-
Let's talk about the Dependency Injection Pattern! - Discussion
In Unity, there is the Zenject Asset: https://github.com/modesttree/Zenject
-
Best practice to avoid duplicate code
Mhhh I guess you could take a look at a dependency injection framework. https://github.com/modesttree/Zenject
-
It is a good idea to create a manager of managers?
Even better approach is to get rid of singletons with dependency injection. There are several frameworks for this, for example https://github.com/modesttree/Zenject.
-
Dependency injection in unity
Hello everyone! I love unity, it is a great game engine, but I always find myself back to the same architectural hurdles again and again. I used Zenject for several small projects, but I didn't completely like the approach it imposes. In order to improve on what I felt Zenject lacked, decided to make a dependency injection container that fit what I felt was necessary. https://github.com/PereViader/ManualDi.Main (core of the container, just c#) https://github.com/PereViader/ManualDi.Unity3d (extensions to improve usage in unity) As far as I know, dependency injection containers are not a very hot topic around the game dev sphere. Something I think is really not ideal for engineers, as I believe it greatly improves our productivity. What do you think of dependency injection in Unity? What do you think a dependency injection container should have for you to use them in your projects?
-
OMG! Design Patterns Are Awesome!!! If You Don’t Use Them - Start!!!
Zenject can be found here, and is a dependency injection (DI), which is also a design pattern.
-
Why use GetComponent() when I could just use [SerializeField] and link something in the editor?
If we are talking about bigger projects, then you cannot put everything into scene that's for sure. Also, creating a prefab for component that you want to inject is not the best option. Therefore, there are different solutions like Zenject.
- Does anyone else coming from a software background struggle with integrating unity into their design patterns? Are there any particularly good resources for how to write clean code with Unity?
-
How to establish proper communication/information links between various objects without too many dependencies or too many singletons?
Look into dependency injection, like Zenject. https://github.com/modesttree/Zenject
fungus
- Any way to make .asset files?
- Does anyone know any software to help plan a story with multiple paths?
-
Godot 4.0 will discontinue visual scripting
Visual scripting should be very high level and easy to extend by developers. I've used few inhouse tools along with stuff like Fungus and playmaker.
-
What platforms can I use to make a visual novel?
Unity with a plugin called fungus( it's made for that ) Homepage: https://fungusgames.com/
-
How do I start creating a 2D pixel-art dialogue visual novel game? (possibly with unity)
Remember seeing this (https://github.com/snozbot/fungus),I haven't used it though
-
TIL Ink Fungus Combo
The thing about Ink is its Unity integration is rather barebones. However, Fungus has a lot of dialog UI and other hooks, ready to be used. So what if Ink could be read by Fungus...it should be possible to parse/convert Ink into Fungus-Lua. I once converted a Ren'Py story into Fungus-Lua so converting Ink to Fungus-Lua should be doable. Fortunately this is not necessary because the Ink-Fungus Gateway exists! With it, a Gateway system is used to make both systems work with each other.
What are some alternatives?
Reflex - Minimal dependency injection framework for Unity
VisualNovelVisualizer - Visual Novel Visualizer - an experiment in writing Visual Novels and visualizing its flow
fluid-behavior-tree - Behavior trees for Unity3D projects. Written with a code driven approach on the builder pattern.
moonsharp - An interpreter for the Lua language, written entirely in C# for the .NET, Mono, Xamarin and Unity3D platforms, including handy remote debugger facilities.
di-framework - ↗ A Dependency Injection framework for Unity game engine.
godot-headers - Headers for the Godot API supplied by the GDNative module.
Entitas - Entitas is a super fast Entity Component System (ECS) Framework specifically made for C# and Unity
PokemonUnity - A LEGACY Unity project to help build Pokémon-esque RPG games.
GameDevTutorials - Houses various game development tutorials and resources.
ProceduralToolkit - Procedural generation library for Unity
Medicine - Code-driven component injection toolkit for Unity.
Godot-EventSystem - 🪧 An easy but powerful event system implementation for Godot Engine