mocha-engine / mocha

Mocha: A work-in-progress 3D game engine
GNU Lesser General Public License v3.0
53 stars 7 forks source link
cpp csharp game-development game-engine gamedev hotloading interop vulkan vulkan-game-engine


GitHub Discord GitHub issues Wiki

Mocha is a game engine that aims to (eventually) leverage modern graphics technologies to deliver high-quality visuals. It is equipped with a Vulkan renderer, a C# scripting system, and a hot-loading HTML/CSS user interface solution. In addition, Mocha offers a Jolt physics implementation and a physically-based shading and material system. The engine includes an ImGui-based editor for easy customization.

Mocha Screenshot

Key Features

Building the Engine

Prerequisites

Instructions

  1. First, clone the repository recursively with git clone --recursive https://github.com/mocha-engine/mocha
  2. Run Source/setup_x64.cmd if building for 64-bit (recommended), or Source/setup_x86.cmd if building for 32-bit.
  3. Once complete, open Source/Mocha.sln and build the solution.
  4. Run Host to start the engine and run SpaceGame.

Contributing

Contributions to this project are greatly appreciated; please follow these steps in order to submit your contribution to the project:

  1. Fork the project
  2. Create a branch under the name YourName/FeatureName
  3. Once you've made all the changes you need to make, go ahead and submit a Pull Request.

Style conventions are detailed on the Mocha wiki. In your pull requests, you should take care to ensure these style guidelines are followed closely.

Issues and Support

Feel free to open an issue if you encounter any bugs or problems, have any feature requests, or have any questions.

Free and Open Source

Mocha is an open source game engine distributed under the LGPL-3.0 license. This allows anyone to freely use, modify, and distribute the engine as they see fit. The development of Mocha is driven by the community, with the goal of creating a powerful and flexible tool that meets the needs of developers.

License

Mocha Game Engine
Copyright (C) 2023 Mocha Contributors
Copyright (C) 2022-2023 Alex Guthrie

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

This license allows you to distribute your games under whatever license you wish (as Mocha would be considered a Library), however modifying and distributing the engine requires full source disclosure.

A copy of this license is available at LICENSE.md.

Acknowledgements