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

Should have delay before spawning for death animation #21

Open
KatrinaHoffert opened this issue Nov 30, 2016 · 1 comment
Open

Should have delay before spawning for death animation #21

KatrinaHoffert opened this issue Nov 30, 2016 · 1 comment
Labels

Comments

@KatrinaHoffert
Copy link
Owner

KatrinaHoffert commented Nov 30, 2016

Should disable the player's collider. Set a time at which they are to respawn. Then trigger the death animation. Once the time is reached/exceeded, send them to the spawn point and re-enable the collider. Clear the respawn time. This means that we gotta have a respawn time for them. Probably in the LevelManager. The death time can be longer than the animation if we simply have it be a boolean and NOT loop (stay in the last frame). Unset that boolean when we respawn.

@KatrinaHoffert
Copy link
Owner Author

This cannot be done until #19 is done.

@KatrinaHoffert KatrinaHoffert self-assigned this Dec 7, 2016
@KatrinaHoffert KatrinaHoffert removed their assignment Dec 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant