Collision Box (Construct 2 Behaviours)

You're viewing a single comment in a conversation. View all the comments
  • 2 Comments

  • Order by
  • It's a nice idea but, it's for objects that have image points, and it looks like its one box per behavior. Suggestions include defining image points using x,y angle and distance at runtime, and multiple indexed instances per behavior. Then perhaps defining a poly rather than just a box, but that would be another thing most likely.

    • Well, all world objects have image points. At least one, the hotspot.

      You can already define a collision using X and Y offset from the hotspot and angle.

      Multiple collisions per behavior would just make the behavior a lot harder to use and to maintain and would probably cause a few bugs in the process. Keeping it simple helps avoid these issues.

      And even though I named it collision box, given that it actually uses a sprite for collision, it can be any collision polygon a sprite allows for. So anything that isn't a circle.