Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Acheivement system #162

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

Sajan-Satheesh
Copy link

No description provided.

created generic singleton script and inherited enemy and player tank class from the generic class.
1. Created Generic singleton for enemy and player tank class.
2. fixed min attribute ambiguous issue.
Added the ability to destroy the gameobject instead of she script.
Added MVC functionality
Added movement to Tank Controller
1. Included different Tank types and Bullet types using scriptable objects.
2. Spawn enemies at different location with random patrolling.
3. Ability to shoot bullets and destroy enemy tanks.
When the player is destroyed, the other enemy tanks are destroyed and finally the whole world is destroyed slowly using coroutines.

'X' is assigned as key to destruct player for testing purpose.
Added a StateMachine to the TankController to manage different states of the enemy tank
Imlemented 3 types of Acheivements based on 1. Bullet fired, 2. Distance travelled, 3. Kills. using Observer pattern.

Each type have 3 different acheivement states to unlock based on parameters.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant