Jump to content

Hitbox functionality in Contruct 2?


Celestient

Recommended Posts

Hi Celestient,

 

The trick with Spriter's collision boxes in C2 is that the import converts them to regular C2 Sprites, but invisible.  You can check for overlaps or collisions directly with the sprites themselves, which will have the same names as the collision rectangles you had created in Spriter.

 

Cheers,

Mike at BrashMonkey

Link to comment
Share on other sites

  • 4 years later...
10 hours ago, Microtoon said:

Hi!

Please, help me!

How use Spriter pro hitbox in Construct 2 if i use "draw self" and spritesheets with .scon file?

Thank you! 

Worst case scenario you're going to have to switch the Scml object to the non draw self mode and re-import it, which will get Construct to generate the hit box sprites, after which point you can switch back to draw self mode and delete the individual construct sprites (EXCEPT for the hit box sprites, don't delete them!)

But before you do that, check if there is a folder that was generated when you imported the scml file that has your hitbox sprites in there. These are the sprites you'd check for collision with to get the Spriter hit boxes to work within Construct.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...