Skip to content

A Tiny Minecraft clone made with C++ and OpenGL.

License

Notifications You must be signed in to change notification settings

Coder-X15/Minecraft

 
 

Repository files navigation

discord license hunter

Minecraft Logo

Created by Samuel Rasquinha using C++17 and OpenGL 3.3 🎲

A Tiny Minecraft Clone

A Tiny Minecraft clone made with C++ and OpenGL.

Current Features

  • 3D Perspective FPS style camera with smooth movement
  • Terrain generation using simplex noise
  • 4 Types of terrain generation options
  • World structures such as trees and cactus
  • Biome generation by noise quantization
  • Infinite Terrain
  • High Definition texture pack
  • Support for fully translucent blocks such as Glass and models
  • Fast chunk meshing
  • Face culling
  • Frustum culling
  • Complete day/night cycle
  • Exponential fog
  • 3D AABB Collision detection
  • Dynamic voxel based lighting
  • Fast world saving and loading
  • Complete main menu and GUI interface using ImGui
  • Logger
  • Over 20 types of blocks (more blocks can be added very easily)
  • Cloud Skybox using cubemaps
  • Accurate block editing using a voxel transversal algorithm
  • Connected textures/blocks support.
  • Water generation
  • Efficient particle emitter
  • Fully 3D Audio
  • No OS Specific dependencies
  • Supports windows and linux. (Should work on mac but not tested)

Features to come

  • Smooth lighting with Ambient Occlusion
  • Multiplayer and networking
  • Dynamic Sun and clouds
  • Weather
  • Multithreading

Compiling

This project compiles with Clang and MSVC. (Should also compile with GCC not tested.)

Contact me

Email : samuelrasquinha@gmail.com
Discord : swr#1899

Credits

The block art, skybox art and fonts are not made by me. All credits go to their owners.
Notable Websites :

  1. https://opengameart.org/

Special Thanks

  1. Dan Bechard (Discord : @dandymcgee#2568)
  2. Krazer (Discord : @Krazer7877)

References

License

This project is under the MIT license. See LICENSE for more info

Screenshots

Minecraft Menu

The Menu screen

Minecraft in-game

Minecraft in-game

Nice looking terrain generation using simplex noise


Minecraft light-1


Minecraft light-2


Minecraft light-3

Lighting Demo with lamps


Supporting

If you like this project, please consider starring it on github. Thankyou :)

About

A Tiny Minecraft clone made with C++ and OpenGL.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 78.9%
  • C 15.7%
  • HTML 3.8%
  • Objective-C 0.9%
  • CMake 0.4%
  • GLSL 0.3%