knowing the grid width and height

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

Moderators: Lapo, Bax

ffourcad
Posts: 130
Joined: 25 Feb 2010, 10:26

knowing the grid width and height

Postby ffourcad » 02 Mar 2010, 11:06

Hello,

I can't find the answer to my question in the forums, nor in the doc, so here it is : I'd like to know the actual grid size (in number of tiles), ie max px and max py.
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 02 Mar 2010, 17:27

Can you please describe the reason why you need this information?
Paolo Bax
The SmartFoxServer Team
ffourcad
Posts: 130
Joined: 25 Feb 2010, 10:26

Postby ffourcad » 03 Mar 2010, 08:28

I wanted to search across the whole grid to create an array with all the skins, and their tile associated, with some additional info specific to my game.
User avatar
Bax
Site Admin
Posts: 4612
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 04 Mar 2010, 09:37

We will take this suggestion into account and add a method to retrieve the map grid size.
Paolo Bax
The SmartFoxServer Team
ffourcad
Posts: 130
Joined: 25 Feb 2010, 10:26

Postby ffourcad » 04 Mar 2010, 09:49

That would be really great, thank you

Return to “OpenSpace v2 discussions and help”

Who is online

Users browsing this forum: No registered users and 41 guests