Skip to content

KeanBuyst/2DMinecraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D Minecraft

Simple 2D Minecraft clone written in C++ with SDL2 and glew.

Current feature's

  • 2D chunks (thus "infinite" x and y generation)
  • Perlin Noise chunk generation
  • Efficient GPU rendering using byte grouping
  • Region based chunk storage
  • 2D Perlin Noise cave generation
  • Background and foreground tiles
  • Entities rendering
  • Tile Collision
  • Physics elements (e.g. Gravity)
  • Lighting
  • Entity Lighting
  • Entity Animation
  • Inventory and items
  • Block breaking and block placing
  • Items
  • Entity Collision

Planned feature's

  • Metadata Tiles & Entities (e.g. chests)
  • Multiple biomes
  • Structures
  • Combat
  • Different entity types
  • Entity spawning
  • Better file compression

Build

CMake build system

Tested on both Windows and Linux

git clone https://github.com/KeanBuyst/2DMinecraft.git
cd ./2DMinecarft
mkdir build
cd ./build
cmake ..
make

If your pc dosent have glu installed. Please install it. (only necessary if error in the cmake compilation accoure)

About

Simple 2D minecraft clone

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages