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

2019/3/30

Large hit box

Erasedsword Erasedsword

2019/3/30

#
In the game I’m working on, most of the hit box’s work fine, however the one for the ship is massive. Is there any way of making it smaller. I used pikel to make it. It is supposed to lose health whenever it is touched by the enemy lazer, however it’s saying it’s touched from halfway across the screen
Super_Hippo Super_Hippo

2019/3/30

#
I have no clue what "pikel" is. However, make sure that there are no needless transparent areas around your images. As an alternative, you can use methods which do not take the image into account, but only the position of the object.
You need to login to post a reply.