Josh Engebretson 19743bd091 Adding Mods folder for feature examples, factoring physics rag doll 2D HUD into a mod 9 năm trước cách đây
..
Data 3712539f58 Adding C++ Feature Examples 9 năm trước cách đây
Source 19743bd091 Adding Mods folder for feature examples, factoring physics rag doll 2D HUD into a mod 9 năm trước cách đây
CMakeLists.txt 6ae5154034 Define ATOMIC_WIN32_CONSOLE for FeatureExamples 9 năm trước cách đây
README.md cfc7e8dd1c Adding readme for CplusCplus features example 9 năm trước cách đây

README.md

Atomic C++ Features Example

Using Atomic as a native game library

Atomic's core technology can be driven and extended with C++ using the same consistent API available to C#/JavaScript/TypeScript.

The feature samples in this multi-example are written entirely in C++ and demonstrate that apps can be built solely using C++ without scripting features.

Areas for improvement

1) The ResourcePaths/ResourcePreFixPaths are hard coded to the source tree for a dev build: https://github.com/AtomicGameEngine/AtomicExamples/blob/master/FeatureExamples/CPlusPlus/Source/FeatureExamples.cpp#L74

2) Atomic editor integration for C++ projects (component attribute editing, deployment, etc)

Windows compilation instructions

1) Open a VS2015 64 bit command shell, cd to a work folder such as C:\Dev\Atomic\ and run git clone --recursive https://github.com/AtomicGameEngine/AtomicGameEngine

2) Once cloned, cd to AtomicGameEngine and run CMake_VS2015.bat

alt text

3) A Visual Studio solution will be created next to the local repository folder, for example C:\Dev\Atomic\AtomicGameEngine-VS2015\Atomic.sln

alt text

4) Open the Atomic solution in Visual Studio 2015

alt text

5) Set FeatureExamples as the startup project and build the solution

alt text

6) Run the features example

alt text

7) There is also an executable copied to the Artifacts/Examples/CPlusPlus folder

alt text