This is Monofoxe - a game engine based on the Monogame Framework. Its main goal is to greatly simplify working with Monogame and to provide basic set of tools enabling you to just create a new project and make a damn game without removing low-level access to the framework. Monofoxe took a lot of inspiration from Game Maker, so it should be a bit familiar to some folks.
-
Download and install Visual Studio
-
Open Terminal and type
dotnet new install monofoxe.template
-
To create a new Monofoxe project, open Terminal and type
dotnet new monofoxe -n YourProjectName
-
Open
YourProjectName.sln
in Visual Studio, selectYourProjectName.DX
(for DirectX) orYourProjectName.GL
(for OpenGL) project as a Startup project. -
If you get an error that looks something like
dotnet mgcb "..." exited with code
, right-click on the project you're trying to run, and in the dropdown selectOpen in Terminal
. Then in the terminal window run the following command:dotnet restore
-
Run the project and you're good to go!
You can also check out the basic feature demos or the Docs to learn the basics of Monofoxe.
Everything Monogame does, plus:
- Hybrid EC.
- Scene system (with layers!).
- Useful math for collisions and other game stuff.
- Lightweight collision detection.
- Easy animation from sprite sheets.
- Tiled maps support.
- Timers, alarms, cameras, state machines, tilemaps, foxes!
- Input management.
- Coroutines.
- FMOD audio support (As a standalone library).
- Enhanced content management via Nopipeline.
- Texture packing.
- Sprite groups and dynamic graphics loading.
- Graphics pipeline and automated batch\vertex buffer management.
- Hot reload (VS and Rider only).
Coming in the future:
- Animated tiles and infinite tilemaps from Tiled.
- Particle system.
- More detailed documentation.
- More foxes.
Yes. Monofoxe is licensed under MIT, so you can use it and its code in any shenanigans you want. Free games, commercial games, your own the-coolest-in-the-world engines - no payment or royalties required. Just please leave a credit. ; - ) (However, if you will be using FMOD, it has its own license, which is much less permissive than mine.)
yes
That's the spirit, but don't forget to check out Codestyle.cs before contributing!
You can contact me via email ([email protected]
), on Twitter or on Monofoxe Discord.
Your dotnet tools have failed to restore properly. Unfortunately, this tends to happen after MonoGame 3.8.3. You need to restore it by hand:
-
Right-click on the project you're trying to run (not on the solution), and in the dropdown select
Open in Terminal
. -
In the terminal window run the following command:
dotnet restore
or
dotnet tool restore
-
Try running the project again, this should fix the issue.
You're missing the MS VS C++ Redistributable for 2013
. Download and install both x64 and x86 versions here.