Made the tiles 1/2 their current size. (16x16 instead of 32x32)

This commit is contained in:
ostaf
2011-05-14 15:27:25 +00:00
parent c4fbb62846
commit 9c4b46aeca
2 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ namespace SS3D.Modules.Map
public BaseTile[,] tileArray; // The array holding all the tiles that make up the map
public int mapWidth; // Number of tiles across the map (must be a multiple of StaticGeoSize)
public int mapHeight; // Number of tiles up the map (must be a multiple of StaticGeoSize)
public int tileSpacing = 32; // Distance between tiles
public int tileSpacing = 16; // Distance between tiles
public AxisAlignedBox[,] boundingBoxArray;
private OgreManager mEngine;

View File

@@ -12,8 +12,8 @@ namespace SS3D_shared
public Mesh wallMesh;
public Mesh spaceMesh;
private float tileX = 16.0f; // How far from X = 0 relative to the tile it extends
private float tileZ = 16.0f; // How far from Z = 0 relative to the tile it extends (this should always == tileX so i don't know why i put this here)
private float tileX = 8.0f; // How far from X = 0 relative to the tile it extends
private float tileZ = 8.0f; // How far from Z = 0 relative to the tile it extends (this should always == tileX so i don't know why i put this here)
private float tileBottom = 4.0f; // The "bottom" of all tiles - how far under Y = 0 it extends
private float floorHeight = 0.0f; // How far above Y = 0 the top of a floor is
private float wallHeight = 40.0f; // How far about Y = 0 the top of a wall is