MCPcopy Create free account
hub / github.com/OfficialCodeNoodles/2D-Minecraft

github.com/OfficialCodeNoodles/2D-Minecraft @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
530 symbols 1,189 edges 73 files 1 documented · 0% updated 2y ago★ 17649 open issues

Browse by type

Functions 441 Types & classes 89
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

2D Minecraft

Have you ever wanted a worse version of both Minecraft and Terraria? Well if so, this is the game for you!

What exactly is this game?

This program is a 2D version of Minecraft written in C++, and it uses the graphics library SFML, as well as my own UI library named Glass. Most of the gameplay is pretty similiar to regular Minecraft, but some things have been adjusted to work in 2D.

Are there any new features?

Yes. This game features walls. This allows you to block light and decorate an area without it blocking anything on the block layer.

Notes

This game is extremely unfinished and buggy, so treat this as an experiment. This game also only works on Windows right now, but I may build it for other operating systems later on.

Also, there are a variety of debug controls that are in the game:

  • F4: Change lighting style
  • F5: Disable lighting
  • F6: Change framerate
  • F7: Enter "creative mode". You are invincible, can fly, and can place down whatever tiles you want to (scroll the mouse to change the tile selected)
  • F8: Advance time of day
  • F11: Enter/exit fullscreen (if the window is the wrong size, you may have to exit fullscreen to get it to work correctly)

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 251
Function 190
Class 50
Enum 39

Languages

C++100%

Modules by API surface

2D Minecraft v 1.0/src/world/World.cpp64 symbols
2D Minecraft v 1.0/src/graphics/UI.cpp56 symbols
2D Minecraft v 1.0/src/graphics/Render.cpp42 symbols
2D Minecraft v 1.0/src/world/Chunk.cpp20 symbols
2D Minecraft v 1.0/hdr/world/Tile.hpp19 symbols
2D Minecraft v 1.0/src/world/TileEntity.cpp16 symbols
2D Minecraft v 1.0/src/world/Tile.cpp14 symbols
2D Minecraft v 1.0/src/world/PathFinding.cpp13 symbols
2D Minecraft v 1.0/src/inventory/Item.cpp12 symbols
2D Minecraft v 1.0/src/entity/Collision.cpp12 symbols
2D Minecraft v 1.0/hdr/inventory/Item.hpp12 symbols
2D Minecraft v 1.0/src/inventory/Recipe.cpp11 symbols

For agents

$ claude mcp add 2D-Minecraft \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page