Features - SKCarlsson/DungerMan GitHub Wiki

On this page we will show the different features included in our game. The descriptions will be acompanied with pictures and perhaps videos.

Attacks

Each player have two attacks. One normal and one special, each requiring a different amount of Rage(Warrior)/Mana(Wizard).

-Warrior (Melee)

The warriors main attack is free of charge, and on each attack will generate rage which is the useable for the special ability. The special ability is bigger than the normal attack and requires 75 rage (3 normal attacks) to activate, this ability instantly kills the enemies.

-Wizard (Ranged)

The wizards main attack cost a bit of mana, but has a much higher attack speed. This is to ensure ability spamming is not misused and allows bursts of attacks from the wizard. The special ability requires all of the wizards mana to activate and is a huge AOE attack where about 1/4 of the screen is covered and instantly kills the enemies.

Round timer

The gameplay is based around "Rounds" which means that when one wave of enemies is killed another wave spawns. The wave will get harder after 5 rounds and new enemies will appear.

2-Player

The game features the ability to play two players together on the same wifi network. This will be explained further in the Network chapter.

Mobile

The game are developed for mobile gaming. The game works on android and have not yet been tested on iOS. The game works flawlessly with the Unity Remote App on both Android and iOS.

Network

The network is setup with Unity's master server. This means the the connections happen through a spot in unity's master server at port 25001. When refresh is pushed in the game it will look for all active games on the current net IP, and if it finds an active game it is possible to connect to it, assuming the 3 IP channel is the same (first 3 numbers in the IP adress). Different small function are created to allow the refreshing of servers to run for 3 seconds, to clean up the instantiated objects a player brought when leaving the server. All coding related to the connection to the server is on the game object NetworkManager in the script of same name, although there is network related coding in the other scripts such as when instantiating objects for the game it is done with "Network.Instantiate..." etc.