Skip to content

mikhail-vlasenko/2d-minecraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Top-down view Minecraft

This is my clone of Minecraft, built without a game engine, purely on WGPU (and some egui for interface).

It is a turn-based, 2.5d game: the field looks 2d, but you can actually break the top block, or place a block on top of an existing one.

The grey circle indicates the height of the top block (the one you see). The darker the circle, the lower the block. image

Key features:

  • The game has crafting, and for some items you will need a crafting table nearby.
  • The map is infinite in 2 dimensions.
  • Your attack damage depends on the items in your inventory.
  • You need different tiers of pickaxes to break some blocks.
  • Zombies on unloaded chunks do not vanish. They remain in place until the chunk is loaded again.
  • Banelings (hostile mobs) are better than creepers: they blow up and destroy walls if they can't find a route to player, even if the player is a few blocks away from the explosion radius.
  • Zerglings are smart and only attack in groups.
  • Shot arrows can be reused if they don't break.
  • Self-shooting turrets can be placed to help you defend.

AI-friendly

Part of the purpose of this project is to build a training environment for ML agents.

Such evironment would be similar to the famous MineRL, as it could have the same complexity in terms of progression: mine tree -> make crafting table -> make pickaxe -> etc.

But would require no computer vision, and would run significantly faster than the original.

Gameplay screenshots:

image

image

image

image

image