Skip to content
modkitv0.2

Touch-driven game services demo, laid out with Clay

← All examples85_services_mobile

Example 84 drives mk_services_* from the keyboard, which is useless on a phone. This one is all touch, with buttons sized for thumbs, and it starts on AUTO so it reports whatever the platform actually offers rather than hiding behind the fake backend. Run it to check Play Games on Android or Game Center on iOS. A button is greyed out when its capability bit is clear, so the screen is a live readout of what this platform can really do.

Runs the WebAssembly build on this page. Click the canvas to give it keyboard focus.

Number
85
Tags
uiclaytext
Requires
MODKIT_ENABLE_SERVICESMODKIT_ENABLE_CLAY
Source
examples/85_services_mobile/main.c

Build and run

./scripts/build-linux.sh release --target=85_services_mobile --run