Map shifting
Posted: 05 Mar 2013, 06:10
Hi...
I am having trouble using openspace created maps,, my stage and maps created using openspace editor both are 765x478...
So the map should should fit to stage as openspace component is placed at (0,0) of stage. But the map is shifted for some x & y!!!
First I thought the problem may be scrolling and I stopped map scrolling by using openSpace.mapScrollingEnabled = false property after OpenSpace.MAP_RENDERED event is received. But I see that map still shifts!!!!??
And when I trace logs I get the following....
[INFO] Tiles creation progress: 100%
Map generation progress: 100%
[INFO] Map generation completed (144 ms)
[INFO] Map rendering duration: 9 ms
[INFO] Map shifted
[INFO] Avatars creation completed
[INFO] Map rendering completed
OpenSpace.MAP_RENDERED event received
[INFO] Map rendering duration: 2 ms
[INFO] Map shifted
[INFO] Avatar '25' created in (14,15,0)
How do I stop map from shifting?
Please do help....
I am having trouble using openspace created maps,, my stage and maps created using openspace editor both are 765x478...
So the map should should fit to stage as openspace component is placed at (0,0) of stage. But the map is shifted for some x & y!!!
First I thought the problem may be scrolling and I stopped map scrolling by using openSpace.mapScrollingEnabled = false property after OpenSpace.MAP_RENDERED event is received. But I see that map still shifts!!!!??
And when I trace logs I get the following....
[INFO] Tiles creation progress: 100%
Map generation progress: 100%
[INFO] Map generation completed (144 ms)
[INFO] Map rendering duration: 9 ms
[INFO] Map shifted
[INFO] Avatars creation completed
[INFO] Map rendering completed
OpenSpace.MAP_RENDERED event received
[INFO] Map rendering duration: 2 ms
[INFO] Map shifted
[INFO] Avatar '25' created in (14,15,0)
How do I stop map from shifting?
Please do help....