Changeset 393 for trunk/game


Ignore:
Timestamp:
11/24/09 11:51:36 (10 years ago)
Author:
barra_parpg
Message:

Patch by Sirren & mvbarracuda:

  • Guard tower in 8 rotations (we might just need 4 for the techdemo: 45, 135, 225, 315)
  • Added rotations to the object definition file
  • x and y shifts are currently NOT correct for the rotated versions besides 225°
  • Addresses [t:191]
Location:
trunk/game
Files:
7 added
3 edited

Legend:

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

    r391 r393  
    36113611                        <i id="woman01" is_open="None" locked="None" name="Tina" o="npc_woman" object_type="NonPlayerCharacter" r="0" target_map="None" target_map_name="None" target_x="None" target_y="None" text="A friendly woman" x="-5.0" y="-7.0" z="0.0" /> 
    36123612                        <i id="crate02" is_open="False" locked="False" name="A dirty old crate" o="crate" object_type="WoodenCrate" r="0" target_map="None" target_map_name="None" target_x="None" target_y="None" text="A crate that is covered in grime and dirt. There doesn&apos;t seem to be anything remarkable about it" x="-2.0" y="-11.0" z="0.0" /> 
    3613                         <i o="guard_tower" r="0" x="11.0" y="-12.0" z="0.0" /> 
    3614                         <i o="block" r="0" x="8.0" y="-9.0" z="0.0" /> 
     3613                        <i o="guard_tower" r="180" x="11.0" y="-12.0" z="0.0" /> 
    36153614                        <i o="block" r="0" x="8.0" y="-10.0" z="0.0" /> 
    3616                         <i o="block" r="0" x="8.0" y="-11.0" z="0.0" /> 
    3617                         <i o="block" r="0" x="8.0" y="-12.0" z="0.0" /> 
    3618                         <i o="block" r="0" x="8.0" y="-13.0" z="0.0" /> 
    3619                         <i o="block" r="0" x="8.0" y="-14.0" z="0.0" /> 
    36203615                        <i o="block" r="0" x="9.0" y="-9.0" z="0.0" /> 
    36213616                        <i o="block" r="0" x="10.0" y="-9.0" z="0.0" /> 
     
    37283723                        <i o="block" r="0" x="5.0" y="-51.0" z="0.0" /> 
    37293724                        <i o="block" r="0" x="5.0" y="-52.0" z="0.0" /> 
     3725                        <i o="block" r="0" x="8.0" y="-14.0" z="0.0" /> 
     3726                        <i o="block" r="0" x="8.0" y="-13.0" z="0.0" /> 
     3727                        <i o="block" r="0" x="8.0" y="-12.0" z="0.0" /> 
     3728                        <i o="block" r="0" x="8.0" y="-11.0" z="0.0" /> 
     3729                        <i o="block" r="0" x="8.0" y="-9.0" z="0.0" /> 
    37303730                        </instances> 
    37313731        </layer> 
  • trunk/game/objects/buildings/guard_tower/guard_tower.xml

    r334 r393  
    11<?fife type="object"?> 
    2 <object id="guard_tower" namespace="PARPG" blocking="1" static="1"> 
    3     <image source="guard_tower_225.png" direction="0" x_offset="140" y_offset="-170" /> 
     2<object blocking="1" id="guard_tower" namespace="PARPG" static="1"> 
     3        <image direction="0" source="guard_tower_000.png" x_offset="140" y_offset="-170" /> 
     4        <image direction="45" source="guard_tower_045.png" x_offset="140" y_offset="-170" /> 
     5        <image direction="90" source="guard_tower_090.png" x_offset="140" y_offset="-170" /> 
     6        <image direction="135" source="guard_tower_135.png" x_offset="140" y_offset="-170" /> 
     7        <image direction="180" source="guard_tower_180.png" x_offset="140" y_offset="-170" /> 
     8        <image direction="225" source="guard_tower_225.png" x_offset="140" y_offset="-170" /> 
     9        <image direction="270" source="guard_tower_270.png" x_offset="140" y_offset="-170" /> 
     10        <image direction="315" source="guard_tower_315.png" x_offset="140" y_offset="-170" /> 
    411</object> 
    5  
Note: See TracChangeset for help on using the changeset viewer.