mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-21 21:41:55 +00:00
examples/storage/01-user: Set up for web builds.
This commit is contained in:
parent
e19a6544a2
commit
f8dc19e65a
4 changed files with 6 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
renderer
|
||||
input
|
||||
audio
|
||||
storage
|
||||
camera
|
||||
asyncio
|
||||
pen
|
||||
|
|
|
|||
5
examples/storage/01-user/README.txt
Normal file
5
examples/storage/01-user/README.txt
Normal file
|
|
@ -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
Normal file
BIN
examples/storage/01-user/onmouseover.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
BIN
examples/storage/01-user/thumbnail.png
Normal file
BIN
examples/storage/01-user/thumbnail.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 283 B |
Loading…
Add table
Add a link
Reference in a new issue