Skip to content
joshlengel edited this page Jun 9, 2020 · 2 revisions

Setup

To setup Infinity, following steps will be required:

  1. Download the source code into a folder of your choice.
  2. Compile the code or use the pre-existing object and dll files in the "obj" and "lib" folders.
  3. Create a new project in the editor of your choice, and specify following settings:
  • Additional include directories: "{path to folder}\Infinity\include"
  • Additional library directories: "{path to folder}\Infinity\lib{configuration(Debug/Release)-architecture(windows)-platform(x64/x86_64)}"
  • Linker -> Additional dependencies: Infinity.lib
  1. Copy Infinity.dll (Make sure you choose the right configuration, architecture and platform) into the folder containing your application's exe file (Or specify the dll's location in PATH).
  2. Copy the example code, compile, link and run! :)

Note: You will have to define multiple macros depending on what platform you are using. Windows:

  • When compiling Infinity: INFINITY_BUILD_DLL, INFINITY_WINDOWS
  • When compiling client code: INFINITY_WINDOWS

To learn about how Infinity works as a game engine, visit the Design page

Clone this wiki locally