jaylib
jaylib copied to clipboard
Janet bindings to Raylib
Raylib's LoadImageFromMemory seems absent from Jaylib functions. Too complex to port or in the works? If neither, I'll take a look at it.
How does one access a texture's inner fields, for example `tex.width` and `tex.height` ? ``` (def img (load-image-1 "raylib.png")) (def tex (load-texture-from-image img)) (unload-image img) # This doesn't work (def...
As far as I'm aware, there is no way to retrieve a Texture2Ds width and height. This should solve issue #51. I came across the same problem, so here is...
Hi, I've implemented a wrapper for LoadImageFromMemory, because I needed it for a project. Let me know if you would be willing to merge my changes
This adds `NPatchInfo` to `types.h` and then uses that to create a binding for `DrawTextureNPatch`. Here's what the test example looks like: 
This PR is an attempt to address #56. The approach taken is for `load-font-ex` to also handle being called with 2 arguments (in addition to its existing ability to handle...
The Raylib documentation for `LoadFontEx` says to "use NULL for codepoints and 0 for codepointCount to load the default character set". Literally every example of Raylib font loading I could...
true code: ```janet (pp nearest-vertex) (draw-circle-gradient (splice nearest-vertex) 4.0 :lime :red)))) ``` ``` (264.160827636719 400) error: bad slot #0, expected 32 bit signed integer, got 264.160827636719 in jaylib/draw-circle-gradient in _thunk...