Nikolas
731884848a
Add move notice
2025-08-07 21:47:10 +02:00
Nikolas
22bb251252
Use addModule instead of createModule again ( #265 ) (partial revert of #264 )
2025-08-03 13:23:46 +02:00
Maicon Santana
ac0b07c4bd
prepare build to run on zig 15 ( #264 )
...
* prepare build to run on zig 15
* set raylib as static for web
2025-08-01 18:54:55 +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
Nikolas
5013830647
Bump raylib to master ( #239 , #243 , #249 )
2025-06-27 15:00:18 +02:00
Maicon Santana
97cb212bf0
remove emrun from emcc to avoid the game to keep calling stdio.html ( #238 )
...
* remove emrun from emcc to avoid the game to keep calling stdio.html
* Remove formater
* Add --emrun for examples and templates
2025-06-27 13:24:07 +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
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
9e69ca5946
Merge changes from devel
2025-03-05 18:16:21 +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
Klaus
58724227e7
Fixing linker error for raygui when building in shared mode. ( #197 )
2025-01-26 16:32:48 +01:00
haxsam
ae76994a2d
[build.zig] improve build system
...
- Is now possible to switch platform
- Forwarded option structs from raylib build.zig
- raygui build step depends on raylib build.zig
2025-01-18 22:08:08 +01:00
vent
1ef4995f82
Fix zig build test ( #192 )
2025-01-12 21:52:40 +01:00
Josh Lankford
561481f4ae
add new shape examples to build.zig
2025-01-10 19:16:57 +01:00
Alexander Moening
0dcee846f4
Add both
field for runtime Linux platform detection ( #179 )
...
Add `both` field to allow GLFW to use runtime platform detection
2024-12-20 17:12:46 +01:00
Daniel Koucher Machado
de8c2d4585
Automatically include Emscripten headers ( #173 )
...
* add emscripten headers
* update func to return error
2024-11-26 20:18:33 +01:00
Not-Nik
90109ff804
Revert "[build] Only cache raygui impl ( #170 )"
...
This reverts commit 2f773da6b38508dee1509282eadcfcab9c033b0e.
2024-11-08 17:48:26 +01:00
Not-Nik
2f773da6b3
[build] Only cache raygui impl ( #170 )
2024-11-08 15:36:12 +01:00
Miko
f5abffe4f7
feat: textures image loading example ( #167 )
...
Co-authored-by: Mikolaj Witkowski <notai@mikolajs-mbp.home>
2024-11-08 15:10:19 +01:00
mega-dean
c191e12e7c
make some files not executable ( #160 )
2024-10-18 14:22:28 +03:00
Nicholas S. Zivkovic
817f91b57c
ported example core 3d picking ( #163 )
2024-10-18 14:21:01 +03:00
Nicholas S. Zivkovic
a6f94ce655
ported example 3d camera free ( #162 )
2024-10-18 14:19:22 +03:00
Not-Nik
a2397363aa
meta: Bump raylib/raygui
2024-10-13 14:12:39 +02:00
pancelor
6418a87091
Tidying ( #150 )
...
create resources folder during project_setup, and link with emscripten
--embed-file complained b/c the directory was empty, so I added
resources/placeholder.txt
I tested project_setup.sh (but not project_setup.ps1) -- the emscripten
build works
also, s/std.builtin.Mode/std.builtin.OptimizeMode
(std.builtin.Mode's source says: "///Deprecated; use OptimizeMode.")
2024-09-28 14:55:09 +02:00
Krieg
2176d37bcc
Ported raylib example "text/text_format_text.c" ( #141 )
...
* Added example: text_format_text.zig
* reverted autoformatting changes
2024-08-31 10:41:42 +02:00
YetAnotherCoder00
6d52ac4e13
added 2d camera mouse zoom example ( #129 )
...
* added 2d camera mouse zoom example
* correctly formatted build.zig
* removed "gl" const
2024-08-17 16:58:15 +02:00
Not-Nik
19db777449
Add option to build raylib as a shared library ( #113 )
2024-07-06 22:49:00 +02:00
Not-Nik
c0d07991d1
Merge raymath and rlgl into main raylib module
2024-06-05 22:56:07 +02:00
Not-Nik
4d48d3c090
Pass OpenGL version to raylib dependency ( #100 )
2024-06-04 14:15:40 +02:00
Not-Nik
533c31321a
Fix build with raygui ( #98 )
2024-06-02 20:55:44 +02:00
Not-Nik
876219c600
Properly depend on raygui
2024-05-31 21:15:19 +02:00
Not-Nik
a0126d15be
BREAKING: rename raylib-math module to raymath
2024-05-31 20:27:48 +02:00
Mohanavel S K
efb7b736db
Adding support for raygui ( #95 )
...
* updated build.zig and generate_functions.py to add raygui
* added raygui.h and manually coded some structs & enums in raygui prelude WIP
* ported all the structs, enums and globals to zig till raygui implementation
* imported types from raylib in raygui
* re-encoded raygui-prelude.zig. I don't know for some reason it was showing up as UTF-16 unicode text file. re-encoded it to UTF-8
* fixed imports in prelude to work properly with generated files
* updated generate_functions.py file to generate for raygui [text type error not fixed]
* simple temporary patch for mentioned text type issue
* removed unused imports from raylib in raygui
* added generated files
* Manually define raygui functions for slice arguments
* Manually define raygui functions with pointer return values
---------
Co-authored-by: Not-Nik <nik.wipper@gmx.de>
2024-05-31 19:24:05 +02:00
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
Not-Nik
b98527d062
Forward raylib options ( #87 )
2024-05-15 22:27:54 +02:00
Not-Nik
07a11a1c28
Publicly expose emcc utility functions from build script
2024-05-03 22:16:39 +02:00
Nikolas
ae751ce82e
Bump to Zig 0.12/raylib 5.1-dev ( #81 )
...
* Update to Zig 0.12.0 and raylib 5.1-dev
* More build.zig fixes for 0.12
* Get module with target and optimization
* Add examples to build step when compiling for emscripten
* Remove unused function
* Add build.* and emcc.zig to the zon paths (#83 )
As per some info found through https://github.com/ziglang/zig/issues/18282 ,
this is apparently necessary to use this library as a dependency.
Co-authored-by: Drum Ogilvie <me@daogilvie.com>
* Update binding
2024-04-28 23:46:51 +02:00
Not-Nik
6eeb304ff3
Remove public build script API
2024-04-25 23:24:56 +02:00
Not-Nik
9600e2108a
Rename library files
2024-04-14 22:20:30 +02:00
Not-Nik
ee7593d5ef
Add rlgl binding ( #77 )
2024-04-14 22:14:49 +02:00
Not-Nik
625827ac4c
Add test step
2024-04-14 22:03:33 +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