Mike Will
39909cdcb3
Add an implementation of Zig's Allocator interface ( #94 )
2024-05-21 16:12:20 +02:00
Sebastian Lukas
b5330624d6
Adding texture/background_scrolling example ( #91 )
...
Adding textures_background_scrolling example
Signed-off-by: Sebastian Lukas <sisasebbl@googlemail.com>
2024-05-20 20:38:22 +02:00
Daniel Hill
a488218d0e
feat(examples): core/basic_screen_manager
& core/window_flags
( #78 )
...
* feat(examples): add `core/basic_screen_manager`
* feat(examples): add WIP `core/window_flags`
* fix(examples): get `core/window_flags` working correctly
2024-04-14 20:26:29 +02:00
Nikolas
694702b758
Update fps example to be more inline with raylib's version
2024-03-26 20:21:24 +01:00
James 'JT' Tumber
4edb34888a
Lock the cursor to the window for first person camera
2024-03-22 16:14:30 +00:00
Locria Cyber
44e53ff7d1
fix examples
2023-12-28 15:07:14 +00:00
Not-Nik
a6fa62999e
Remove old example code
2023-09-14 13:05:56 +02:00
vent
a378960088
Clean up build.zig and examples
...
This commit affects the build.zig and examples files. It reformats the
code to meet a 120 column limit. It also adjusts comments so that
there is a space after the comment symbol '//' and the grammar in the
comments has been fixed.
2023-09-11 16:04:32 +01:00
Not-Nik
0ee5495059
Fix 3d camera first person example
2023-07-22 23:20:20 +02:00
Not-Nik
edbd73e6be
Bump to Zig 0.11/raylib 4.6-dev
2023-07-21 17:04:56 +02:00
Not-Nik
9c5197bad4
New logo (example)
2023-07-21 14:20:03 +02:00
Not-Nik
286324cf03
Defer begin/end in examples
2023-07-20 16:39:06 +02:00
Not-Nik
f50189fdd0
More defer
2023-07-20 16:23:41 +02:00
Not-Nik
4bb6b605e4
Some small example fixes
2023-07-14 10:59:40 +02:00
Not-Nik
3f046d9db7
Convert return values
2023-07-11 18:58:07 +02:00
Not-Nik
d07552a064
Update example casts
2023-07-11 15:56:39 +02:00
Not-Nik
9e908b3925
Color member functions
2023-07-11 15:50:31 +02:00
Not-Nik
2578dceb42
Texture member functions
2023-07-11 15:39:11 +02:00
Not-Nik
7e95ad81b5
Update enum/const name style
2023-07-10 22:43:01 +02:00
Not-Nik
e29e012981
Map C pointers to Zig and functions names use Zig naming conventions
2023-07-10 22:22:37 +02:00
Not-Nik
c564af4f61
Move colors into color struct
2023-07-10 00:57:02 +02:00
Not-Nik
7a9cdd3af0
More convenience functions in structs
2023-07-09 19:31:27 +02:00
Not-Nik
42671d0195
Some work on the examples
2023-07-09 18:45:15 +02:00
Jordan O'Leary
3a3c09af40
Merge branch 'devel' into sprite_anim2
2023-03-25 17:04:29 -04:00
Jordan O'Leary
aa3f77d736
add example "sprite_anim"
2023-03-23 12:19:15 -04:00
Jordan O'Leary
1e61d8881e
doc: Add comment crediting original
2023-03-23 11:58:38 -04:00
Jordan O'Leary
e83f8a01b1
add example "texture_outline"
...
Which demonstrates shader support
2023-03-23 11:57:14 -04:00
Not-Nik
1e06706bff
Update to 4.5-dev
2023-01-23 22:07:43 +01:00
Not-Nik
723c77688c
Update to raylib 4.2/zig 9.1
2022-08-11 23:05:10 +02:00
Not-Nik
ba7b7c97f8
Update build system to latest raylib
2022-03-18 16:57:15 +01:00
Not-Nik
c83263a8a7
Readd core examples
2022-01-08 23:51:50 +01:00
Not-Nik
eba6c5392f
Update versions
2022-01-08 23:18:09 +01:00
Francisco Demartino
5e275e93df
fix build and basic_window example
...
some restructuring due to the recent changes to usingnamespace.
also cleaned up some deprecated stuff from raylib 3.7.
- appended the contents of raylib-wa.zig into raylib-zig.zig
- using raylib functions requires `const rl = @import("raylib");`
(and accesing the identifiers inside rl, like `rl.InitWindow`)
only the basic_window example was updated, and it looks like it crashes
on keyboard inputs.
many thanks to @nektro :)
2022-01-08 05:37:52 -03:00
Not-Nik
004388133b
Fixup for rl 3.7
2021-11-28 14:07:22 +01:00
Not-Nik
a8d8d4b9bc
Merge branch 'devel' of https://github.com/Not-Nik/raylib-zig into devel
...
Local pull, I'm sorry
2021-07-25 02:19:11 +02:00
Not-Nik
bc85894992
Blatant copy rcorre's 'Fix SetShaderValue and port rlights.'
2021-07-25 02:19:01 +02:00
Ryan Roden-Corrent
51b327fa03
Complete models_loading example.
...
This had a few things missing/commented, but after fixing the load paths
and uncommenting code, it seems to work fine for me.
I also ran `zig format` on the example, I can submit a PR without that
if it isn't ideal.
2021-07-24 16:21:49 -04:00
Maurizio Crocci
73a76bf849
Fixes examples that had unused params
2021-07-10 03:26:08 +01:00
Not-Nik
1e4b02ad1b
Fix mouse input example
2020-11-29 11:51:56 +01:00
Not-Nik
c481ade52f
Starting out with object orientation
2020-05-04 15:06:13 +10:00
sacredbirdman
a7fa7755de
zig 0.6.0 compatibility
2020-04-27 20:43:42 +03:00
G3bE
5f8226f8d8
Some minor improvements
2020-02-22 20:43:30 +10:00
G3bE
53be5d5871
Add some examples
2020-02-16 15:29:40 +10:00
G3bE
169fc6a886
Add (broken) models loading example
2020-02-15 21:53:45 +10:00
G3bE
4f808f7da1
Recreated ABI comatiblity
2020-02-15 20:54:31 +10:00
G3bE
b8c883e446
Raylib gets added as a package to examples and the projectSetup generator
2020-02-15 20:42:22 +10:00
G3bE
bfb4da40a0
Complete rename
2020-02-15 20:20:32 +10:00
G3bE
abd32b7cc8
Add bindings
2020-02-15 19:58:03 +10:00