Open 3D Engine (O3DE) is an Apache 2.0-licensed multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations. #o3de #gameengine #engine

Terry Michaels 4b74fcf708 Updated CONTRIBUTING.md há 4 anos atrás
.github c4f2ee7881 Merge pull request #2099 from aws-lumberyard-dev/TemplateCleanup há 4 anos atrás
Assets 38261d0800 Shorten copyright headers by splitting into 2 lines (#2213) há 4 anos atrás
AutomatedTesting 38261d0800 Shorten copyright headers by splitting into 2 lines (#2213) há 4 anos atrás
Code 4d927cb26e Merge pull request #2247 from aws-lumberyard-dev/Prefab/ClearEntityMapsTogether há 4 anos atrás
Gems 2bf29dca75 Merge pull request #2249 from aws-lumberyard-dev/Atom/dmcdiar/ATOM-16002 há 4 anos atrás
Registry 38261d0800 Shorten copyright headers by splitting into 2 lines (#2213) há 4 anos atrás
Templates 38261d0800 Shorten copyright headers by splitting into 2 lines (#2213) há 4 anos atrás
Tools 38261d0800 Shorten copyright headers by splitting into 2 lines (#2213) há 4 anos atrás
cmake d9ec159f0e Merge pull request #2235 from aws-lumberyard-dev/daimini/gitflow_210716_o3de há 4 anos atrás
python 38261d0800 Shorten copyright headers by splitting into 2 lines (#2213) há 4 anos atrás
scripts d9ec159f0e Merge pull request #2235 from aws-lumberyard-dev/daimini/gitflow_210716_o3de há 4 anos atrás
.clang-format 4a5b7edbfe Updates to kd-tree ray intersection - ATOM-15673 (#1026) há 4 anos atrás
.editorconfig a10351f38d Initial commit há 4 anos atrás
.gitattributes 78d6909bda Merge branch 'main' into cpack_installer há 4 anos atrás
.gitignore 59934e6be1 Updating the ProjectManager code and scripts with new layout of the o3de package scripts há 4 anos atrás
.lfsconfig 7cda947f6e Update .lfsconfig instructions há 4 anos atrás
CMakeLists.txt 38261d0800 Shorten copyright headers by splitting into 2 lines (#2213) há 4 anos atrás
CODE_OF_CONDUCT.md 70dc678be7 Create CODE_OF_CONDUCT.md há 4 anos atrás
CONTRIBUTING.md 4b74fcf708 Updated CONTRIBUTING.md há 4 anos atrás
Doxyfile_ScriptBinds a10351f38d Initial commit há 4 anos atrás
LICENSE.txt eb0b7346c4 o3de development - update licenses (#1665) há 4 anos atrás
LICENSE_APACHE2.TXT eb0b7346c4 o3de development - update licenses (#1665) há 4 anos atrás
LICENSE_MIT.TXT eb0b7346c4 o3de development - update licenses (#1665) há 4 anos atrás
README.md af8e6afc6a Update README LFS instructions (#1925) há 4 anos atrás
SerializeContextAnalysis.bat 38261d0800 Shorten copyright headers by splitting into 2 lines (#2213) há 4 anos atrás
SliceBuilderSettings.json a10351f38d Initial commit há 4 anos atrás
aztest_bootstrap.json a10351f38d Initial commit há 4 anos atrás
ctest_pytest.ini 38261d0800 Shorten copyright headers by splitting into 2 lines (#2213) há 4 anos atrás
editor.cfg d14229c67e some replacements and fixes that were referring Sandbox/Editor há 4 anos atrás
engine.json 4e14c0069b Merge branch 'upstream/stabilization/2106' into genewalt/gitflow_210628 há 4 anos atrás
system_android_android.cfg 9b1be43367 Renamed osx_gl to mac and es3 to android for cache folders (#949) há 4 anos atrás
system_ios_ios.cfg a10351f38d Initial commit há 4 anos atrás
system_linux_pc.cfg a10351f38d Initial commit há 4 anos atrás
system_mac_mac.cfg 9b1be43367 Renamed osx_gl to mac and es3 to android for cache folders (#949) há 4 anos atrás
system_windows_pc.cfg a10351f38d Initial commit há 4 anos atrás

README.md

Open 3D Engine

Open 3D Engine (O3DE) is an open-source, real-time, multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations.

Contribute

For information about contributing to Open 3D Engine, visit https://o3de.org/docs/contributing/

Download and Install

This repository uses Git LFS for storing large binary files.

Verify you have Git LFS installed by running the following command to print the version number.

git lfs --version 

If Git LFS is not installed, download and run the installer from: https://git-lfs.github.com/.

Install Git LFS hooks

git lfs install

Clone the repository

git clone https://github.com/o3de/o3de.git

Building the Engine

Build Requirements and redistributables

Windows

Optional

  • Wwise - 2021.1.1.7601 minimum: https://www.audiokinetic.com/download/
    • Note: This requires registration and installation of a client application to download
    • Make sure to select the SDK(C++) component during installation of Wwise
    • You will also need to set an environment variable: set LY_WWISE_INSTALL_PATH=<path to Wwise version>
    • For example: set LY_WWISE_INSTALL_PATH="C:\Program Files (x86)\Audiokinetic\Wwise 2021.1.1.7601"

Quick Start Build Steps

  1. Create a writable folder to cache 3rd Party dependencies. You can also use this to store other redistributable SDKs.

  2. Install the following redistributables to the following:

    • Visual Studio and VC++ redistributable can be installed to any location
    • CMake can be installed to any location, as long as it's available in the system path
    • (Optional) Wwise can be installed anywhere, but you will need to set an environment variable for CMake to detect it: set LY_WWISE_INSTALL_PATH=<path to Wwise>
  3. Configure the source into a solution using this command line, replacing and <3rdParty cache path> to a path you've created:

    cmake -B <your build path> -S <your source path> -G "Visual Studio 16" -DLY_3RDPARTY_PATH=<3rdParty cache path> -DLY_UNITY_BUILD=ON -DLY_PROJECTS=AutomatedTesting 
    

    Note: Do not use trailing slashes for the <3rdParty cache path>

  4. Alternatively, you can do this through the CMake GUI:

    1. Start cmake-gui.exe
    2. Select the local path of the repo under "Where is the source code"
    3. Select a path where to build binaries under "Where to build the binaries"
    4. Click "Configure"
    5. Wait for the key values to populate. Fill in the fields that are relevant, including LY_3RDPARTY_PATH and LY_PROJECTS
    6. Click "Generate"
  5. The configuration of the solution is complete. To build the Editor and AssetProcessor to binaries, run this command inside your repo:

    cmake --build <your build path> --target AutomatedTesting.GameLauncher AssetProcessor Editor --config profile -- /m
    
  6. This will compile after some time and binaries will be available in the build path you've specified

  7. Setting up new projects

    1. While still within the repo folder, register the engine with this command:

      scripts\o3de.bat register --this-engine
      
    2. Setup new projects using the o3de create-project command.

      <Repo path>\scripts\o3de.bat create-project --project-path <your new project path>
      
    3. Register the engine to the project

      <Repo path>\scripts\o3de.bat register --project-path <New project path>
      
    4. Once you're ready to build the project, run the same set of commands to configure and build:

      cmake -B <your project build path> -S <your new project source path> -G "Visual Studio 16" -DLY_3RDPARTY_PATH=<3rdParty cache path>
      
      cmake --build <your project build path> --target <New Project Name>.GameLauncher --config profile -- /m
      

    For a tutorial on project configuration, see Creating Projects Using the Command Line in the documentation.

    License

    For terms please see the LICENSE*.TXT file at the root of this distribution.