Platform game services: identity, achievements, leaderboards, cloud save
← All examples84_services
Shows the whole mk_services_* flow against whichever backend is available. With no store present the runtime probe selects "none" and every capability bit is clear, which is itself the thing worth seeing -- so the example starts on the fake backend and lets you switch to AUTO to watch the difference. - 1: unlock an achievement - 4: read the cloud slot - 2: add progress to an achievement - 5: submit a score - 3: write a cloud slot - 6: fetch the leaderboard - F: flush achievements and stats - TAB: restart on the other backend
Runs the WebAssembly build on this page. Click the canvas to give it keyboard focus.
- Number
- 84
- Requires
MODKIT_ENABLE_SERVICES- Source
examples/84_services/main.c
Build and run
./scripts/build-linux.sh release --target=84_services --run