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

Cool camera #13

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Cool camera #13

wants to merge 4 commits into from

Conversation

Roboticy3
Copy link
Collaborator

Camera is now cooler.

To summarize, here are the docs from the brand spanking new PreceedTargetCamera.gd script:

Have a camera that moves to anticipate the target's movement, moving ahead of them
The "camera" also interacts with colliders, for this reason, the script should be attached to a CharacterBody2D
The CharacterBody2D should have a camera and its own collider as children
The CharacterBody2D's collision layers shouldn't interact with the base terrain,
but should with colliders denoting level borders.

Pull the branch and launch the test level to try it out!

@JCresent
Copy link
Member

I like the base concept. Think the bounce (when you jump) could be dialed back, but like how it follows left to right. Think this is a step in the right direction for our little pudding guy.

Copy link
Member

@JCresent JCresent left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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