Turnip is my toy game engine that follows the principles of the "yet another" mentality.
Turnip doesn't have prebuilt binaries, so if you want to use it, you'll need to build it yourself. It uses Premake 5 to generate project files, but it has only been tested with Visual Studio.
To build this project, you'll need to install the following:
You may need to set these environment variables if they aren't automatically detected:
- Vulkan:
Set
VULKAN_SDK
to point to your Vulkan SDK installation (e.g., C:/Vulkan/). - Mono:
Likewise, set
MONO_SDK
to point to your Mono installation directory (e.g., C:/Program Files (x86)/Mono). You must also have .NET installed and properly configured - the project callsdotnet
commands internally. - Premake: Ensure the directory containing premake5 is added to your system's PATH.
If the SDK fails to include it automatically, you must provide an environment variable named VULKAN_SDK under VulkanSDK/<version>
. Additionally, you may need to add an environment variable to use premake5.
-
Clone the repository
git clone --recurse-submodules https://github.com/DatDarkAlpaca/turnip-engine
-
Generate the project If you're building on a Windows machine, you can use the build.cmd file to execute the Python script. This automatically calls premake, so you must specify the project file of your choice.
.\build <action: vs2022, vs2021, gmake, ...>
-
Compile the project Use the generated project files to build the project. After that, you should have a working copy under
turnip-engine/build/bin/{configuration}/turnip-editor
.)
This project is licensed under the MIT License - see the LICENSE file for details