Introduction
Maginy is an open source modular toolkit written in C#, maintained and overseen by Lobian, and created by the community. The goal is to concentrate the efforts of developers worldwide to create an opinionated codebase that’s flexible enough for creating a wide variety of applications, with clearly defined architecture and outlines.
This Wiki is meant as a starting point and reference for developers intending to use and contribute to Maginy, you can find more information on Lobian and the idea behind Maginy on the website, here’s a quick excerpt to give an idea of our purpose:
How many different times did someone write logic for a feature already created by another person, often times years before, often times in a similar or perhaps even better, more extensible way? In recent years we’ve seen the resurgence of “rogue-likes” and “rogue-lites”, in many different forms, often created by a sole person or handful of individuals, each simultaneously reinventing the wheel; items that modify the players stats, procedural level generation, dozens of variations of a “pick one of three” mechanic with the exact same core design principle. Each developer’s journey would have been eased significantly by having a stable and intuitive code-base to use as a jumping off point, if not ready to use game components, saving hundreds if not thousands of hours of headache and repetitive boilerplate, allowing for focus on the other parts of game development a person might enjoy more.
This is not a simple undertaking, requiring large amounts of planning, abstraction, continuous refactoring and field testing to get to a satisfying and versatile solution. How do we get the same core Entity to function as an enemy in an action rogue-like and a turn based card game? Should a “Projectile” ability component have a “maximum distance” variable, if many games would not use it? It will, above all, take a large amount of time and effort, but we think it’s something the world would benefit from, not only in the game development space, but in the greater application development ecosystem.
Where to next
Section titled “Where to next”Depending on your goals with using Maginy, any one of the below options are great starting points for further reading.
Getting started
Section titled “Getting started”While Maginy encourages contributions from developers of all skill levels, a decent understanding of the intended framework is required to effectively utilize Maginy’s capabilities. If you haven’t chosen a framework yet we recommend starting with Godot, due to it’s open source nature and being the primary target of Maginy’s implementation. More on frameworks and installing Maginy in each one go here. After installing Maginy you can check out the getting started page for further information.
Contributing
Section titled “Contributing”Maginy makes no distinctions between contributors and users, the idea is for any developer creating an application to be able to package their work into modules, and share it with the community. Due to this making contributing highly approachable, there’s a multi-step reputation process meant to function as quality control, while not discouraging anyone from submitting their work. Additionally, everyone is encouraged to suggest changes to any module or other part of the Maginy ecosystem, like this Wiki right here! Read more here.
Architecture
Section titled “Architecture”The primary purpose of Maginy’s architecture is modularity in every sense, from the organization of modules and submodules, code contained within and the documentation attached. We rely on high levels of abstraction and partials so as to allow for a wide range of use cases, and rely on the SOLID principles for a unified developer vision. To get an overview of Maginy’s architecture read more here.
Open Source
Section titled “Open Source”Maginy and all of it’s modules are released under the MIT license and hosted on Codeberg, while this documentation is meant only as a technical starting and reference point, we feel it important to emphasize the importance of open software and open collaboration.
Our priorities will always lie with the open source and global community, not with financial gain, as such we prioritize open source frameworks like Godot and .NET over closed source ones like Unity and Unreal. While our focus will always be the individual developer and end user, and so we will never punish anyone for choosing a specific tool, we urge you to help the collective community by using tools that have you as a priority instead of quarterly reports. More on our website.