Skip to content

help with collision #139

Answered by Annoraaq
fernandopabst asked this question in Q&A
Jun 1, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Hi Fernando,

I am happy to hear you like the plugin.

I think I found your issue. You are using collides as a tile property but you are not setting this in the configuration. It used to work with versions < 2.0.0 of GridEngine. But since version 2, ge_collide is the default name for the collision property. You now have 2 ways to solve your problem:

  1. You use Tiled and change the name of the collision property from collides to ge_collide in all your tilemaps.

  2. You add collisionTilePropertyName: 'collides' to your GridEngine config: https://annoraaq.github.io/grid-engine/api/config.html

I think the documentation might be a bit confusing about this because

  1. the screenshot here is out of d…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@fernandopabst
Comment options

@Annoraaq
Comment options

Answer selected by splashsky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants