Changeset 44


Ignore:
Timestamp:
04/21/09 15:56:00 (11 years ago)
Author:
maximinus_parpg
Message:

Added first version of code to split image into tiles.
Modified building tiles example.

Location:
trunk/PARPG
Files:
14 added
14 deleted
1 edited

Legend:

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

    r41 r44  
    88        <import file="../objects/ground/block/block.xml"></import> 
    99         
    10         <import file="../objects/buildings/build-fl.xml"></import> 
    11         <import file="../objects/buildings/build-fm.xml"></import> 
    12         <import file="../objects/buildings/build-fr.xml"></import> 
    13         <import file="../objects/buildings/build-frm.xml"></import> 
    14         <import file="../objects/buildings/build-bl.xml"></import> 
    15         <import file="../objects/buildings/build-bm.xml"></import> 
    16         <import file="../objects/buildings/build-br.xml"></import> 
     10        <import file="../objects/buildings/building-base0.xml"></import> 
     11        <import file="../objects/buildings/building-base1.xml"></import> 
     12        <import file="../objects/buildings/building-base2.xml"></import> 
     13        <import file="../objects/buildings/building-base3.xml"></import> 
     14        <import file="../objects/buildings/building-base4.xml"></import> 
     15        <import file="../objects/buildings/building-base5.xml"></import> 
    1716         
    1817        <import file="../objects/ground/grass/transition/grass-tc01.xml"></import> 
     
    7978                        <i x="1.0" o="brick" z="0.0" y="-3.0" r="0"></i> 
    8079                        <i x="2.0" o="brick" z="0.0" y="-3.0" r="0"></i> 
    81                         <i x="3.0" o="grass-a" z="0.0" y="-3.0" r="0"></i> 
    82                         <i x="3.0" o="grass-a" z="0.0" y="-2.0" r="0"></i> 
    83                         <i x="3.0" o="grass-a" z="0.0" y="-1.0" r="0"></i> 
     80                        <i x="3.0" o="brick" z="0.0" y="-3.0" r="0"></i> 
     81                        <i x="3.0" o="brick" z="0.0" y="-2.0" r="0"></i> 
     82                        <i x="3.0" o="brick" z="0.0" y="-1.0" r="0"></i> 
    8483                        <i x="3.0" o="grass-a" z="0.0" y="0.0" r="0"></i> 
    8584                        <i x="3.0" o="grass-a" z="0.0" y="1.0" r="0"></i> 
     
    122121    <layer x_offset="0.0" pathing="cell_edges_and_diagonals" y_offset="0.0" grid_type="square" id="TransitionLayer0" x_scale="1" y_scale="1" rotation="0.0"> 
    123122        <instances> 
    124             <i x="2.0" o="grass-ts01" y="-2.0" r="0" z="0.0"></i> 
    125123            <i x="1.0" o="grass-ts02" y="-1.0" r="0" z="0.0"></i> 
    126             <i x="2.0" o="grass-ts03" y="-1.0" r="0" z="0.0"></i> 
     124            <i x="2.0" o="grass-ts02" y="-1.0" r="0" z="0.0"></i> 
    127125            <i x="0.0" o="grass-ts06" y="-1.0" r="0" z="0.0"></i> 
    128126            <i x="0.0" o="grass-ts04" y="-2.0" r="0" z="0.0"></i> 
    129127            <i x="0.0" o="grass-ts12" y="-3.0" r="0" z="0.0"></i> 
    130128            <i x="1.0" o="grass-ts08" y="-3.0" r="0" z="0.0"></i> 
    131             <i x="2.0" o="grass-ts09" y="-3.0" r="0" z="0.0"></i> 
     129            <i x="2.0" o="grass-ts08" y="-3.0" r="0" z="0.0"></i> 
     130            <i x="3.0" o="grass-ts09" y="-3.0" r="0" z="0.0"></i> 
     131            <i x="3.0" o="grass-ts01" y="-2.0" r="0" z="0.0"></i> 
     132            <i x="3.0" o="grass-ts03" y="-1.0" r="0" z="0.0"></i> 
    132133        </instances> 
    133134    </layer> 
     
    136137                <instances> 
    137138                        <i x="0.0" o="boy" y="0.0" r="0" id="PC" z="0.0"></i> 
    138                         <i x="1.0" o="build-fm" y="-1.0" z="0.0" r="0"></i> 
    139                         <i x="2.0" o="build-fr" z="0.0" y="-1.0" r="0"></i> 
    140                         <i x="3.0" o="build-frm" z="0.0" y="-1.0" r="0"></i> 
     139                        <i x="2.0" o="block" z="0.0" y="-2.0" r="0"></i> 
     140                        <i x="1.0" o="block" z="0.0" y="-1.0" r="0"></i> 
     141                        <i x="2.0" o="block" z="0.0" y="-1.0" r="0"></i> 
     142                        <i x="1.0" o="block" z="0.0" y="-2.0" r="0"></i> 
    141143                        <i x="0.0" o="block" z="0.0" y="-1.0" r="0"></i> 
    142                         <i x="2.0" o="block" z="0.0" y="-2.0" r="0"></i> 
    143                         <i x="1.0" o="block" z="0.0" y="-2.0" r="0"></i> 
     144                        <i x="0.0" o="block" z="0.0" y="-2.0" r="0"></i> 
    144145                        <i x="0.0" o="block" z="0.0" y="-3.0" r="0"></i> 
    145146                        <i x="1.0" o="block" z="0.0" y="-3.0" r="0"></i> 
    146147                        <i x="2.0" o="block" z="0.0" y="-3.0" r="0"></i> 
    147                         <i x="0.0" o="block" z="0.0" y="-2.0" r="0"></i> 
     148                        <i x="3.0" o="block" z="0.0" y="-3.0" r="0"></i> 
     149                        <i x="3.0" o="block" z="0.0" y="-2.0" r="0"></i> 
     150                        <i x="3.0" o="block" z="0.0" y="-1.0" r="0"></i> 
    148151                </instances> 
    149152        </layer> 
Note: See TracChangeset for help on using the changeset viewer.