This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
darkmist255
wrote ...
2011/12/9
getX() and getY(), what point is actually returned?
darkmist255
2011/12/9
#
When I use getX() or getY(), what point on the actor is actually returned? A corner, the middle?
bourne
2011/12/9
#
The middle. An Actor's image is centered around its location
darkmist255
2011/12/9
#
Thanks :D. So if I were to use different resolution images (move up, down, left, right) it shouldn't give me funky results?
bourne
2011/12/9
#
Same concept applies.
darkmist255
2011/12/9
#
Thanks :D!
You need to login to post a reply.
X