This site requires JavaScript, please enable it in your browser!
Greenfoot back
$neek
$neek wrote ...

2022/9/23

How do I make more accurate hitboxes?

$neek $neek

2022/9/23

#
Hello. I am currently about to start work on a project for school, a shooter-platformer game. Is there any simple way to make more accurate hitboxes? (atm I am just using isTouching(_cls_) and removeTouching(_cls) and the hitboxes are all square and too big)
danpost danpost

2022/9/24

#
$neek wrote...
Hello. I am currently about to start work on a project for school, a shooter-platformer game. Is there any simple way to make more accurate hitboxes? (atm I am just using isTouching(_cls_) and removeTouching(_cls) and the hitboxes are all square and too big)
More information is required. The "too big" part may be due to excess transparencies along the outer edges of some image(s). The required hitbox needs to be described as to what is and is not allowed as far as collisions go.
You need to login to post a reply.