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

Make camera stop on death #45

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

Conversation

CaptainChicky
Copy link

Since you'd just infinetely fall on death, I figured it would be better to stop the camera on death.

I've seperated the camera and player calculations (and improved some formatting) so when you die, the camera stops and you just drop below the screen, but the background stays there.

Note that afaik the player's still being rendered so ig this might be a slight nuance but whatever

Also added some standard fixes of the imports and a gitignore

@JacobKnox
Copy link

Interesting that you chose to separate the camera and the player to accomplish this. On my fork, as far as I remember, I simply made the player stop if they hit a certain point so basically you hit the ground and just lay there lol.

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.

2 participants