Map won't scroll

Post here your questions about the OpenSpace 1.x or notify bugs and suggestions.

Moderators: Lapo, Bax

Post Reply
thg
Posts: 12
Joined: 13 Nov 2008, 09:37

Map won't scroll

Post by thg »

On highly elevated tiles around tile 0 the map will not scroll upwards. So my avatar walks out of the viewport.
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

Can you post a screenshot please?
Paolo Bax
The SmartFoxServer Team
thg
Posts: 12
Joined: 13 Nov 2008, 09:37

Post by thg »

How do I upload a picture?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

The board doesn't support direct uploading but if you can publish it anywhere (imageshack, photobucket...) you can then publish it here using the Img button in the message editor.
Lapo
--
gotoAndPlay()
...addicted to flash games
thg
Posts: 12
Joined: 13 Nov 2008, 09:37

Post by thg »

Ok, regard the avatar legs in the top of the picture.

Seems like os won't scroll as you get closer to the corners.

Image
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Might depend on the design of the map.
For example... how did the character got up there? I am not able to see any ladders going up to that platform...
Lapo
--
gotoAndPlay()
...addicted to flash games
thg
Posts: 12
Joined: 13 Nov 2008, 09:37

Post by thg »

In this case I used teleport.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

I think that this is happening because the scroller can't go back any further than that. In other words the scroller can go up to the top limit of the map (0,0,0) but not over that. It seems like the projection of that "tower" goes way past the origin of the map causing the visual problem.

To better understand this try running the Slopes example coming with the OpenSpace bundle. Once there try teleporting to 0,0 and you will see exactly what I mean.

To solve the issue you should edit your map so that the visible part of the tower stays withing the physical limits of the map. There are many ways to do it: move it down a little, make it shorter or both.
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply