Choosing a game platform
Select a platform when building the game.
For Poki, set VITE_PLATFORM=poki when building. The game calls the same PlatformManager methods across platforms. For example, gameplayStart() signals that a session has started and gameplayStop() signals that it has ended.
VITE_PLATFORM=pokiSelect the platform at build time
PlatformManagerThe game reports that a session has started
PokiReceives the signal