moongl
Lua bindings for OpenGL (by stetre)
Craft
A simple Minecraft clone written in C using modern OpenGL (shaders). (by fogleman)
Our great sponsors
moongl | Craft | |
---|---|---|
5 | 9 | |
115 | 10,190 | |
- | - | |
2.5 | 0.0 | |
11 months ago | 21 days ago | |
C | C | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
moongl
Posts with mentions or reviews of moongl.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-02.
-
OpenGL with lua?
Anyone know how to get started doing OpenGL with lua? I tried this library -> https://github.com/stetre/moongl but kept getting certain errors when running make. So any one know any other library's or maybe some other ways of using OpenGL like maybe a c library with lua or something? Or maybe if anyone one has experience using this library maybe theres something I might be missing?
-
Documentation for LuaGL
If you don't mind using software developed and maintained by an individual (myself), there's MoonGL together with a few other companion libraries. They are all documented and come with quite a few examples.
-
Help me understand Lua game dev
If you want a proof of concept, check out this example. It is a port I made of the Breakout game from Joey de Vries' LearnOpenGL, using only binding libraries (no framework).
-
How to code a system where “everything can interact with everything”?
And you can absolutely implement an ECS in Lua. It won't be as performant as in a language where you have direct memory access, but there is more to the ECS pattern than just performance, like modularity and separation of data and logic. I would never suggest anyone to implement a full blown game engine in Lua (though you could, using bindings like this: https://github.com/stetre/moongl) but it is certainly possible.
-
What can i use to draw graphics with lua?
Bindings to OpenGL: https://github.com/stetre/moongl
Craft
Posts with mentions or reviews of Craft.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-17.
- A simple Minecraft clone written in C using modern OpenGL
- Coding a Minecraft clone in pure C
-
What lesser known but amazing functionality of CHATGPT are you willing to share?
Here’s the original code: https://github.com/fogleman/Craft/blob/master/src/world.c I don’t really have an “after” because I edited it a lot and didn’t backup the original, but try it yourself and you should get similar results. I also told it to make the variable names better.
-
Are C programs only used for terminal based interaction?
When this subject comes up, I always like to link to one of the many Minecraft clones written in C. https://github.com/fogleman/Craft
- Is C only in terminal?
- There is framework for everything.
- are there tutorials for code organization for games in C?
-
I just learned java, want to make a simple minecraft clone
Not java but https://github.com/fogleman/Craft will give you an idea of what has to be done.
- Resources to learn voxel based game development?
What are some alternatives?
When comparing moongl and Craft you can also consider the following projects:
luasdl2 - A pure C binding of SDL 2.0 for Lua 5.1, Lua 5.2, and LuaJIT.
minecraft-pi-reborn - Official Mirror Of @TheBrokenRail's Minecraft: Pi Edition: Reborn.