Suggestion for collision detection

  • I have some objects (sprites) and, put a variable to store the type of object (enemy, friend, and others). I wanted to check if an object (player) collide with any object or any sprite, then a sub-event checks the type then perform an action, but it is not possible.

    It's possible, in a future version, add a condition like 'on collision with any object' or 'on collision with any sprite'?

    So we'll can make generics conditions. <img src="smileys/smiley1.gif" border="0" align="middle" />

    Sorry about my english, I don't speak this language highly, but i wish that text is understandable. <img src="smileys/smiley36.gif" border="0" align="middle" />

  • So welblade is asking for an 'any' sprite instead of selecting each sprite and creating unique events. If that's correct, I'd like to add a suggestions for sprite groups and group selection for collision events or maybe an OR option, I'd prefer sprite groups and group selection for events.

  • I think the "Families" feature from Classic solves this. We're still working on it for C2, but it basically allows you to group for example "Ork", "Troll" and "Monster" sprites in to one "Enemies" family. Then you can make events like "Player collides with Enemy".

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Ahh perfect, can't wait xD

  • Is that! Is what I need, well if you is already work in it, I can stay restful <img src="smileys/smiley36.gif" border="0" align="middle" />

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)