Skip to content

Ne1gh-RR/Monofoxe

 
 

Repository files navigation

logo

What am I looking at?

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.

nuget View changelog

Last stable release

View Docs

Join Monofoxe Discord

Troubleshooting

Getting started

  • 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, select YourProjectName.DX (for DirectX) or YourProjectName.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 select Open 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.

What can it do?

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.

Can I use it in my p...

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.)

Should I use it?

yes

I have suddenly started loving foxes and want to contribute

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.

The foxes who helped

Troubleshooting

dotnet mgcb "..." exited with code

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.

Shaders fail to compile complaining about libmojoshader_64.dll

You're missing the MS VS C++ Redistributable for 2013. Download and install both x64 and x86 versions here.

About

Foxes made Monogame easy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.2%
  • Other 0.8%