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

2014/4/6

Actor size is larger than it appears to be.

AlexFeetham AlexFeetham

2014/4/6

#
So in my game at the moment the actor's sizes appear to be larger than they actually are. For example when the player (actor A) walks off the edge of a platform (actor B) it keeps going for longer than the actual platform appearing to walk on midair for a short period of time before going too far and falling. What can I do to remedy this?
danpost danpost

2014/4/6

#
Your images probably have some excess surrounding transparency on them. Remove the excess so intersection occurs at minimal width and height of your images. If you do not have an image editor that supports transparency (uses white-space instead of transparent) download my Image Transparency Adder/Trimmer scenario and remove the excess with it (all you have to do with an image is load it and save it to remove excess transparency).
AlexFeetham AlexFeetham

2014/4/6

#
That's definately not the issue but I checked with your scenario regardless. I made the images in photoshop by creating a new image of the pixel height/width I wanted it to be and filling the area with a colour.
AlexFeetham AlexFeetham

2014/4/6

#
Actually no I think you're right, its an issue with the image of the actual player character. Cheers danpost =)
You need to login to post a reply.