Battle system design.

56 views
Skip to first unread message

Xpol Wan

unread,
Aug 18, 2015, 6:27:13 AM8/18/15
to Ash Framework
I'm designing a battle system

* The battle is between 2 sides: player and enemy.
* Each side has 2~4 heros and 10~100 troops.
* Troops and heros may have  attack type mele / ranged
* The ranged attack will create projectiles (bullets...). 


Does that mean I have to create a 2 component for side:

* PlayerSide
* EnemySide

and Uint types:

* Hero
* Troop
* Bullet

and attack type:

* Ranged
* Melee

It seems that in my battle system I have to create NodeList for: side + unit type + attack type

Did I do sth wrong? Any suggestions?


Reply all
Reply to author
Forward
0 new messages