-
Notifications
You must be signed in to change notification settings - Fork 0
Setup
joshlengel edited this page Jun 9, 2020
·
2 revisions
To setup Infinity, following steps will be required:
- Download the source code into a folder of your choice.
- Compile the code or use the pre-existing object and dll files in the "obj" and "lib" folders.
- 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
- 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).
- 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