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

tiled loading for hanging bags #22

Closed
davidjtferguson opened this issue Sep 29, 2018 · 1 comment
Closed

tiled loading for hanging bags #22

davidjtferguson opened this issue Sep 29, 2018 · 1 comment
Assignees
Labels
must have this feature is required

Comments

@davidjtferguson
Copy link
Owner

Now got basic hanging bags, need to be able to load them from tiled with the following flags:

xSpawn: x location for the 'anchor' object the bag is hanging from is
ySpawn: x location for the 'anchor' object the bag is hanging from is
ropeLength: distance between the spawn point and the actual bag
bagWidth: width of the bag
bagHeight: height of the bag
pivitingJoint: if true, add another joint between the bag and the end of the 'rope' so the bag rotates around the point where it meets the rope. Otherwise keep it as is where the bag rotates around the anchor

@davidjtferguson davidjtferguson self-assigned this Sep 29, 2018
@davidjtferguson davidjtferguson added the must have this feature is required label Sep 29, 2018
@davidjtferguson
Copy link
Owner Author

Completed in pull request #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
must have this feature is required
Projects
None yet
Development

No branches or pull requests

1 participant