Page 1 of 1

how to display the avatar 's location of whole map?

Posted: 19 Jun 2010, 06:01
by huhailong
how to display the avatar 's location of whole map on openspace ?
because my map is large, screen only display a small part of the map.
i want to avatar know current location of whole map.
need display a thumbnail on screen and label the avatar 's current location of whole map.

Posted: 19 Jun 2010, 08:17
by Bax
Are you talking about a sort of minimap with avatar positions?
If yes, you will need to take a screenshot of the map (you can do this in the OpenSpace Editor) then create your own logic to read the avatar coordinates with respect to the map container, and convert the coordinates to display the avatar position on the minimap.

This is briefly the approach I would take, but maybe other forum users have a different approach to suggest.

Posted: 24 Jun 2010, 06:53
by huhailong
can i make a java applet to do the screenshot of the map ?

Posted: 24 Jun 2010, 07:33
by Bax
I don't get how a java applet can take a screenshot of a map which is inside a Flash component, and not completely visible too.