Table of Contents

Projects

The term project refers to one game or application, its global settings, and all its data. The editor distinguishes between projects, and allows you to configure various options of each one. On the runtime side, however, the concept of a project does not exist, the current state of the runtime represents the project. Therefore, when you switch to a different project in the editor, the engine will in fact be shut down completely and restarted with different settings (editor and engine are two separate processes).

Video: How to create a project

video

Creating a Project

You can use ezEngine entirely without the editor. In that case, you do not need to create a project, at all. Your application is your project and you set up things like the fileSystem, the plugins and so on, entirely from code.

It is more convenient, though, to maintain your project through the editor. To create a new project, open the editor's dashboard (Project > Show Dashboard) and select New from the top-right corner:

Dashboard

The dialog will ask you to select a new folder for your project:

Create a Project

The name of the folder represents the name of your project. This name is stored nowhere else, you can rename your project later simply by renaming the folder.

Basic Setup

Now you have a new, blank project. The first thing you should do is to check the project settings. Specifically, if you want to share assets between multiple projects, you need to put those assets into a dedicated folder and then add that folder to your project as a data directory.

The second thing you should check is which plugins you want to use, so that you have all desired features available.

Create a Scene

Select File > Create... and create a document of type ezScene. The new scene will be filled with some default objects and you should see something like this:

New Scene

If you don't see the asset browser, make sure to open it. You can now edit your scene. When you need more assets to play with, you need to import them into your project. Once you have something in your scene that could do something, you can test your scene. A good starting point for that is to simply attach a Rotor component to a mesh. A fun next step is to let objects fall down using physics (hint: you need a Dynamic Actor component and a Box Shape component)

TIP

If you want new documents to always be populated with some default state, have a look at template documents.

Project-wide options

Plugins may add project wide options. Not all options may be exposed through editor UI, there are a few things that can (at the moment) only be configured through config files or directly from code. Most options are stored in OpenDDL format or other human-readable files, and you can edit them directly. Some options to be aware of are:

See Also