First off its important to have a clear goal in mind… But before we get carried away, you need some prerequisites, first of all you need raylib installed and you should verify you can compile the examples and that they work. You need to have at least some exposure to programming in C, you should…
Category: raylib
raylib adding a static terrain (ODE)
Last time we were colliding with just a simple ground plane, while this is okay, what looks at together better (and more useful) is a static mesh instead! Unusually this time there is no code to download 😮 but wait don’t worry because by the end you’ll be able to take the code from the…
3d Physics with raylib and ODE
Open Dynamic Engine (ODE) has been around for quite some time, it has a nice C API and is both fast and stable, that said as with any dynamics library, play fast and loose with the settings and it will bite you and invite you to keep both pieces… You might notice a certain amount…
Lighting with raylib
Initially I wasn’t going to release this until I could find someone to go over the shader calculations, but while they are probably not “correct” it certainly works… so…. Lets look how we can implement some simple lighting using a shader. As well as code for the above example, I’ve also taken the time to…
raylib game coding library for C
I gotta say right off the bat, that this is a little gem, often when coding in C you may well end up feeling like you’re reinventing the kitchen sink. C doesn’t come encumbered with a weighty run time library that some languages are hampered with and while there are quite the range of single…