14 Commits

Author SHA1 Message Date
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
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
df64a801c1 - Added capture option 2015-08-13 19:09:23 -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
Samuel
2eaea24800 - Updated scene (now the zombie game object contains the script that alow
them to attack and receiven damage.)
- Updated Unit script
2015-08-12 13:02:02 -04:00
Samuel
4690abe842 - added zombie material (temporary)
- Updated class unit (added a destroyUnit method)
- Updated ZombeUnit and VampireUnit, now the class detect that there are
	ennemies and will attack each other when intering in collision.
2015-08-11 14:39:32 -04:00
Samuel
1571326998 - Added CollisionEnter scripts 2015-08-11 14:06:23 -04:00
Samuel
5837a7f2c9 - Added Tag manager
- Added Class ZombieUnit (extends the Unit class)
- Added class VampireUnit (extends the Unit class)
2015-08-11 12:09:17 -04:00
Samuel
18c585cd29 - Added scene Sam_unitScene
- Updated .gitignore (added thumbs.db.meta and UnityVS project folder)
- Added class Unit (not finish)
- Added class Command (not finish)
2015-08-10 18:29:37 -04:00