Changeset 6715


Ignore:
Timestamp:
2015-07-01 23:19:51 (4 years ago)
Author:
empaheik
Message:

Kakkoskentässä kojootteja.

Location:
2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/Exit.cs

    r6548 r6715  
    2424        IgnoresCollisionResponse = true; 
    2525        Tag = "exit"; 
     26        MakeStatic(); 
    2627    } 
    2728} 
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/LevelCreation.cs

    r6714 r6715  
    4141        level.Execute(); 
    4242 
    43         Level.CreateBorders(false); 
     43       // Level.CreateBorders(false); 
    4444 
    4545        Level.Background.Color = Color.Black; 
     
    285285 
    286286        bool create = properties.ContainsKey("block"); 
    287         if(create) 
     287        if(create && !woodDestroyed) 
    288288        { 
    289289            PhysicsObject fence = PhysicsObject.CreateStaticObject(TILE_SIZE, TILE_SIZE); 
     
    295295            { 
    296296               destroyable.Destroy(); 
    297                destroyable.Tag = "none"; 
     297               woodDestroyed = true; 
    298298            }); 
    299299         
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel.cs

    r6714 r6715  
    7777 
    7878    private bool canUseExit = true; 
     79    private bool woodDestroyed = false; 
    7980 
    8081    public IntMeter BossHealth; 
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabrielContent/LegendOfGabrielTileset.tsx

    r6712 r6715  
    77  </properties> 
    88 </tile> 
    9  <tile id="16"> 
     9 <tile id="6"> 
    1010  <properties> 
    1111   <property name="collide" value="true"/> 
    1212  </properties> 
    1313 </tile> 
    14  <tile id="23"> 
     14 <tile id="16"> 
    1515  <properties> 
    1616   <property name="collide" value="true"/> 
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabrielContent/level1.tmx

    r6712 r6715  
    11<?xml version="1.0" encoding="UTF-8"?> 
    22<map version="1.0" orientation="orthogonal" renderorder="right-down" width="25" height="40" tilewidth="20" tileheight="20" nextobjectid="45"> 
    3  <tileset firstgid="1" name="LegendOfGabrielTileset" tilewidth="20" tileheight="20"> 
    4   <image source="tileset.png" width="200" height="200"/> 
    5   <tile id="2"> 
    6    <properties> 
    7     <property name="collide" value="true"/> 
    8    </properties> 
    9   </tile> 
    10   <tile id="6"> 
    11    <properties> 
    12     <property name="collide" value="true"/> 
    13    </properties> 
    14   </tile> 
    15   <tile id="16"> 
    16    <properties> 
    17     <property name="collide" value="true"/> 
    18    </properties> 
    19   </tile> 
    20   <tile id="70"> 
    21    <properties> 
    22     <property name="damage" value="true"/> 
    23    </properties> 
    24   </tile> 
    25   <tile id="71"> 
    26    <properties> 
    27     <property name="damage" value="true"/> 
    28    </properties> 
    29   </tile> 
    30   <tile id="72"> 
    31    <properties> 
    32     <property name="damage" value="true"/> 
    33    </properties> 
    34   </tile> 
    35   <tile id="80"> 
    36    <properties> 
    37     <property name="damage" value="true"/> 
    38    </properties> 
    39   </tile> 
    40   <tile id="81"> 
    41    <properties> 
    42     <property name="damage" value="true"/> 
    43    </properties> 
    44   </tile> 
    45   <tile id="82"> 
    46    <properties> 
    47     <property name="damage" value="true"/> 
    48    </properties> 
    49   </tile> 
    50   <tile id="90"> 
    51    <properties> 
    52     <property name="damage" value="true"/> 
    53    </properties> 
    54   </tile> 
    55   <tile id="91"> 
    56    <properties> 
    57     <property name="damage" value="true"/> 
    58    </properties> 
    59   </tile> 
    60   <tile id="92"> 
    61    <properties> 
    62     <property name="damage" value="true"/> 
    63    </properties> 
    64   </tile> 
    65   <tile id="93"> 
    66    <properties> 
    67     <property name="damage" value="false"/> 
    68    </properties> 
    69   </tile> 
    70  </tileset> 
     3 <tileset firstgid="1" source="LegendOfGabrielTileset.tsx"/> 
    714 <layer name="base" width="25" height="40"> 
    725  <data encoding="base64" compression="zlib"> 
     
    8518  <object id="19" name="tunnelblockade" x="100" y="0" width="20" height="20"> 
    8619   <properties> 
    87     <property name="block" value="below"/> 
     20    <property name="block" value="wooden"/> 
    8821    <property name="goto" value="level2@bottom"/> 
    8922   </properties> 
     
    10639  <object id="41" name="debug" x="280" y="780" width="20" height="20"> 
    10740   <properties> 
    108     <property name="goto" value="bossroom@enterance"/> 
     41    <property name="goto" value="bossroom@entrance"/> 
    10942   </properties> 
    11043  </object> 
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabrielContent/level2.tmx

    r6712 r6715  
    11<?xml version="1.0" encoding="UTF-8"?> 
    2 <map version="1.0" orientation="orthogonal" renderorder="right-down" width="25" height="25" tilewidth="20" tileheight="20" nextobjectid="5"> 
    3  <tileset firstgid="1" source="LegendOfGabrielTileset.tsx"/> 
     2<map version="1.0" orientation="orthogonal" renderorder="right-down" width="25" height="25" tilewidth="20" tileheight="20" nextobjectid="10"> 
     3 <tileset firstgid="1" name="LegendOfGabrielTileset" tilewidth="20" tileheight="20"> 
     4  <image source="tileset.png" width="200" height="200"/> 
     5  <tile id="2"> 
     6   <properties> 
     7    <property name="collide" value="true"/> 
     8   </properties> 
     9  </tile> 
     10  <tile id="16"> 
     11   <properties> 
     12    <property name="collide" value="true"/> 
     13   </properties> 
     14  </tile> 
     15  <tile id="23"> 
     16   <properties> 
     17    <property name="collide" value="true"/> 
     18   </properties> 
     19  </tile> 
     20  <tile id="70"> 
     21   <properties> 
     22    <property name="damage" value="true"/> 
     23   </properties> 
     24  </tile> 
     25  <tile id="71"> 
     26   <properties> 
     27    <property name="damage" value="true"/> 
     28   </properties> 
     29  </tile> 
     30  <tile id="72"> 
     31   <properties> 
     32    <property name="damage" value="true"/> 
     33   </properties> 
     34  </tile> 
     35  <tile id="80"> 
     36   <properties> 
     37    <property name="damage" value="true"/> 
     38   </properties> 
     39  </tile> 
     40  <tile id="81"> 
     41   <properties> 
     42    <property name="damage" value="true"/> 
     43   </properties> 
     44  </tile> 
     45  <tile id="82"> 
     46   <properties> 
     47    <property name="damage" value="true"/> 
     48   </properties> 
     49  </tile> 
     50  <tile id="90"> 
     51   <properties> 
     52    <property name="damage" value="true"/> 
     53   </properties> 
     54  </tile> 
     55  <tile id="91"> 
     56   <properties> 
     57    <property name="damage" value="true"/> 
     58   </properties> 
     59  </tile> 
     60  <tile id="92"> 
     61   <properties> 
     62    <property name="damage" value="true"/> 
     63   </properties> 
     64  </tile> 
     65  <tile id="93"> 
     66   <properties> 
     67    <property name="damage" value="false"/> 
     68   </properties> 
     69  </tile> 
     70 </tileset> 
    471 <layer name="base" width="25" height="25"> 
    572  <properties> 
     
    774  </properties> 
    875  <data encoding="base64" compression="zlib"> 
    9    eJwTZGBgEBzFo3gUj+JRPIpH8YBgJhqZywY1m1bmI9tBy/Bho7E9TGh2UNseJiQ7mNAwpWYDAARyKGM= 
     76   eJzVlMEKwCAMQ8WDtx78/5/dZQORtLU1buwQGCh9tk3WSyldkdwav8W4n5EY+hujAr3FyHDGOaC6iBFloZl7LNSTxUVnGuc51/pCDO1OtCfLE947NP8yGSv7O+lt1M/J/HQSY2UnDEbGV18zovnP/l8i2YswLF96YtTf3Wdz3s3IVAO1d+vO82mAw6xfJwaTM+533gcjtxfTNB/j 
    1077  </data> 
    1178 </layer> 
    1279 <layer name="decoration" width="25" height="25"> 
    1380  <data encoding="base64" compression="zlib"> 
    14    eJxjYBgFo2AUjIJRMApoAwShmBbmDmUgRgc7WEftIMsOCRrbIYFGUwIAG2MAqw== 
     81   eJxjYCAMWIlQQykYtWPUjlE7BtaOUTB4gQAReBQMLSBGBzuGS9lEbzskaGyHBBpNCQAARagBOg== 
    1582  </data> 
    1683 </layer> 
     
    2592  </object> 
    2693 </objectgroup> 
     94 <objectgroup color="#00ff00" name="coyote"> 
     95  <object id="5" x="380" y="190" width="20" height="20"/> 
     96  <object id="6" x="220" y="330" width="21" height="21"/> 
     97  <object id="7" x="220" y="120" width="20" height="20"/> 
     98  <object id="8" x="340" y="260" width="20" height="20"/> 
     99  <object id="9" x="390" y="270" width="20" height="20"/> 
     100 </objectgroup> 
     101 <layer name="cover" width="25" height="25"> 
     102  <data encoding="base64" compression="zlib"> 
     103   eJxjYBgFgxUI4mBT03x0TGvzh4sd1AbDxY5RMApGwSgYBfQDAJbFAkM= 
     104  </data> 
     105 </layer> 
    27106</map> 
Note: See TracChangeset for help on using the changeset viewer.