Solarus-Games English Forum

Solarus => Development => Topic started by: zutokaza on January 10, 2017, 01:26:15 AM

Title: Hit box size?
Post by: zutokaza on January 10, 2017, 01:26:15 AM
What is the size of the hit box?
Title: Re: Hit box size?
Post by: Diarandor on January 10, 2017, 06:49:57 AM
Quote from: zutokaza on January 10, 2017, 01:26:15 AM
What is the size of the hit box?

What do you mean by "hit box"?

If you mean the bounding box, you may need this:
http://www.solarus-games.org/doc/1.5/lua_api_entity.html#lua_api_entity_get_bounding_box
Title: Re: Hit box size?
Post by: zutokaza on January 10, 2017, 07:24:02 AM
@Diarandor
Oh, I have only seen it referred to as the hit box. A lot of people want the ability to resize it, but I wanted to just know the size. The bounding box is 16x16. Thank you Diarandor!