111 Commits

Author SHA1 Message Date
Mike Moseley
d64fc43f38 examples: transition from deprecated writer 2025-09-18 22:30:31 +02:00
Nikolas
33f216d4fc
Make Gesture a packed struct (#284) 2025-09-11 19:24:23 +02:00
haxsam
b44a355a81 [build.zig]: a concrete approach to build for web 2025-08-31 16:42:21 +02:00
Timothy Fiss
df70c5c952 rename existing examples for consistent naming 2025-08-25 18:22:36 +02:00
Timothy Fiss
4bb5254d6b example: add unicode 2025-08-25 18:22:36 +02:00
Timothy Fiss
e623387b8c example: add rectangle_bounds 2025-08-25 18:22:36 +02:00
Timothy Fiss
166996bccc example: add input_box 2025-08-25 18:22:36 +02:00
Timothy Fiss
42956d00c0 example: add font_spritefont 2025-08-25 18:22:36 +02:00
Timothy Fiss
d39c75c234 example: add font_sdf.zig 2025-08-25 18:22:36 +02:00
Timothy Fiss
180d2e04de example: add font_loading 2025-08-25 18:22:36 +02:00
Timothy Fiss
10c8f7d7ad add all the text resources 2025-08-25 18:22:36 +02:00
Timothy Fiss
6efd4175ef add: example font_filters, fix typo
example font_filters
2025-08-25 18:22:36 +02:00
Timothy Fiss
a787270fea example: add draw_3d 2025-08-25 18:22:36 +02:00
Timothy Fiss
6ab4e51407 example: add codepoints_loading
update c_l to include copywrite header and description
2025-08-25 18:22:36 +02:00
Nikolas
178530d5f5
Update to Zig 0.15.1 2025-08-23 15:32:42 +02:00
Mike Will
dfea9ed840 add examples shaders_basic_pbr and shaders_hybrid_render 2025-08-09 18:55:54 +02:00
Timothy Fiss
125ead95a3 example: add top_down_lights 2025-08-09 18:51:00 +02:00
Timothy Fiss
813f0323af example: add splines_drawing 2025-08-09 18:51:00 +02:00
Timothy Fiss
346e87c8aa example: add easings_rectange_array 2025-08-09 18:51:00 +02:00
Timothy Fiss
be3790195a example: add easings_box_anim 2025-08-09 18:51:00 +02:00
Timothy Fiss
52767eb8ae example: add easing_ball_anim 2025-08-09 18:51:00 +02:00
leonardo-kr
e8167c2e56
add dropped files example (#260)
* add dropped files example

* reformat build.zig
2025-07-23 16:24:56 +02:00
Mike Will
14f49a38dd
update name changes for rgui's sliderBar and checkBox functions in examples (#252)
update name changes for rgui's `sliderBar` and `checkBox` in examples
2025-07-23 16:21:50 +02:00
Daniel Hill
0de5f8aed0 fix(raygui): make some funcs return bool instead of i32 2025-04-20 13:50:02 +02:00
Daniel Hill
67fd5af55a fix(raygui): strip "Gui" prefix from Zig functions 2025-04-20 13:50:02 +02:00
Daniel Hill
f4b69764db feat(raygui): get message box example working 2025-04-20 13:50:02 +02:00
Axel Magnuson
dfe22275cf
Core 2D Camera Platformer Example (#222)
* Core 2D Camera Platformer Example

* Use decl literals for enums in platformer example
2025-03-23 19:52:05 +01:00
Mike Will
d4fc514d54
examples: Use decl literals (#221) 2025-03-12 21:21:15 +01:00
Nikolas
a7f626993c
Fix basic_window_web, where a bool was passed to an int 2025-03-10 13:27:50 +01:00
kukuen
1a9b848c06
Port of basic_window_web from raylib (#210)
Port basic_window_web from raylib
2025-03-06 15:19:10 +01:00
Nikolas
94fa7e23b0
Finish move to sentinal terminated slices (#203) 2025-03-04 17:50:23 +01:00
Nikolas
bc82c6ebd7
Move from sentinel-terminated pointers to sentinel-terminated slices globally ([+:0] -> [:0]) (#203) 2025-02-24 16:44:49 +01:00
Michael Lohr
4d452b2bcd
Add raymarching example (#208)
* feat: add raymarching example

* add to build.zig
2025-02-16 19:44:48 +01:00
Woshiwuja
8e5ef1045d
Added heightmap example (#206)
* added heightmap example

* better formatting
2025-02-16 19:43:02 +01:00
Frost-Phoenix
d3fdd327d5 example: add audio_module_playing 2025-02-16 19:41:48 +01:00
Frost-Phoenix
09ec2ca22b example: add audio_sound_loading 2025-02-16 19:41:48 +01:00
Frost-Phoenix
9882dd4ba1 example: add audio_music_stream 2025-02-16 19:41:48 +01:00
Frost-Phoenix
5004bb2316 example: add text_writing_anim 2025-02-02 12:24:49 +01:00
Frost-Phoenix
9faf4b97a1 add text_raylib_fonts example
remove unused import and simplify code
2025-02-02 12:24:49 +01:00
vent
cb9fb452c6
Fix segault in textures_image_loading (#190) 2025-01-11 18:09:12 +01:00
vent
41022159ad
Error check using IsValid functions and return error unions (#191)
* Verify shaders are valid

* Verify images are valid

* Verify models are valid

* Verify materials are valid

* Verify textures are valid

* Verify render textures are valid

* Verify waves are valid

* Verify sounds are valid

* Verify music is valid

* Verify audio streams are valid

* Verify fonts are valid

* Update examples to handle error unions
2025-01-11 18:07:33 +01:00
Josh Lankford
f8b1495c69 add draw rectangle rounded example 2025-01-10 19:16:57 +01:00
Josh Lankford
882b69d8c9 add draw circle sector example 2025-01-10 19:16:57 +01:00
Josh Lankford
9f30de1eac add draw ring example 2025-01-10 19:16:57 +01:00
Josh Lankford
3720deda6d add following eyes example 2025-01-10 19:16:57 +01:00
Josh Lankford
a7deec3964 add collision area example 2025-01-10 19:16:57 +01:00
Josh Lankford
2fcdf3af45 add lines bezier example 2025-01-10 19:16:57 +01:00
Josh Lankford
16f4871846 add rectangle scaling example 2025-01-10 19:16:57 +01:00
Josh Lankford
21e7bb8cd3 add raylib logo animation example 2025-01-10 19:16:57 +01:00
Josh Lankford
2a569ea2ef add color palette example 2025-01-10 19:16:57 +01:00