Skip to content
This repository has been archived by the owner on Jun 7, 2018. It is now read-only.

More customization for "entity:overlaps(other_entity, "sprite")" #1159

Open
Diarandor opened this issue Mar 21, 2018 · 1 comment
Open

More customization for "entity:overlaps(other_entity, "sprite")" #1159

Diarandor opened this issue Mar 21, 2018 · 1 comment
Assignees

Comments

@Diarandor
Copy link
Contributor

It would be nice and very useful to give more parameters to "entity:overlaps(other_entity, "sprite")" to choose the sprites considered for the collision. Something like:
entity:overlaps(other_entity, "sprite" [, entity_sprite, other_entity_sprite])

@Diarandor
Copy link
Contributor Author

@christopho Could this be done for Solarus v1.6? This would be very useful to detect collisions with the shield (and other different collisions) if they depend on the sprite of the enemy.

shuhaowu pushed a commit to shuhaowu/solarus-engine that referenced this issue Dec 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants