[Feature Request] - Multiple collision polygons per Sprite.

Discussion and feedback on Construct 2

Post » Wed Jun 24, 2015 12:53 pm

Much like imagepoints where you can add more, it would be great to have more collision polygons per Sprite. Current workaround is to create a dummy sprite which is not very handy. You can either have these dummy sprites within a container of an object or you can create a the dummy sprites with actions. Either way this is kind of a pain to work with.

It would be nice if these could be used through expressions using index based collision polygons

Sprite1.CollisionPolygonAt(0) Is overlapping Sprite2.CollisionPolygonAt(3) - or something in terms of that.

Another thing that would be nice is enabling collisions for BBox boundaries as well.
Sprite1.BBox is overlapping Sprite2.BBox
Follow my progress on Twitter
or in this thread Archer Devlog
Posts: 944
Reputation: 12,210

Post » Wed Jun 24, 2015 2:21 pm

It would be nice to have for isometric games as well. For example, if you have a treasure chest, you want the entire thing to be a clickable object, so you set the collision points to cover the whole object. However, for pathfinding, you want it so the character can walk behind the chest, so only the bottom of the object needs to be solid. So, you would need another sprite put on top of it for this.
Posts: 340
Reputation: 22,721

Return to Construct 2 General

Who is online

Users browsing this forum: jefftrier and 7 guests