-
Notifications
You must be signed in to change notification settings - Fork 2
Prerequisites
Currently the Green Tea engine can be run only on Windows Platforms (and it has been tested only Windows 10). Additionally games that made with this is Engine also target Windows as their Platform.
Green Tea and it's projects are using premake5 in order to generate the necessary project files. Thus you will need to have downloaded and be able to run premake from the command line before you start building and using the Engine. You can download a prebuild binary either from their webpage or the github page.
After you have downloaded the latest prebuild binary you need to setup the appropriate enviroment in order to able to run the premake from the command line:
- Open File Explorer.
- Right Click: This PC and Select: Properties.
- Click: Advanced system settings.
- Click: on the button Enviroment Variables.
-
Add to variable: Path the path to your local copy of premake5.exe .
- If the variable Path doesn't exist create it by pressing the New... button.
If you need more information about how to use premake I will suggest you looking at their documentation.
You will neeed a modern C++ compiler with support for C++17 as well as Windowns API calls. The recomended version of Visual Studio (see bellow) should be covering you.
In order be able to run the Engine you must first download and build the source code yourself. Because of this it's recommended to install git. Since it will make the procces of dowloading the current as well as the future versions much easier. You can dowload the installer from their webpage.
If you want to learn more about how git works they are a lot of great resources online, as well a very in depth documentation on their website that contains:
I reccomend to use Visual Studio 2019 or later, but any version that supports C++17 will be capable of building the Engine as well used for coding your own Scripts*. You can download the latest version of Visual Studio from their website.
* Although any version of Visual Studio that supports C++17 will be capable of writing your scripts. The engine assumes you are running Visual Studio 2019 or later and builds the project files accordingly. If you are using an earlier version and you are running into problems when trying to open the scripts solution, jump into the command line navigate to the directory that contains your folder and enter premake5 vs20**.
If you don't want to use Visual Studio as your IDE then you have to be able to run msbuild from the command line. In order to build the Engine and your scripts manually.