Răsfoiți Sursa

examples/storage/01-user: Set up for web builds.

Ryan C. Gordon 1 zi în urmă
părinte
comite
f8dc19e65a

+ 1 - 0
examples/categories.txt

@@ -7,6 +7,7 @@
 renderer
 input
 audio
+storage
 camera
 asyncio
 pen

+ 5 - 0
examples/storage/01-user/README.txt

@@ -0,0 +1,5 @@
+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.

BIN
examples/storage/01-user/onmouseover.webp


BIN
examples/storage/01-user/thumbnail.png