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

Entity1037's Comments

Back to Entity1037's profile

LOL I mean bottomRightX-topLeftX. (whoops)
You know, if you were to get the absolute value of bottomLeftX-topLeftX, it would give you exactly the correct width? The same goes for the Y values to! Don't you think that would of been easier for us? :P
Well alright. Thank you!!!
OK you totally got this idea from my discussion post! :P
THIS FRIGGIN HIT DETECTION IS SO STUPID! WHY AM I FALLING THROUGH THE PLATFORM??!?!?!!!! I'M RIGHT ON IT!!!
Entity1037Entity1037

2013/9/29

You're welcome! :D
Entity1037Entity1037

2013/9/29

Try using: [code] getOneIntersectingObject("[Insert Name Here].class"); [/code] instead of: [code] getOneObjectAtOffset(0,0,[Insert Name Here].class); [/code] It will detect an apple intersecting with the penguin's image instead of the center of the penguin.
How the HECK does this happen??!?!?!?!!!!