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

Add death feature in player menu #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

UltiNaruto
Copy link
Contributor

@UltiNaruto UltiNaruto commented Aug 21, 2023

Adds a death button in player menu

It calls CPlayerState::Kill(CStateManager&) to tell that the player is not alive which triggers the death animation and brings you to the game over screen.

@UltiNaruto
Copy link
Contributor Author

UltiNaruto commented Dec 5, 2023

Added a check if player is in cutscene and world load phase to prevent the player from dying again when pressing death button on game over screen

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.

1 participant