raysan

Joined 6 years ago

Karma
56
Submissions
10
Member since
Apr 2
I make videogames and tools, mostly in C. I also teach videogames making. I created raylib.
View on Hacker News

Recent submissions

Comment · 3 years ago
raylib is highly inspired by XNA so it has many similitudes to MonoGame but being plain C is not object-oriented like MonoGame.
Comment · 3 years ago
Actually, afaik most raylib users use it for 2d games/tools; it has a batching system to minimize draw calls that works very good with sprites (but also used with 3d shapes). About shaders, raylib provides a Mesh structure with some predefined vertex attribute arrays but you can use them for custom data if required. Also, you can use the lower-level library rlgl for a more fine grain control over the buffers.
Comment · 3 years ago
Actually raylib was highly inspired by XNA, it was my main reference framework.
Comment · 3 years ago
Thanks! Glad you are learning with it! That was the original objective of the library! Yeah, I learn about Tsoding recently and saw some of the videos! Really nice! About the issue with raygui you comment, it seems related to calling some raygui function before raylib InitWindow(), an OpenGL context is required to call rlSetTexture()... ok, I see you got to a similar conclusion, yeah, it could be that raygui as a separate library can not access the raygui library OpenGL context.

My recommendation is to compile raygui together with raylib, afair, the default raylib Makefile includes an option to add ragui module into raylib on compilation.

Comment · 3 years ago
Thanks! raylib was originally created to teach gamedev programming basis to young arts students, I tried to keep it as simple as possible but still focused on code writing and able to learn low-level concepts.
Comment · 3 years ago
Thank you very much! Glad you enjoy raylib! I know it's not that popular like the big engines but, actually, next month raylib will be 10 years old! :D

raylib supports several 3d model formats (obj, gltf/glb, iqm, m3d, vox), I think Blender has exporters for most of them. Note that some formats support must be enabled in raylib/src/config.h file!

Comment · 3 years ago
Hey! Just saw an increment in raylib github stargazers and raylib Discord members and someone point me to HN!

I'm the author of raylib, feel free to ask me about it if you want.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton