Packing a project - GavWood/DOGE-Game-Engine GitHub Wiki

The game engine uses archives to provide assets needed by the app at run time. Apps are capable of running without assets but would not have fonts or materials for output.

Archives enable the game engine to load new content run time which can be supplied as downloadable content (DLC).

Archives need to be packed for the target platform and are built with the Packer tool. The Packer uses the following config.xml file to determine which project to build and for which platform.

In the configuration below the platform index is given one of the following:

  1. iOS build
  2. Windows build
  3. Mac OS X build

When run the packer will then create a packed version of the archive with one of the extensions: iPhonez, .winglz or .osxz which the app picks up from the release folder.


<?xml version="1.0" encoding="utf-8"?>
<config>
  <project>3</project>
  <platform>2</platform>
  <projects>
        <project>
            <id>1</id>
            <path>/Users/localadmin/Documents/DOGE-Game-Engine/3D-Demo/3DScene/3DScene/</path>
        </project>
        
        <project>
            <id>2</id>
            <path>c:\github\DOGE-Game-Engine\3D-Demos\3DScene\3DScene\</path>
        </project>

        <project>
            <id>3</id>
            <path>c:\github\DOGE-Game-Engine\3D-Demos\Murmurations\Murmuration\</path>
        </project>
        
        <project>
            <id>4</id>
            <path>/Users/localadmin/Documents/DOGE-Game-Engine/CardBasedGames/CardTestBed/Tutorial1/</path>
        </project>

        <project>
            <id>5</id>
            <path>\github\DOGE-Game-Engine\CardBasedGames\CardTestBed\Tutorial1\</path>
        </project>
        
        <project>
            <id>6</id>
            <path>/Users/localadmin/Documents/DOGE-Game-Engine/CardBasedGames/SynchronisedPlay/SynchronisedPlay/</path>
        </project>
        
        <project>
            <id>7</id>
            <path>/Users/localadmin/Documents/DOGE-Game-Engine/CardBasedGames/TurnTakingPlay/TurnTakingPlay/</path>
        </project>
  </projects>
</config>
⚠️ **GitHub.com Fallback** ⚠️