Strange grid

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

Moderators: Lapo, Bax

Post Reply
Nepaleno
Posts: 22
Joined: 06 May 2010, 06:28

Strange grid

Post by Nepaleno »

I wanted to build wall from one tile blocks, but what I got was this:

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

Post by Bax »

I don't get what is wrong with it.
Anyway I would suggest another approach: draw the wall on the background; you will obtain the same visual result, but you will also save tiles (not having unnecessary tiles is always good).
Paolo Bax
The SmartFoxServer Team
Nepaleno
Posts: 22
Joined: 06 May 2010, 06:28

Post by Nepaleno »

Problem is that wall isn't solid - it's a bit "staired". We wanted to give player possibility to build walls in their rooms, so having it in background isn't solution.
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

That might be due to the tile size and ratio. What are the values you use?
Paolo Bax
The SmartFoxServer Team
Nepaleno
Posts: 22
Joined: 06 May 2010, 06:28

Post by Nepaleno »

tileSize: 75
tileRatio: 0.5
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

75 x 0.5 = 37.5
The tile height is not a round value, that could be the reason.
Try using 74 or 76.
Paolo Bax
The SmartFoxServer Team
Post Reply