babymumu Posted January 3, 2016 Report Share Posted January 3, 2016 Hi I got another question to bother you guys. How can I decide the size of the collision rectangle I created in Construct 2 to match exactly that of the player animation? I don't know how to decide the size of the rectangle to contain the player in Construct 2. Thanks for the help! Quote Link to comment Share on other sites More sharing options...
Mike at BrashMonkey Posted January 4, 2016 Report Share Posted January 4, 2016 Your question is worded a little vaguely. By Rectangle, I can only assume you mean a (rectangular shaped) C2 sprite you created which you are attaching the Spriter object to. If so, you can resize this rectangle in the frame editor to whatever size and proportions you'd like. As far as deciding on the size, that is up to you... you have to try something, play test it, and change it until it feels right. In general, hit boxes that can get the player hurt should be smaller than the actual animations (so a player cant be killed when a bullet touches the tip of his tail) and collision boxes which let the player attack should be a bit bigger than the visual representation of the attack (to give the player a slight additional advantage). Am I misunderstanding your question? Cheers. -Mike at BrashMonkey Quote Link to comment Share on other sites More sharing options...
babymumu Posted January 7, 2016 Author Report Share Posted January 7, 2016 Thank you for you reply! You answered my question well. I also found that using image point of the Spriter animation parts as the collision zone is quite effective. Setting a mini collision box onto the image point position works even better. Really enjoy learning and using Spriter! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.