mastodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance, open to everyone, but mainly English and French speaking.

Administered by:

Server stats:

857
active users

#raylib

1 post1 participant0 posts today

I wrote an smol #raylib binding for #bunjs. On the Surface it's not reinventing the wheele, besides of two goodies:

First: I use copy by value for the textures. No hidden pointers.

Second: The entire binding is generated ON RUNTIME due to my upcomming 'bunfigen' lib.

Right now bunfigen is made to accept bun-ffi alike defs as input. But soon, I want to just push an C-Stylish header file into it and everything will just work like magic. Allowing on the fly bindings for everyone.

Replied in thread

@heroicthehobbyist Use a library like raylib.com/ which probably has bindings for whatever programming language you are already familiar with.

#raylib is pretty lightweight, runs on potato hardware, is pretty simple to use and quick to get a project up and working.

If you are intrigued, make sure to check out the sample projects and to use the cheatsheet (it's all there in the website)

PS: I'm not a paid spokesman for raylib, LOL I just really like it!

raylibraylibraylib is a simple and easy-to-use library to enjoy videogames programming.
Continued thread

#Raylib on the other hand was a literal one liner with no extra configuration to get it to generate the FFI bindings.

I also just learned that `autowrap:c-include` is a macro which I can expand to see, so time to throw down with the errors!