Project Setup

Setting up and building a Chilli Source project is easy. First of all download the latest version of the engine from github. Once downloaded a new project can be created using the Project Generator java tool. This can be found at /Tools/CSProjectGenerator.jar. Creating a project requires a project name and a package name. The project name can contain upper and lower case characters and numbers, no spaces, i.e “ExampleProject01″. The package name can only contain lowercase letters and ‘.’, i.e “com.example.project”. This equates to the bundle id on iOS and the package name on Android. Run the following to create a new project:

java -jar CSProjectGenerator.jar --projectname  --packagename  --output  --logginglevel verbose

This will have created everything required in a Chilli Source project, including the project files for all platforms. If there are any platforms you do not want to support the relevant directory can be deleted from: /Projects/.

The following will detail how to open and run the project on each target platform.

iOS

Requirements

Building

Building the project for iOS is very easy:

Android

Requirements

Building

The following describes how to build a Chilli Source project for Android:

Unfortunately Chilli Source does not support Android Studio yet. Once Android Studio fully supports NDK builds, Chilli Source will move over to it.

Windows

Requirements

Building

Building in Visual Studio is also easy: