Skip to content

Make camera stop on death#45

Open
CaptainChicky wants to merge 1 commit intoPolyMarsDev:mainfrom
CaptainChicky:main
Open

Make camera stop on death#45
CaptainChicky wants to merge 1 commit intoPolyMarsDev:mainfrom
CaptainChicky:main

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