Changeset 384


Ignore:
Timestamp:
11/19/09 09:24:03 (10 years ago)
Author:
barra_parpg
Message:

Patch by mvbarracuda:

  • Discovered base tile size problems, perfect isometric tiles are width = height*2; therefore 72*36 is correct, not 72*38
  • The new reference tile size should also fix problems with 1px gaps between the tiles
  • Now the grid (press t) seems to perfectly allign with our tiles
Location:
trunk/game/maps
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/game/maps/map.xml

    r368 r384  
    18741874        </layer> 
    18751875 
    1876         <camera id="main" ref_cell_height="38" ref_cell_width="72" ref_layer_id="ObjectLayer" rotation="45.0" tilt="-60.0" zoom="1.0" /> 
     1876        <camera id="main" ref_cell_height="36" ref_cell_width="72" ref_layer_id="ObjectLayer" rotation="45.0" tilt="-60.0" zoom="1.0" /> 
    18771877</map> 
  • trunk/game/maps/map2.xml

    r368 r384  
    10221022        </layer> 
    10231023 
    1024         <camera id="map2" ref_cell_height="38" ref_cell_width="72" ref_layer_id="ObjectLayer" rotation="45.0" tilt="-60.0" zoom="1.0" /> 
     1024        <camera id="map2" ref_cell_height="36" ref_cell_width="72" ref_layer_id="ObjectLayer" rotation="45.0" tilt="-60.0" zoom="1.0" /> 
    10251025</map> 
  • trunk/game/maps/shanty.xml

    r147 r384  
    107107        </layer> 
    108108 
    109         <camera ref_cell_width="72" zoom="1.0" tilt="-60.0" id="main" ref_layer_id="ObjectLayer" ref_cell_height="38" rotation="45.0"> 
     109        <camera ref_cell_width="72" zoom="1.0" tilt="-60.0" id="main" ref_layer_id="ObjectLayer" ref_cell_height="36" rotation="45.0"> 
    110110        </camera> 
    111111</map> 
Note: See TracChangeset for help on using the changeset viewer.