238163c6ca
swap local variable isCursorHidden to use new method IsCursorHidden()
2025-08-21 11:31:40 +01:00
7037f131dc
REVIEWED: example: core_3d_fps_controller
2025-08-14 20:37:52 +02:00
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
570082deba
WARNING: **NEW** raylib code CONVENTION: Comments do not end with '.'
2025-08-07 18:23:20 +02:00
f0889a74fe
EXAMPLES: Format tweaks
2025-08-07 17:08:22 +02:00
fd79b44920
Create distortion.fs
2025-08-07 17:05:50 +02:00
72de562542
REVIEWED: Examples for automation processes
2025-08-04 13:23:04 +02:00
b273ba930b
Add screenshot for core_basic_window_web
...
The veritable screenshot is this
2025-07-31 01:05:00 +03:00
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
b230720842
example core_input_gamepad.c: fix hardcoded gamepad 0
2025-07-27 14:35:38 +00:00
9e908e4a76
Update core_custom_frame_control.c to work properly on web
2025-07-14 00:27:56 -03:00
ed022e89e5
fix preview crop
2025-06-23 16:22:14 +03:00
f6b7168ed4
Add preview image
2025-06-23 16:06:46 +03:00
fa9653d179
Fix function call
2025-06-23 13:50:24 +03:00
fca2317640
remove //#define PLATFORM_WEB
2025-06-23 13:44:50 +03:00
a2cf878190
cleanup variable shadowing
2025-06-23 13:43:38 +03:00
4233544670
Update core_3d_fps_controller.c
2025-06-23 13:32:08 +03:00
4d5a56a5f8
change game's resolution
2025-06-23 13:15:14 +03:00
eee9dd8c94
Example: core_3d_fps_controller
...
Quake like camera animations and strafe jump movement
2025-06-23 13:03:35 +03:00
eb3d96a36a
Fix cast warnings in examples.
2025-04-16 18:23:55 -07:00
f19d4c71ab
core_window_flags example: add borderless windowed toggle
2025-03-31 10:23:34 -06:00
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
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
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
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
611c43719f
Avoid divide by 0 in core_custom_frame_control example
2025-03-26 10:58:59 -06:00
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
8b84c999d2
Use logarithmic zoom scaling in 2d camera zoom examples
2025-03-19 19:48:04 +01:00
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
7cae259a6d
Reviewed shaders comment wording ( #4793 )
2025-02-25 14:26:52 +01:00
773e3f5f9f
Update more examples inconsistencies ( #4711 )
...
Co-authored-by: Anstro Pleuton <anstropleuton@github.com >
2025-01-19 17:17:38 +01:00
945f181f1d
[examples] Update examples to be consistent ( #4699 )
...
* Update examples inconsistencies
* Happy new years, examples!
* Missed one inconsistency
* Update final few examples inconsistencies
---------
Co-authored-by: Anstro Pleuton <anstropleuton@github.com >
2025-01-18 19:41:56 +01:00
27e530eb18
update examples with difficulty stars ( #4694 )
...
* update examples with difficulty stars
* manual fix script issues
* manual fix script issues
2025-01-17 10:42:30 +01:00
5c1cce28a7
Using Module provided canvas id for event binding ( #4690 )
...
This change is replacing the hardcoded "#canvas" element references in
rcore_web to allow using canvas elements that use different names
(which is necessary when using multiple canvas elements on one page).
Also adding a cursor hiding example to mouse example.
2025-01-16 00:32:58 +01:00
2f6230e366
Formatting review and examples review
2025-01-12 18:02:36 +01:00
a1896c7a90
REVIEWED: Code/Web-Makefile formatting
2025-01-12 16:19:10 +01:00
2f95e8382b
typo fix ( #4656 )
2025-01-05 12:30:06 +01:00
2820fcc29e
[examples] improve input_virtual_controls example ( #4584 )
2024-12-08 08:52:09 +01:00
f979cc62ee
Fixed grammar mistakes in core_3d_camera_first_person.c ( #4508 )
...
Changed line 118 from, "// For advance camera controls, it's reecommended to compute camera movement manually", to, "// For advanced camera controls, it's recommended to compute camera movement manually".
2024-11-19 09:04:14 +01:00
162efc1ec7
Update core_basic_window.c
2024-11-16 18:45:12 +01:00
a2f6ae6796
Fix warnings in examples ( #4492 )
...
Move shapes/shapes_rectangle_advanced to the correct folder in MSVC project
Add core_input_virtual_controls.vcxproj back into sln file
2024-11-15 08:25:09 +01:00
a617e1e217
Update core_2d_camera_mouse_zoom.c
2024-11-06 12:00:39 +01:00
f03f093909
Add input_virtual_controls to MSVC projects ( #4433 )
...
Fix input_virtual_controls example to use correct default font sizes
2024-10-25 09:47:04 +02:00
157ee79a8e
Add drawing for generic gamepad on core_input_gamepad example ( #4424 )
2024-10-23 20:31:57 +02:00
fe6da67066
[examples] Add deadzone handling to core_input_gamepad example ( #4422 )
...
* Add deadzone handling to core_input_gamepad example
* Rename variables
2024-10-23 16:31:27 +02:00
75a4c5bf20
Update core_input_gamepad example ( #4416 )
2024-10-23 00:28:20 +02:00
74ce90ce67
[example] Input virtual controls example ( #4342 )
...
* Add files via upload
* Update core_input_gamepad_virtual.c
* Add files via upload
* Update and rename core_input_gamepad_virtual.c to core_virtual_Dpad.c
* Update and rename core_virtual_Dpad.c to core_input_virtual_controls.c
* Delete examples/core/core_input_gamepad_virtual.png
* Add files via upload
* Update Makefile
* Update Makefile.Web
* Update README.md
* Update README.md
* Create core_input_virtual_controls.vcxproj
* Delete projects/VS2022/examples/core_input_virtual_controls.vcxproj
2024-10-06 15:47:47 +02:00
039df36f4b
REVIEWED: Automation events mouse wheel #4263
2024-08-20 19:13:18 +02:00
418b878053
[Examples] set FPS to 60 ( #4235 )
...
* set FPS to 60
* remove extra commented lines
2024-08-10 20:07:23 +02:00
46cb6af437
Fix core_input_gamepad_info example so all buttons are displayed within the window ( #4241 )
2024-08-09 19:03:14 +02:00