Ryan C. Gordon
d7e25c92c0
examples/input/03-gamepad-polling: Render axes in blue.
...
It's easier to see against white than yellow was.
2026-06-19 14:35:10 -04:00
Ryan C. Gordon
f8dc19e65a
examples/storage/01-user: Set up for web builds.
2026-06-19 00:10:56 -04:00
Ethan Lee
e19a6544a2
examples: Add an example for SDL_Storage user data
2026-06-18 20:44:15 -04:00
Ryan C. Gordon
72771ac0b4
credits: Update links to Will Provost's album "The Living Proof"
...
Amazon's store link was still "http://" instead of "https://", and since they
don't have the physical CD in stock anymore (and probably won't ever again), I
added a link to the album on Amazon Music, for those that want to access it.
2026-06-10 20:48:57 -04:00
Ryan C. Gordon
49a4c07e23
examples/input/05-gamepad-rumble: add some visual feedback.
2026-06-02 19:50:05 -04:00
Sam Lantinga
dc8b189491
examples: Added input/05-gamepad-rumble
2026-05-31 08:32:44 -07:00
Ryan C. Gordon
6c55fad411
examples/demo/04-bytepusher: go back to showing help text on load failures.
...
If the VM was already running, and then a file failed to open at all (a
directory was dropped on the window, etc), this wouldn't go back to showing
the help text.
2026-05-23 23:56:48 -04:00
Ryan C. Gordon
800f347e5e
examples/demo/04-bytepusher: Remove render target.
...
This doesn't need a render target to function. The comment suggested it was
needed to make debug text look better when scaled, but maybe logical
presentation used to do linear scaling exclusively at the time?
2026-05-23 23:56:18 -04:00
Ryan C. Gordon
9fe200c215
examples/renderer/20-blending: Note when a blend mode is unsupported.
2026-05-22 10:37:15 -04:00
Ryan C. Gordon
39be8a703f
examples/renderer/20-blending: center alpha and instructional text.
...
Otherwise, it tends to get lost behind the "Source Code" tab in the web
builds, if the browser window is too small.
2026-05-22 10:37:14 -04:00
Ryan C. Gordon
d8f42ee069
examples/renderer/20-blending: Make thumbnail/onmouseover match other examples.
2026-05-20 00:42:57 -04:00
Ryan C. Gordon
8fe1d7faec
examples/save-rendering-to-bitmaps: Dump alpha channel.
...
examples/renderer/20-blending triggered this: the renderer's framebuffer has
an alpha channel, even if the window itself doesn't, so we ended up with some
weird rendering in the onmouseover.webp when I rebuilt it.
2026-05-20 00:40:25 -04:00
Ahmed Lyas
c9e2e732b6
examples: Add blending example ( #15657 )
2026-05-19 21:05:23 -07:00
Ahmed
b5ac641372
examples: Fix float division
2026-05-18 09:00:12 -07:00
Petar Popovic
eacfe835e7
Fix potential leak in camera example
2026-04-21 07:27:58 -04:00
Ryan C. Gordon
2b0ce9ae6e
examples: Make source code and console tabs take 80% of browser page.
...
Fixes #14997 .
(cherry picked from commit 3d2af85934 )
2026-02-16 14:26:51 -05:00
RaceTheMaSe
7c7ffb9115
tests: Fix unreachable code warnings ( #14993 )
2026-02-07 20:42:59 +03:00
Max Seidenstücker
d870911202
CodeSpell
2026-02-07 18:14:00 +03:00
RaceTheMaSe
9fda8f2669
Fix -Wnewline-eof warnings ( #14989 )
2026-02-07 18:04:18 +03:00
Eddy Jansson
23fec649c2
Fix typos in comments.
2026-01-30 07:25:02 -08:00
Ryan C. Gordon
1f4906e61e
examples/misc/03-locale: Fixed thumbnail to have right locale count.
...
I had forced the example to a hardcoded locale list for screenshot purposes
and forgot to update the count of items at the top of the list.
2026-01-17 00:05:16 -05:00
Ryan C. Gordon
022e2747b9
examples/misc/03-locale: Added thumbnail.png for examples.libsdl.org.
2026-01-16 23:59:59 -05:00
Cameron Cawley
15ceaffcb5
examples: Added misc/03-locale
2026-01-16 12:55:57 -08:00
ocelote_ml
008aa18810
updated png texture example
...
the example was updated to use png's but they didn't update the error message nor the comments
2026-01-16 12:21:30 -05:00
Sam Lantinga
5f086e7623
Updated copyright for 2026
2026-01-01 09:40:08 -08:00