11 Commits

Author SHA1 Message Date
jparent
d6e5593012 wip on movement refactoring 2015-08-17 20:46:17 -04:00
Samuel
9de4c9ee7c - Updated CharacterBehavior
- Updated mapped dead animaition for vampire,squad,unit and zombie
- Removed unused variable in tag and layer manager.
- Updated sam_capture scene
- Updated sam_squad scene
2015-08-15 18:10:37 -04:00
Samuel
702f323edc - Improved the capture functionnality for Squad objects
-> see : http://http://unitydojo.blogspot.ca/2014/03/how-to-use-lerp-in-unity-like-boss.html
- Created ZombieSquad prefab
- Created VampireSquad prefab
2015-08-15 11:34:56 -04:00
Samuel
260a6c9941 - Updated Capture function and AbandonUnit function. 2015-08-14 12:57:47 -04:00
Samuel
c12f4497fd - Updated Unity Layers
- Refactoring rename Class TagManager to TagLayerManager
- Added Layer Property in class Unit.cs
- Updated method InitializeDefaultTagAndLayer in class ZombieSquad
	and VampireSquad
- Layers now are instancied at run time if the user ommit to specify a layer
  by default the human layer is set to any gameObject that have an Unit.cs script
  attached to it's component. Idem for ZombieSquad and VampireSquad
2015-08-14 12:22:10 -04:00
Samuel
a4320a4b80 - Added relative movement towards the squad leader (hard code) 2015-08-13 19:16:24 -04:00
Samuel
df64a801c1 - Added capture option 2015-08-13 19:09:23 -04:00
Samuel
93f8868ba1 - Upgraded the AttackSquad functions
- Upgraded the default positions of the prefabs : Zombie and Vampire
2015-08-13 15:25:55 -04:00
Samuel
dc19a98560 - Upgraded Squad, ZombieSquad, VampireSquad
- Refactored the class ZombieUnit, VampireUnit now are renamed
	to ZombieSquad and VampireSquad
2015-08-13 13:02:34 -04:00
Samuel
bc759b6ad9 - Improved Squad class
- Updated ZombieUnit and VampireUnit now hinerits from squad
2015-08-12 21:22:05 -04:00
Samuel
280fd57c2b - Added Squad script (not done)
- Updated Unit Hp property
- Added functions
	- addHuman
	- AddSoldier
	- healSquad( unit humanUnit )
	- abandonUnits( int nbUnits )
	- removeHuman( Unit humanUnit )
	- removeSoldier( Unit soldierUnit )
	- transformHuman() (not done)
2015-08-12 18:50:11 -04:00