Home

Awesome

<p align="center"> <img src="https://github.com/user-attachments/assets/b32837d0-d6e4-453c-8c1c-8502b2255bc8" width="512" /> <br> <a href="https://github.com/mocha-engine/mocha/blob/master/LICENSE.md"><img alt="GitHub" src="https://img.shields.io/github/license/mocha-engine/mocha"></a> <a href="https://discord.gg/SDP4R6Wsza"><img alt="Discord" src="https://img.shields.io/discord/1051715074043150336"></a> <a href="https://github.com/mocha-engine/mocha/issues"><img alt="GitHub issues" src="https://img.shields.io/github/issues/mocha-engine/mocha"></a> <a href="https://wiki.getmocha.org/index.php/Main_Page"><img alt="Wiki" src="https://img.shields.io/badge/wiki-click%20here-blue"></a> </p>

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