Problem when map loads...

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

Moderators: Lapo, Bax

fabianres@live.com.mx
Posts: 40
Joined: 14 Apr 2010, 17:40

Problem when map loads...

Postby fabianres@live.com.mx » 11 Sep 2010, 02:28

Okay so my maps are 740*480 and the Openspace output box is the same size. My game has several maps, all of them the same 740*480.

The problem is ...that when some maps load, they load and appear to be "moved" out of position, like in the following image, the avatar has to actually walk in the opposite direction for the map to scroll and position itself in the right place...

Image

How can I avoid this and the scrolling...

I would like for the maps to load exactly like they should, filling up the Openspace output box...

Is the solution to deactivating this scroll in the .fla code?

This code was based on the Ranch Example by the way.

I need help please.

Everything up to the map around that tree is non walkable.

Fabian
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 13 Sep 2010, 08:25

In OpenSpace v1, to solve this issue you must have a background with the same size of the whole grid.
In OpenSpace v2, instead, there's a new feature allowing you to set virtual map borders which prevent the scrolling to occur.
Paolo Bax
The SmartFoxServer Team

Return to “OpenSpace v1 discussions and help”

Who is online

Users browsing this forum: No registered users and 15 guests