SDL/examples/storage/01-user
Ryan C. Gordon f8dc19e65a
Some checks are pending
Build (All) / Create test plan (push) Waiting to run
Build (All) / level1 (push) Blocked by required conditions
Build (All) / level2 (push) Blocked by required conditions
examples/storage/01-user: Set up for web builds.
2026-06-19 00:10:56 -04:00
..
onmouseover.webp examples/storage/01-user: Set up for web builds. 2026-06-19 00:10:56 -04:00
README.txt examples/storage/01-user: Set up for web builds. 2026-06-19 00:10:56 -04:00
thumbnail.png examples/storage/01-user: Set up for web builds. 2026-06-19 00:10:56 -04:00
user.c

This example code creates an SDL window and renderer, and waits for the user
to click on the window. By default, the window color is blue; When storage
succeeds, the window turns green, if it fails the window turns red and the
error message is logged. Left clicking will save a game, all other clicks
will load a game.