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

Entity base #12

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

Entity base #12

wants to merge 3 commits into from

Conversation

Roboticy3
Copy link
Collaborator

:))))

@Roboticy3
Copy link
Collaborator Author

The new Boulder and 50_damage_area entities in the top-level Entities folder should provide pretty good base scenes to inspire whatever we need.

Boulder is a destructible, falling rock. To make a destructible object that doesn't fall, add a StaticBody to the scene with the EntityHurtbox script attached and a EntityHealth child, make sure the scripts are referencing eachother properly by setting their references in the inspector panel, and voila!

50_damage_area does 50 damage to anything that passes through it. You can copy the entity's scene file to make a new one, then change the amount of damage it does in the DamageSource node.

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