Commit graph

8 commits

Author SHA1 Message Date
42706712aa Implemented shooting
Fixed abstract character not depleting energy when reaching zero
Created prefabs for player and enemy bullets
Added physics layers for players and enemies
2019-09-19 12:36:24 +02:00
f6529e33da Moved default values away from Start() in AbstractCharacter 2019-09-19 12:06:23 +02:00
5d4c030d9b Bullet despawn on leaving view 2019-09-19 11:38:00 +02:00
505715a368 Fixed typo in Enemy
Fixed NRE in Mover
2019-09-19 10:53:03 +02:00
37e8c8d689 Implemented Bullet component
Added Death() method to AbstractCharacter
Implemented basic bullet collision detection and effect
2019-09-17 20:45:08 +02:00
98402a90f7 Protect against NPE if no AbstractCharacter
Made Speed a property to allow other Objects that are not Characters to use the Mover
Init in Awake() to allow other objects to modify its properties during their Start()
2019-09-17 20:33:17 +02:00
ea9203ca8a Implemented movement
AbstractCharacter mainly fleshed out
InputManager is done
Player movement is done, not ennemy
Energy management is done (AbstractCharacter)
2019-09-17 18:52:55 +02:00
99013c5d7a Project init, basic structure 2019-09-17 15:54:01 +02:00