This project is a summer practice 2021
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.
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.
To make a balloon
and extract water
, it is necessary to extract metal ore
and ice
.
Then, in the furnaces
that are on the base
, melt the ore into metal and craft the cylinder and bucket under water.
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
Hoes
to plow the ground
Shovel
to dig up potatoes
Pickaxe
to mine rock and ice
Brush
to clean dirty solar panels
During the game there is a change of day and night
. But there are lights
around the perimeter of the base
.
You can also craft coins
from a gold bullion
The base
is always located on the map
There are also chests on the base that allow you to store items.
The game is written using the OpenGL
specification and the GLFW
library