15 Commits

Author SHA1 Message Date
samJa
c9a5226d5f - Fix Team tag bug. 2015-08-21 15:12:27 -04:00
samJa
ae2750836d - Updated Human prefab
- Updated scene Integration
- Updated VampireSquadPrefab
- Updated scene Squad
2015-08-21 15:03:26 -04:00
samJa
c317eed2f9 - Added Squad HP UI
- Updated Squad script
- Added Texture folder
	- Added a hp foreground texture
	- Added a hp background texture
- added a hp canvas for vampire and zombie squad
2015-08-21 13:35:34 -04:00
samJa
909eb9c31f - Removed useless comments. 2015-08-20 14:13:05 -04:00
samJa
3a5294091b - Updated prefabs
- VampireSquad
	- ZombieSquad
- Removed class
	ZombieSquad
	VampireSquad
- Refactoring
	- Updated Squad.cs
	- Updated Unit.cs
- New functions
	- Now the class unit have new class members
	- The the Squad class have new class members and functions
2015-08-20 14:01:28 -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