Saturday 29 November 2014

External class coding

Each of the units is going to have their own attributes such as speed, damage and health points. Also they will be performing different animations based on different act. Therefore, I will have to create the units using external classes to give them their own attributes.

As I am falling off in terms of schedule, I've started to test out the codes with unfinished graphic to do a prototype of the game to check if the game is working.

External class:



Attributes of each units will be something like this. I started off by testing on units summoning using click buttons, however in the actual game the enemy will be summoned based on a timer.

The buttons are the green and red circles.



No comments:

Post a Comment