Add new function (Turn Finished) to combat prototype

Smithsonian Image

After being stuck few days, finally got this function work.

Basic idea of this function is recode player's actions in same turn and replay them after turn finished. After clicked the button for finish the turn, player will be moved back to the original place which is the place before this turn. Currently, this is a little bit confusing due to the animation, will add a shadow player icon for actions in one turn.

All these actions store in a Object which can be send to another player, and the program will combine all players actions which in same turn and calculate the values of health and Chi. Also player can make a long turn if they want:

Smithsonian Image

Next step should be network function, after that we can do some play test to improve our rules.

comments powered by Disqus