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.
3 місяці тому
Jonathan Marler
611c43719f
Avoid divide by 0 in core_custom_frame_control example
3 місяці тому
Fabrizio Pietrucci
e140aca1b5
Increase zoom factor in `core_2d_camera.c`
This compensate for slower zoom speed due to log scaling
4 місяці тому
Fabrizio Pietrucci
8b84c999d2
Use logarithmic zoom scaling in 2d camera zoom examples
4 місяці тому
Aidon
513753c394
Converting int to char
Fixes warning: narrowing conversion caused by trying to convert int to unsigned char
4 місяці тому
jordan4ibanez
7cae259a6d
Reviewed shaders comment wording ( #4793 )
4 місяці тому
Anstro Pleuton
773e3f5f9f
Update more examples inconsistencies ( #4711 )
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
6 місяці тому
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>
6 місяці тому
Anthony Carbajal
27e530eb18
update examples with difficulty stars ( #4694 )
* update examples with difficulty stars
* manual fix script issues
* manual fix script issues
6 місяці тому
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.
6 місяці тому
Ray
2f6230e366
Formatting review and examples review
6 місяці тому
Ray
a1896c7a90
REVIEWED: Code/Web-Makefile formatting
6 місяці тому
rexept
2f95e8382b
typo fix ( #4656 )
6 місяці тому
danil
2820fcc29e
[examples] improve input_virtual_controls example ( #4584 )
7 місяці тому
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".
8 місяці тому
Ray
162efc1ec7
Update core_basic_window.c
8 місяці тому
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
8 місяці тому
Ray
a617e1e217
Update core_2d_camera_mouse_zoom.c
8 місяці тому
Jeffery Myers
f03f093909
Add input_virtual_controls to MSVC projects ( #4433 )
Fix input_virtual_controls example to use correct default font sizes
8 місяці тому
Asdqwe
157ee79a8e
Add drawing for generic gamepad on core_input_gamepad example ( #4424 )
8 місяці тому
Asdqwe
fe6da67066
[examples] Add deadzone handling to `core_input_gamepad` example ( #4422 )
* Add deadzone handling to core_input_gamepad example
* Rename variables
8 місяці тому
Asdqwe
75a4c5bf20
Update core_input_gamepad example ( #4416 )
8 місяці тому
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
9 місяці тому
Ray
039df36f4b
REVIEWED: Automation events mouse wheel #4263
11 місяці тому
Anthony Carbajal
418b878053
[Examples] set FPS to 60 ( #4235 )
* set FPS to 60
* remove extra commented lines
11 місяці тому
Asdqwe
46cb6af437
Fix core_input_gamepad_info example so all buttons are displayed within the window ( #4241 )
11 місяці тому
Jeffery Myers
e96bab7ce6
[Build] Fix warnings when building in VS 2022 ( #4095 )
* Update raylib_api.* by CI
* Fix warnings when building examples in MSVC 2022
* fix auto-format that sneaked in there.
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 рік тому
Konrad Gutvik Grande
3948656d84
The example always showed a xbox controller, never a ps3 controller ( #4040 )
1 рік тому
vaezim
d7a8af144d
Fix typos in markdowns and comments, Fix invalid links in HISTORY.md ( #4017 )
1 рік тому
Ray
02d98a3e44
REVIEWED: 2d camera zoom, add alternative method #3977
1 рік тому
Mike Will
46f9806359
Use logarithmic scaling for a 2d example with zoom functionality ( #3977 )
1 рік тому
aiafrasinei
3b7be85151
Screen space related functions consistency ( #3830 )
* Screen/world-space related functions rename
* Update raylib_api.* by CI
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 рік тому
Dalton Overmyer
077ab6d56b
Add an example that generates a random sequence. ( #3846 )
1 рік тому
Ray
40f3df5b86
Update core_2d_camera_platformer.c
1 рік тому
Ray
3f1e59a7cf
Update copyright to 2024
1 рік тому
Antonis Geralis
7ca95512d8
Review UnloadAutomationEventList ( #3658 )
* Review UnloadAutomationEventList
* Update raylib.h
* Update rcore.c
* Update core_automation_events.c
* Fix mistake
1 рік тому
Matthew Oros
387506faab
[rcore] Remove unused vScreenCenter ( #3632 )
1 рік тому
Ray
e7ba72ded9
Update core_automation_events.c
1 рік тому
Ray
e4ea116857
Reviewing automation events on web...
1 рік тому
Miloslav Milenkov
a92c34d83c
Changed keybinds for the automation example to avoid conflict with browser shortcuts ( #3519 )
1 рік тому
Ray
4c2340aea6
Update core_2d_camera_platformer.c
1 рік тому
Ray
9c2308bdc3
Examples reviews
1 рік тому
Ray
040b945fef
Reviewed some examples and warnings
1 рік тому
Ray
bbf0c3a46d
REVIEWED: Added new examples to VS2022 solution
1 рік тому
Jeffery Myers
6cd37e57a6
Fix warnings in visual studio ( #3512 )
1 рік тому
Ray
64d64cc181
REVIEWED: Potential code issues reported by CodeQL #3476
1 рік тому
ubkp
d8acceca14
Fix example core_3d_camera_free ( #3488 )
1 рік тому
Ray
f721429f25
ADDED: `SetAutomationEventBaseFrame(int frame)`
1 рік тому
Ray
98fcbe3fe2
Update core_automation_events.c
1 рік тому
Ray
654b4e6257
Update core_automation_events.c
1 рік тому