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

2016/1/29

How to get the location of an actor in a scrolling level?

Sukitsune Sukitsune

2016/1/29

#
Hello everyone. Currently I'm struggling with the problem of getting the location of an actor on the background. The problem about that, is that I have a scrolling screen, so that only a 400/400 window is visible but I need the location of the actor on the whole background (1125x828).
danpost danpost

2016/1/29

#
The scrolling offsets need to be used along with the current location within the window to determine the actual location within the scrolling world.
Sukitsune Sukitsune

2016/1/29

#
Thanks a lot
You need to login to post a reply.