Craft
moongl
Our great sponsors
Craft | moongl | |
---|---|---|
9 | 5 | |
10,190 | 115 | |
- | - | |
0.0 | 2.5 | |
26 days ago | 11 months ago | |
C | C | |
MIT License | GNU General Public License v3.0 or later |
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.
Craft
- 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?
moongl
-
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
What are some alternatives?
minecraft-pi-reborn - Official Mirror Of @TheBrokenRail's Minecraft: Pi Edition: Reborn.
luasdl2 - A pure C binding of SDL 2.0 for Lua 5.1, Lua 5.2, and LuaJIT.
doomgeneric - Easily portable doom
MangoHud - A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more. Discord: https://discordapp.com/invite/Gj5YmBb
etlegacy - ET: Legacy is an open source project based on the code of Wolfenstein: Enemy Territory which was released in 2010 under the terms of the GPLv3 license.
cute_headers - Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games
BetterSpades - BetterSpades, an Ace of Spades client targeted at low end systems (GL/ES 1.1). Runs on your grandmother's rig!
LearnOpenGL - Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
qb64 - BASIC for the modern era.
moonglfw - Lua bindings for GLFW
SDLPoP - An open-source port of Prince of Persia, based on the disassembly of the DOS version.
moonlibs - Lua libraries for graphics and audio programming