VDP-noclip / noclip

NOCLIP is an experimental game in which you “noclip” the environment to solve puzzles.
3 stars 1 forks source link

Implement a new respawning mechanism and a centralized collision detection #28

Closed spig95 closed 1 year ago

spig95 commented 1 year ago

Changes

I have tried to implement a respawn mechanism that is automatised. In the sense that, if we give the RespawningManager to the parent element, it automatically respawns all the child when a checkpoint has been hit or if we hit the outOfBounds platform. This is plug and play, it should work in every scene without manually changing the prefab.

Bullet points overview:

Remarks

Interesting fact: I have changed all the prefabs, canceled scripts, and did not any change at all Scene_1... but Scene_1 is still working! :) Anyway I kept Scene_3_new_respawn_structure.unity as I am afraid of conflicts if other PRs get merged, feel free to remove it!