Ryan C. Gordon
1fbb8e1824
examples/audio/04-multiple-streams: Remove drag-and-drop support.
...
I'm going to reuse that code for an actual drag/drop example later, but for
simplicity and accessibility of the examples, this is just going to load two
wavs and loop them, so you get the music with a sword-clinking sound mixed
over it.
2024-12-10 23:10:43 -05:00
Ryan C. Gordon
e79ce2a200
asyncio: Added async i/o APIs.
2024-12-03 17:32:20 -05:00
Ryan C. Gordon
1720fc77fe
examples: Added input/02-joystick-events
2024-11-24 22:49:07 -05:00
Ryan C. Gordon
a07a88c1b4
examples: added input/01-joystick-polling
2024-11-24 22:49:06 -05:00
Ryan C. Gordon
10e2ce9ba4
examples: Added audio/04-multiple-streams
2024-11-24 15:05:44 -05:00
Ryan C. Gordon
61ba8010d3
examples: Emscripten builds should allow memory growth.
...
Otherwise you either need to preallocate a bunch or run out of memory fast.
examples/demo/04-bytepusher runs out of memory at startup without this.
2024-11-23 00:01:18 -05:00
Ryan C. Gordon
212f0dcdb1
examples: Fix output name of demos.
...
Otherwise, build-web-examples.pl will fail.
2024-11-22 17:29:43 -05:00
Ozkan Sezer
7bf3cae02e
examples: fix cmake after commit 51637495
2024-11-23 00:56:40 +03:00
Maia
566f3dc138
Add BytePusher example
2024-11-22 15:54:45 -05:00
Wouter Wijsman
e31e3caece
PSP: Fix building examples in parallel
2024-11-01 09:55:20 -07:00
Sam Lantinga
bdf16628fb
Added 03-infinite-monkeys example game
...
This isn't really a game, more of an exercise of that age old question...
2024-10-29 13:08:59 -07:00
Sam Lantinga
9a77ee2008
Added instructions for creating Visual Studio projects for examples
2024-10-29 13:08:59 -07:00
expikr
1e7c186461
Splitcreen FPS example with multiple mouse and keyboard ( #11317 )
2024-10-29 07:30:10 -07:00
Ryan C. Gordon
c20918b0fb
render: Add SDL_RenderDebugText().
...
Fixes #11201 .
2024-10-14 02:45:33 -04:00
Ryan C. Gordon
b48f29dd9b
examples: Fix name of renderer/17-read-pixels binary.
2024-09-25 16:26:36 -04:00
Ryan C. Gordon
9881c4e582
examples: Added renderer/17-read-pixels
2024-09-24 15:31:21 -04:00
Ryan C. Gordon
95134f6d58
examples: Added renderer/15-cliprect
2024-09-24 13:55:28 -04:00
Ryan C. Gordon
1ed3dac021
examples: Added renderer/14-viewport
...
(This intentionally skips a few example numbers, as I intend to fill in some
other topics before this, later.)
2024-09-23 14:16:32 -04:00
Ryan C. Gordon
e973b687cd
examples: Added renderer/11-color-mods
2024-09-23 01:21:40 -04:00
Ryan C. Gordon
0758b2a0c4
examples: Added renderer/10-geometry
2024-09-22 01:10:33 -04:00
Ryan C. Gordon
1a90e09262
examples: Added renderer/09-scaling-textures
2024-09-22 01:10:32 -04:00
Ryan C. Gordon
4fdeb6861b
examples: a few renderer fixes.
2024-09-22 01:10:32 -04:00
Ryan C. Gordon
66b92e95ac
examples: renamed renderer sources to match other example directories.
2024-09-22 01:10:32 -04:00
Ryan C. Gordon
ffcf372d27
examples: Added renderer/08-rotating-textures
2024-09-22 01:10:31 -04:00
Ryan C. Gordon
0c7334cce3
examples: Added renderer/07-streaming-textures
2024-09-22 01:10:31 -04:00
Ryan C. Gordon
2bd3d9cfb7
examples: Added renderer/06-textures
2024-09-22 01:10:30 -04:00
Ryan C. Gordon
9d0b3eded6
examples: added renderer/05-rectangles
2024-09-22 01:10:30 -04:00
Ryan C. Gordon
3413617cb6
examples: added renderer/04-points
2024-09-22 01:10:30 -04:00
Ryan C. Gordon
1b266ec13d
examples: added renderer/03-lines
2024-09-19 12:16:12 -04:00
Ryan C. Gordon
154452a726
winrt: Removed WinRT/Windows Phone/UWP support.
...
Fixes #10724 .
2024-09-06 13:28:39 -04:00
Ryan C. Gordon
f6fc5e2881
examples: Smush game/01-snake into one source file, clean up some things.
2024-08-30 13:47:41 -04:00
Ryan C. Gordon
85ca516735
examples: Added a simple camera example.
2024-08-19 14:48:25 -04:00
Ryan C. Gordon
3d3f611965
examples: Fixed web build.
2024-08-12 00:46:42 -04:00
Ryan C. Gordon
6140f567ba
examples: added a basic pen example.
2024-08-12 00:25:10 -04:00
Ryan C. Gordon
bc8b768b9a
examples/snake: Fix up build.
2024-07-30 13:40:01 -04:00
Dylam De La Torre
dbb4e05c28
Add "Snake" game example
2024-07-30 13:26:01 -04:00
Ryan C. Gordon
89cc526a67
examples: Fix out-of-tree builds.
2024-07-30 00:13:32 -04:00
Anonymous Maarten
9826f73230
cmake: fix copying of resource files on uwp
2024-07-25 16:01:57 +02:00
Anonymous Maarten
9f9ebcd40a
cmake: fix copying of example resource files on desktop, ps2 and psp
2024-07-25 14:54:20 +02:00
Ryan C. Gordon
195c26a50a
examples: Add a way to add datafiles to an example, and add audio/load-wav
2024-07-24 17:30:55 -04:00
Ryan C. Gordon
bd65d154d5
examples: Added audio/simple-playback-callback.
2024-07-23 17:52:42 -04:00
Ryan C. Gordon
f5f44de155
examples: Add audio/01-simple-playback.
2024-07-23 14:52:31 -04:00
Ryan C. Gordon
4d8b938969
examples: Added renderer/primitives example.
2024-07-23 10:37:14 -04:00
Ryan C. Gordon
266744af03
examples: Number examples, so they are presented in a specific order.
2024-07-23 10:12:53 -04:00
Ryan C. Gordon
23cf09163e
examples: More n3ds build fixes.
2024-07-23 01:35:15 -04:00
Ryan C. Gordon
3671497ea1
examples: Maybe fix n3ds builds.
2024-07-23 01:28:19 -04:00
Ryan C. Gordon
d2e2b9bdc9
examples: Maybe fix Android builds.
2024-07-23 01:25:29 -04:00
Ryan C. Gordon
d8d7212efd
examples: Maybe fix UWP builds.
2024-07-23 01:22:19 -04:00
Ryan C. Gordon
16535b7ee2
examples: Add CMake glue to optionally build examples, as we do for the tests.
...
In fact, most of the CMake code was stolen from the test directory.
2024-07-23 00:58:57 -04:00