Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Building the Atomic Editor using QtCreator

JoshEngebretson edited this page Jun 13, 2016 · 5 revisions

Prerequisites

The Atomic Editor is very easy to build and requires minimal setup. You'll need QtCreator and CMake: http://www.cmake.org/download

Step 1: Clone the Atomic Game Engine and Examples

Open a terminal and clone the Atomic Game Engine source and examples repositories.

git clone --recursive https://github.com/AtomicGameEngine/AtomicGameEngine
git clone https://github.com/AtomicGameEngine/AtomicExamples

Step 2: Open the Atomic Game Engine project in QtCreator and Build

QtCreator supports CMake files as native projects. In QtCreator select Open Project and then navigate to the CMakeLists.txt in the root of the local Atomic Game Engine repository

Once opened, you'll be asked for some basic CMake configuration information, leave the defaults, and run CMake

On the Projects tab, on Build Steps, add -j8 to the make arguments to enable using multiple core compilation

From the Build menu, select Build All

On the Project tabs, select Run and then ensure that the AtomicEditor is set as the Run configuration

Step 3: Run the Editor

Run the editor using cmd-R or selecting Run from the Build menu

Step 4: Open the Physics Platformer example

From the Welcome Screen, select Open Project and navigate to your clone of the Atomic Examples, choose the Physics Platformer example

The Platformer will open in the editor

Step 5: Press Play!

You are now ready to start developing using your custom build of the Atomic Editor, press play!

Clone this wiki locally