Daria602 / SpacePatrol

A game in Unity developed for learning purposes.
0 stars 0 forks source link

Create checkpoints before damaging obstacles #44

Open Daria602 opened 1 year ago

Daria602 commented 1 year ago

Essentially the checkpoints are the safe spots somewhat close to the damaging obstacle. Implement the prefab of checkpoint and write the code to teleport the player to it in case it has taken damage. Function of teleportation should be used in OnDamageTaken function of PlayerController script