Meltunia

Meltunia

General Informations

Synopsis

The player embodies three races, Human, Zerion and  Kerios that fight for the control of the planet. The player must create a base, capture resources, destroy enemy structures to fight other races and takes control of contested lands after the arrival of humans on Meltunia.

Main Features

Loadout

There are 4 weapons and 3 gears. The player starts the mission with a pistol,a classic rifle and he can buy a shotgun and a sniper rifle in the shop. Player can also has grenade and mine disponible at the beginning of the mission. When the shop is upgraded to the max level, the player unlocks the bomb used to destroy enemy base.

Construction

The player can access to headquarter to manage the construction of buildings. When the player has the necessary resources (workers, mana, meat), he can choose a building from a list and places it in the base area to start the construction. He can assign to the target building the number of workers he wants. When the construction is finished, the player can upgrade the building to increase statistics, upgrade is the same process than construction.

Ressources

To build his base, the player must collect resources, there are 3 types of resources : 

Workers : NPCs that construct buildings in the base, they must be transported by the player.

Mana : extracted from crystals that provide energy to build the base, crystal must be destroyed with weapons.

Meat : used to feed workers, animals must to be killed to get meat. All those resources need to be dropped on special location in the base.

JetPack

The jetpack is a part of the player’s equipment, it is available at the start of the mission. When player presses the space bar button, player will start to fly away and jetpack’s energy will decrease. If the energy reaches the 0 value, jetpack is stopped and the player has to wait a delay for jetpack to refill.

DocUMENTATION

For this project I made a document to explain my development patterns and how my code works :

First I have selected some features that I would like to explain in my document these features are related to gameplay pillars

Random Spawn Resources

I took the example of the crystals that give mana in the game, I explain how the random spawn works, first I set a box with different point in the world and I set the max number of crystals that can spawn in this box

Next a random point is selected and a line is drawn between this point and another random point taken in the box, if the line hits the landscape, a crystal spawn at the hit location

When the crystal spawns, its rotation needs to be adjusted to the world, to do this, I get the impact normal vector and the impact location is added to this vector.  The crystal rotation is set by looking at this new vector.

To see more features explained, you can download the full document

phoneSiteLogo

(+33)7.68.26.54.84.

mailSiteLogo.jpg

tristanbonnetpro@gmail.com