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

One-way collision detection #46

Closed
splashsky opened this issue Mar 3, 2021 · 3 comments
Closed

One-way collision detection #46

splashsky opened this issue Mar 3, 2021 · 3 comments
Labels
enhancement New feature or request
Projects

Comments

@splashsky
Copy link

Hey there! Love the project, happy to see grid based movement get the love it deserves.

One improvement I think would help significantly is Tiled custom properties support for one-way collision, i.e. I can set collideOnly: UP to a tile and so you can walk through it from any direction but the top.

I'll also try and look into contributing on this idea as well.

Thanks!

@Annoraaq
Copy link
Owner

Annoraaq commented Mar 3, 2021

Hi @splashsky, thank you. It is great to hear you like the project!

I think it's a great idea. I will set it up for the next milestone 🚀

@Annoraaq Annoraaq added this to the 1.6.0 milestone Mar 3, 2021
@Annoraaq Annoraaq added the enhancement New feature or request label Mar 3, 2021
@Annoraaq Annoraaq added this to To do in Development via automation Mar 3, 2021
Annoraaq added a commit that referenced this issue Mar 5, 2021
Annoraaq added a commit that referenced this issue Mar 5, 2021
Annoraaq added a commit that referenced this issue Mar 5, 2021
@Annoraaq
Copy link
Owner

Annoraaq commented Mar 5, 2021

Changes are merged on master and will be in 1.6.0 release.

Documentation is here:

https://github.com/Annoraaq/phaser-grid-movement-plugin/wiki/Tile-Properties

An example can be found here:
https://annoraaq.github.io/phaser-grid-movement-plugin/examples/

@Annoraaq Annoraaq closed this as completed Mar 5, 2021
Development automation moved this from To do to Done Mar 5, 2021
@Annoraaq
Copy link
Owner

Annoraaq commented Mar 5, 2021

@splashsky a new version 1.6.0 is now live including the one-way collision

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants