https://github.com/system64fumo/minecraftclone
My attempt of creating a block based game
https://github.com/system64fumo/minecraftclone
glfw minecraft-clone opengl
Last synced: 4 months ago
JSON representation
My attempt of creating a block based game
- Host: GitHub
- URL: https://github.com/system64fumo/minecraftclone
- Owner: System64fumo
- Created: 2025-02-06T18:16:20.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-19T13:57:32.000Z (4 months ago)
- Last Synced: 2025-02-19T14:40:33.680Z (4 months ago)
- Topics: glfw, minecraft-clone, opengl
- Language: C
- Homepage:
- Size: 188 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MinecraftClone
Yet another minecraft clone.
This project serves as a playground for me to goof around with OpenGL and 3D graphics.I'm not really a game dev nor do i care about becoming one,
Just thought this is interesting and wanted to give it a try.I won't focus on features or game mechanics here, I mainly want to learn how 3D stuff works.
# Features
* First person camera control
* Keyboard movement
* "Infinite" world size (Currently limited but can be very easily increased without a performance hit)
* Procedural world generation
* Block Highlights
* FPS Counter & Several profiling utils
* Minimap (Debug builds only atm)# Optimizations
* Render distance (Only keep track of chunks that matter not the whole world)
* VAO and VBO
* Batching
* Greedy meshing
* Face culling# Note
At the time of writing my main PC is an Orange Pi 5 Plus, So code may cater to it.
That also means i will be targetting the ARM architecture.# Credits
Thanks to [Sean Barrett](https://github.com/nothings/stb/blob/master/stb_perlin.h) for the perlin noise generator.
Thanks to [SourceGraph](https://sourcegraph.com/) for cody. (like 90% of this codebase is written by it lol)
And obviously many thanks to [Notch](https://x.com/notch) for creating this childhood classic.