Skip to content

Porting

Darius Grauslys edited this page Jun 3, 2024 · 1 revision

To port the game to a new platform, follow these steps:

  1. Create a new folder in the base directory in lowercase with the name of your platform.
  2. Copy platform.h from ./core/include into your backend's include directory but named as platform_defines.h
  3. Implement everything that is prefixed with PLATFORM_

Try to follow the example of other backend implementations on how these PLATFORM_ definitions should look like, and translate the logic to work on your platform.

Clone this wiki locally