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!