Xhizors
Member
|
[ Discuss ] :: Basic combat system ::
My system works like this, when the player presses a monster you will get information on how much hp it has. Then if you press one more time on that it will calculate the distance from the player to monster, if this distance is <1 the player will start moving to monsters, when it is in range the player will send a "Start Attack" message. After that the monster will be set as "Target" to the player.
Now, the player will change animation state to attack and after that this target will be updated and call the damage function and deal damage in some sort of interval..etc etc
I would like to discuss this because I believe many will benefit from knowing how to set up this kind of system.
- Thank you -
|
|
08-29-2009 07:33 PM |
|
Xhizors
Member
|
Re: [ Discuss ] :: Basic combat system ::
No one has ever done a combat system? What about your RPG Game Esenthel, How did you handle the combat?
Cheers.
|
|
08-31-2009 07:57 AM |
|
Esenthel
Administrator
|
Re: [ Discuss ] :: Basic combat system ::
Esenthel RPG system is very similar to the one in Bloody Massacre tech-demo
|
|
09-02-2009 10:05 PM |
|