Ray
500494f791
Update core_3d_fps_controller.c
1 month ago
feive7
8b0cbb6f47
Clamp camera pitch
1 month ago
Maicon Santana
238163c6ca
swap local variable `isCursorHidden` to use new method `IsCursorHidden()`
1 month ago
Ray
7037f131dc
REVIEWED: example: `core_3d_fps_controller`
2 months ago
Ray
570082deba
`WARNING`: **NEW** raylib code CONVENTION: Comments do not end with '.'
2 months ago
Ray
f0889a74fe
EXAMPLES: Format tweaks
2 months ago
Ray
fd79b44920
Create distortion.fs
2 months ago
Ray
72de562542
REVIEWED: Examples for automation processes
2 months ago
RANDRIA Luca
b273ba930b
Add screenshot for core_basic_window_web
The veritable screenshot is this
2 months ago
RANDRIA Luca
37104195b4
add screenshot core_basic_window_web
There are no screenshot for this and the alt is seen
2 months ago
lepasona
b230720842
example core_input_gamepad.c: fix hardcoded gamepad 0
2 months ago
PanicTitan
9e908e4a76
Update core_custom_frame_control.c to work properly on web
3 months ago
Agnis Aldiņš "NeZvērs
ed022e89e5
fix preview crop
3 months ago
Agnis Aldiņš "NeZvērs
f6b7168ed4
Add preview image
3 months ago
Agnis Aldiņš "NeZvērs
fa9653d179
Fix function call
3 months ago
Agnis Aldiņš "NeZvērs
fca2317640
remove //#define PLATFORM_WEB
3 months ago
Agnis Aldiņš "NeZvērs
a2cf878190
cleanup variable shadowing
3 months ago
Agnis Aldiņš "NeZvērs
4233544670
Update core_3d_fps_controller.c
3 months ago
Agnis Aldiņš "NeZvērs
4d5a56a5f8
change game's resolution
3 months ago
Agnis Aldiņš "NeZvērs
eee9dd8c94
Example: core_3d_fps_controller
Quake like camera animations and strafe jump movement
3 months ago
Jeffery Myers
eb3d96a36a
Fix cast warnings in examples.
5 months ago
Jonathan Marler
f19d4c71ab
core_window_flags example: add borderless windowed toggle
6 months ago
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.
6 months ago
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.
6 months ago
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.
6 months ago
Jonathan Marler
611c43719f
Avoid divide by 0 in core_custom_frame_control example
6 months ago
Fabrizio Pietrucci
e140aca1b5
Increase zoom factor in `core_2d_camera.c`
This compensate for slower zoom speed due to log scaling
6 months ago
Fabrizio Pietrucci
8b84c999d2
Use logarithmic zoom scaling in 2d camera zoom examples
6 months ago
Aidon
513753c394
Converting int to char
Fixes warning: narrowing conversion caused by trying to convert int to unsigned char
7 months ago
jordan4ibanez
7cae259a6d
Reviewed shaders comment wording ( #4793 )
7 months ago
Anstro Pleuton
773e3f5f9f
Update more examples inconsistencies ( #4711 )
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
8 months ago
Anstro Pleuton
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>
8 months ago
Anthony Carbajal
27e530eb18
update examples with difficulty stars ( #4694 )
* update examples with difficulty stars
* manual fix script issues
* manual fix script issues
8 months ago
Eike Decker
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.
9 months ago
Ray
2f6230e366
Formatting review and examples review
9 months ago
Ray
a1896c7a90
REVIEWED: Code/Web-Makefile formatting
9 months ago
rexept
2f95e8382b
typo fix ( #4656 )
9 months ago
danil
2820fcc29e
[examples] improve input_virtual_controls example ( #4584 )
10 months ago
Mute
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".
10 months ago
Ray
162efc1ec7
Update core_basic_window.c
11 months ago
Jeffery Myers
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
11 months ago
Ray
a617e1e217
Update core_2d_camera_mouse_zoom.c
11 months ago
Jeffery Myers
f03f093909
Add input_virtual_controls to MSVC projects ( #4433 )
Fix input_virtual_controls example to use correct default font sizes
11 months ago
Asdqwe
157ee79a8e
Add drawing for generic gamepad on core_input_gamepad example ( #4424 )
11 months ago
Asdqwe
fe6da67066
[examples] Add deadzone handling to `core_input_gamepad` example ( #4422 )
* Add deadzone handling to core_input_gamepad example
* Rename variables
11 months ago
Asdqwe
75a4c5bf20
Update core_input_gamepad example ( #4416 )
11 months ago
Magnus Oblerion
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
1 year ago
Ray
039df36f4b
REVIEWED: Automation events mouse wheel #4263
1 year ago
Anthony Carbajal
418b878053
[Examples] set FPS to 60 ( #4235 )
* set FPS to 60
* remove extra commented lines
1 year ago
Asdqwe
46cb6af437
Fix core_input_gamepad_info example so all buttons are displayed within the window ( #4241 )
1 year ago