Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I am looking to change the collision size based on a variable in game. My first thought is to set the width of the sprite to a larger size. When doing this I would want the image to look the same which would means I need to adjust the width but also align center.
Is there a way I can do this from the Events page?
Develop games in your browser. Powerful, performant & highly capable.
Use an invisible helper sprite for collision detection, and pin your visible sprite to it.
Edit: For alignment, make sure the origin point is in the center of both objects.
Dang - Alrighty, I've used that way before but it seemed like extra work. But if it's the way to go I'll do it again.
(Edit: It was actually containers I used before)
Thanks for the input!