Commit Graph

258 Commits

Author SHA1 Message Date
Ray a51cb7fe30 REXM: Updated some examples inconsistencies 2025-09-04 19:15:37 +02:00
Ray 7646d08751 Updated some examples with inconsistencies 2025-09-04 18:57:00 +02:00
Ray 6d7dd43c13 Update core_input_gestures_testbed.c 2025-09-04 16:05:38 +02:00
Ray e21093d434 REXM: RENAME: example: core_input_gestures_web --> core_input_gestures_testbed 2025-09-04 15:59:53 +02:00
Ray c17f82a78c REMOVED: core_basic_window_web
The example is not following examples conventions and it will be moved to `others` with a new name
2025-09-04 15:43:54 +02:00
Ray a7e62e73d8 REXM: REMOVE: example: core_loading_thread
This example was POSIX only and had some special requirements for web, it made it more difficult to be managed from collection standard examples format.

It will be re-added in the `others` category, that is not processed for web.
2025-09-03 19:00:33 +02:00
Ray c579eef4b7 REVIEWED: Examples section comments, for better organization and consistency 2025-09-03 10:40:31 +02:00
Ray 8b3c68f8b5 Update core_random_sequence.c 2025-09-02 12:18:19 +02:00
Ray b6ae380260 REVIEWED: Examples comments, consistent code sections 2025-09-02 12:10:16 +02:00
Ray 864459cbd2 Update core_3d_camera_fps.c 2025-09-01 20:59:37 +02:00
Ray e18d167c8f REVIEWED: New examples added renaming, avoid duplicated .sln GUIDs 2025-09-01 20:47:59 +02:00
JohnnyCena123 0e73e0ea64 reviewed ALL non-external files to follow raylib's convention of no spaces around / or * (#5153) 2025-08-29 14:53:16 +02:00
JohnnyCena123 4a4997c615 fix unnecessary warnings in some files (#5152) 2025-08-28 22:28:56 +02:00
Ray 42abcb9492 Updated examples init window title 2025-08-26 00:36:32 +02:00
Ray a72b4b177b Updated examples short description 2025-08-26 00:32:24 +02:00
Ray 60ac8f2a86 Renamed example 2025-08-25 21:11:37 +02:00
Ray f9af011965 Update core_window_letterbox.c 2025-08-25 20:56:05 +02:00
Ray 500494f791 Update core_3d_fps_controller.c 2025-08-23 00:02:19 +02:00
feive7 8b0cbb6f47 Clamp camera pitch 2025-08-21 11:10:13 -07:00
Maicon Santana 238163c6ca swap local variable isCursorHidden to use new method IsCursorHidden() 2025-08-21 11:31:40 +01:00
Ray 7037f131dc REVIEWED: example: core_3d_fps_controller 2025-08-14 20:37:52 +02:00
Ray 13e384ce71 Merge pull request #5004 from nezvers/example_quake_controller
[examples] New example: `core_3d_fps_controller`
2025-08-12 09:54:23 +02:00
Ray 570082deba WARNING: **NEW** raylib code CONVENTION: Comments do not end with '.' 2025-08-07 18:23:20 +02:00
Ray f0889a74fe EXAMPLES: Format tweaks 2025-08-07 17:08:22 +02:00
Ray fd79b44920 Create distortion.fs 2025-08-07 17:05:50 +02:00
Ray 72de562542 REVIEWED: Examples for automation processes 2025-08-04 13:23:04 +02:00
RANDRIA Luca b273ba930b Add screenshot for core_basic_window_web
The veritable screenshot is this
2025-07-31 01:05:00 +03:00
RANDRIA Luca 37104195b4 add screenshot core_basic_window_web
There are no screenshot for this and the alt is seen
2025-07-30 16:54:06 +03:00
lepasona b230720842 example core_input_gamepad.c: fix hardcoded gamepad 0 2025-07-27 14:35:38 +00:00
PanicTitan 9e908e4a76 Update core_custom_frame_control.c to work properly on web 2025-07-14 00:27:56 -03:00
Agnis Aldiņš "NeZvērs ed022e89e5 fix preview crop 2025-06-23 16:22:14 +03:00
Agnis Aldiņš "NeZvērs f6b7168ed4 Add preview image 2025-06-23 16:06:46 +03:00
Agnis Aldiņš "NeZvērs fa9653d179 Fix function call 2025-06-23 13:50:24 +03:00
Agnis Aldiņš "NeZvērs fca2317640 remove //#define PLATFORM_WEB 2025-06-23 13:44:50 +03:00
Agnis Aldiņš "NeZvērs a2cf878190 cleanup variable shadowing 2025-06-23 13:43:38 +03:00
Agnis Aldiņš "NeZvērs 4233544670 Update core_3d_fps_controller.c 2025-06-23 13:32:08 +03:00
Agnis Aldiņš "NeZvērs 4d5a56a5f8 change game's resolution 2025-06-23 13:15:14 +03:00
Agnis Aldiņš "NeZvērs eee9dd8c94 Example: core_3d_fps_controller
Quake like camera animations and strafe jump movement
2025-06-23 13:03:35 +03:00
Jeffery Myers eb3d96a36a Fix cast warnings in examples. 2025-04-16 18:23:55 -07:00
Jonathan Marler f19d4c71ab core_window_flags example: add borderless windowed toggle 2025-03-31 10:23:34 -06:00
Jonathan Marler 336fd78f74 Add core_highdpi example
This example enables HIGHDPI and renders a scale showing how the logical
size compares to the pixel size of the window.
2025-03-28 16:48:21 -06:00
Ray 61aea2495a Merge pull request #4863 from marler8997/fixImmediateRestore
Prevent immediate window restore from minimize in core_window_flags
2025-03-28 18:02:12 +01:00
Jonathan Marler 00fb09cebf Prevent immediate window restore from minimize in core_window_flags
The core_window_flags example automatically restores the window from
being minimized after 3 seconds. However, it only resets the frameCounter
if the window is minimized through the app from inputting KEY_N.  This
means if you miminize the window by other means (like pressing the minimize
button) then the example will immediately restore the window because the
frame counter wasn't reset. I've fixed this by setting the frameCounter
back to 0 once it's expired. I also added a note in the UI that the example
automatically restores the window so it's not a surprise.
2025-03-26 20:02:03 -06:00
Jonathan Marler 8749ba9ebf Uncomment SetTargetFPS in core_window_flags
I think this line was accidently commented out in this commit:

3d1ae3500c

The FPS limit is needed to get the desired wait time for the "hide window"
test, which uses the frame counter to hide the window for 3 seconds. On
my machine without this limit it runs at over 1000 FPS and it appears
like the hide window state is broken.

I also added some text that tells the user that it only hides the window
for 3 seconds so they're not surprised when the window automatically
reappears.
2025-03-26 16:35:31 -06:00
Jonathan Marler 611c43719f Avoid divide by 0 in core_custom_frame_control example 2025-03-26 10:58:59 -06:00
Fabrizio Pietrucci e140aca1b5 Increase zoom factor in core_2d_camera.c
This compensate for slower zoom speed due to log scaling
2025-03-19 20:19:19 +01:00
Fabrizio Pietrucci 8b84c999d2 Use logarithmic zoom scaling in 2d camera zoom examples 2025-03-19 19:48:04 +01:00
Aidon 513753c394 Converting int to char
Fixes warning: narrowing conversion caused by trying to convert int to unsigned char
2025-03-13 21:50:20 -03:00
jordan4ibanez 7cae259a6d Reviewed shaders comment wording (#4793) 2025-02-25 14:26:52 +01:00
Anstro Pleuton 773e3f5f9f Update more examples inconsistencies (#4711)
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
2025-01-19 17:17:38 +01:00