A leafstudiosDot engine. Now open source!
- CMake
- Python3 (Python 3.11+)
- C++17
- SDL2
- SDL2_image
- SDL2_ttf
Recommended using Visual Studio Code with CMake Tools extension.
[Coming soon]
For Terminal compilers, run the following commands in the project root directory:
$ mkdir build
$ cd build
$ cmake .. # Ninja is the default I assume
$ make
Before you build Incogine for WebAssembly for the first time, run the following command:
$ cd emsdk
$ ./emsdk update (or git pull if you have local changes within emsdk directory)
$ ./emsdk install latest
$ ./emsdk activate latest
$ source ./emsdk_env.sh
To build Incogine for WebAssembly after you do above, run the following command:
$ mkdir build
$ cd build
$ emcmake cmake ..
$ emmake make
To build Incogine for iOS. run the following command:
$ mkdir build
$ cd build
$ cmake -G Xcode -DCMAKE_SYSTEM_NAME=iOS ..
Make sure the name key in project.xml has no spaces like <name>Incogine</name>
, not <name>Incogine Engine</name>
so it means you should name that like <name>MyFirstGame</name>
.