sdslabs / Rootex

An advanced C++ 3D game engine powering an in-production game yet to be announced
https://rootex.readthedocs.io/
Other
217 stars 34 forks source link
3d bullet-physics c-plus-plus cpp17 dear-imgui directx directx-11 engine game gamedev lua openal physics rmlui

Rootex

MIT License C/C++ CI Documentation Status Discord

Contents

What is Rootex?

Rootex is an advanced C++ 3D game engine powering an in-production game yet to be announced. The game will finally ship on Windows and use DirectX 11.

Find the upcoming features and the game's public Trello board here!

Features

Why is Rootex?

Rootex is the direct successor of Rubeus, our 2D Game Engine. Rubeus Engine is not being maintained and is being preserved. Newer features will only be planned for Rootex. The game being developed will be announced soon as well.

How do I use Rootex?

Rootex runs only on Windows and there are no plans to port it to other platforms.

  1. Install Visual Studio 2022 or Visual Studio 2019, CMake build system.
  2. Install Visual Studio Desktop C++ development pack (or anything similar, since C++ is no longer a default language since at least Visual Studio 19)
  3. Run generate_cache.bat /22 for VS 2022 or generate_cache.bat /19 for VS 2019.
  4. Use build.bat to build Rootex.

Assets Workflow :

  1. Assets are stored in separate repositories and added as git submodules. The testing assets are stored at https://gitlab.com/sdslabs/rootex-assets while the assets for the game are stored at https://gitlab.com/sdslabs/rootex-game.
  2. The assets.bat script has two subcommands to make switching of the submodules between the testing and game repository easier. Use assets.bat assets-test to switch to the test repository and assets.bat assets-game to switch to the game repository. The submodule will have two remote urls set. The origin points to the HTTPS url while upstream points to the SSH url.
  3. You can also add your own repository as an assets submodule. Use assets.bat assets-custom <url> for that. If setting a custom url, use an HTTPS url here and then set an SSH remote afterwards.

WARNING : Running assets.bat will delete the game/assets/ folder. Be sure to backup any unsaved progress before running it.

Now you can start reading the documentation and build games on Rootex!

NOTE: If you get the error dxgidebug.dll not loaded while opening the Rootex Editor, install Graphics Tools by following this guide.

How can I contribute?

Read here to know our contribution guidelines. Join our Discord server or optionally ping us at chat.sdslabs.co to get guidance. You can start with setting up Rootex on your Windows machine and try solving a few bugs listed here: https://github.com/sdslabs/Rootex/issues

License

This project is under the MIT license. See THIRDPARTY.md for thirdparty license notices.