Skip to content

Vaynbaum/minecraft-game

Repository files navigation

Mars minecraft game

This project is a summer practice 2021

image


About the application

The action in the game takes place on Mars. The player alone needs to survive on the red planet. The player needs to maintain satiety, oxygen and the health of the character.

The game has a limited map in length and width of 511 blocks. The map is generated by heightmap, by the red hue of each pixel.

heightmap

The user dies without oxygen or without food. At the base in the greenhouse, where potatoes can grow, there is always oxygen. You can also use oxygen cylinders outside the base. To do this, it is necessary to make a balloon out of metal to get oxygen from ice. Most often, metal ores can be mined under the upper base of the planet.

image

To make a balloon and extract water, it is necessary to extract metal ore and ice.

image

Then, in the furnaces that are on the base, melt the ore into metal and craft the cylinder and bucket under water.

image

image

image

image

For food, you can use both raw and baked potatoes, they give different levels of satiety. It is necessary to grow potatoes in order to survive. But you can not step on it, otherwise you will lose the harvest from this bush.

Solar panels provide lighting and oxygen in the greenhouse, which is why it is so important to clean them from dust.

You can also create tools

  1. Hoes to plow the ground

image

image

  1. Shovel to dig up potatoes

image

image

  1. Pickaxe to mine rock and ice

image

image

  1. Brush to clean dirty solar panels

image

image

During the game there is a change of day and night. But there are lights around the perimeter of the base.

image

image

You can also craft coins from a gold bullion

image

The base is always located on the map

image

image

image

There are also chests on the base that allow you to store items.

image

Project technologies

The game is written using the OpenGL specification and the GLFW library