GLFW
raylib
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
GLFW
-
A question about project dependencies and licenses
GLFW (added the source as a submodule forked from glfw/glfw: A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input (github.com))
-
I need a click event.
A popular library for input handling is GLFW, for which I wrote Lua bindings (MoonGLFW).
-
Minecraft 1.8.9 Consistently Crashes after 5 Mins
If the problem persists, try updating Mesa and GLFW. Remember that the nightly builds are UNSTABLE. Normally it won't do any damage to your system, since the code is verified before the commit.
-
Minecraft performance is slower on Linux than Windows
You can always compile Mesa and GLFW. Doing so will update your drivers to the latest version (not stable).
-
OGL - A Great Cross Platform OpenGL Base Library With Almost Everything OpenGL You might Ever need
glfw
-
LearnOpenGL.com setup for Linux
Clone the GLFW git repository, using git clonehttps://github.com/glfw/glfw.git.
-
How to use OpenGL without an IDE (linking libraries)
Go to https://www.glfw.org/
-
How to make your own game engine (and why)
SDL is great, yes. I just want to mention that glfw is also an option if you're using OpenGL or Vulkan. I used it this time around because I had used SDL in the past for another engine and had the desire to use something different for no other reason than exposure. Things aren't very different and I don't think switching from one to another would be hard. It depends on implementation of course, as always.
-
Perfecting GLFW for Zig, and finding lurking undefined behavior that went unnot
Agreed. I think it was only a problem because of ubsan. I guess ubsan added checks to the generated code that looked at the value being shifted left 24 and saw that overflow occurred and therefore raised its undefined behaviour signal.
The code would never fail on a two's compliment machine. What ubsan is saying is that the rules of C don't guarantee this code to work - it only works because the overflow writes into the sign bit, which is where the next thing expected it to be anyway.
If the above is true, I don't think their "fix" helps: https://github.com/glfw/glfw/pull/1986/files. I would have thought that the important part is to change the longs to unsigned longs.
It's not actually shifting a char, because integer promotion happens first.
https://github.com/glfw/glfw/pull/1986#issuecomment-95578417...
raylib
-
Should i jump right into learning how to use c++ for game development?
go for https://www.raylib.com/
-
Toy Game using Common Lisp and Raylib
Thank you for pointing out to Raylib, very interesting, it supports so many platforms, including *BSD.
-
Link errors
It's there in at least one of the build guides: https://github.com/raysan5/raylib/wiki/Create-Visual-Studio-2019-Project
-
Storing functions in arrays - how does it work?
Hi there, I'm a bit new to C programming and I recently picked it up to learn RayLib. In one of their examples, I noticed that they where storing a series of functions in a single array and executing them via an index. Here is the example for reference. They do this in line 73 where all the camera functions have been stored in an array. Each function has the same return type and the same parameters.
-
OpenBSD: SetTargetFPS() doesn't correctly cap the frames.
Hey! Just pushed a commit to improve OpenBSD support: https://github.com/raysan5/raylib/commit/5ecc2892016cf95fc78209229627fd371bd8df01
-
Old CMake project got broken after updating vcpkg and raylib to their latest versions on Windows - looking for more insight to where the issue lies so I could hopefully report it as an issue on GitHub
Is this a bug? I could not find any mentions of a similar problem in vcpkg's GitHub issues, nor raylib's GitHub issues, but it's very much possible I just suck at looking them up.
-
Graphics library
Depends on what you want! OpenGL is relatively low-level. It has a steep learning curve, and I would not recommend it for newer programmers. If 3D is a priority, though: check it out, or consider something like [raylib](https://www.raylib.com/).
Raylib.
I think Raylib is the most straightforward thing: https://www.raylib.com/
-
Something like p5.js but for C++
Maybe something like raylib could work, although its C99, not C++. https://www.raylib.com/
What are some alternatives?
SDL - Simple Directmedia Layer
bgfx - Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
glad - Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.
SFML - Simple and Fast Multimedia Library
SDL2 - SDL2 bindings to perl
imgui - Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
Skia - Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.
vulkan-guide - Introductory guide to vulkan.
OpenSceneGraph - OpenSceneGraph git repository
Ogre 3D - scene-oriented, flexible 3D engine (C++, Python, C#, Java)
love - LÖVE is an awesome 2D game framework for Lua.