Changeset 6703


Ignore:
Timestamp:
2015-07-01 18:28:37 (4 years ago)
Author:
sieerinn
Message:

Junaa aloiteltu, puuttuvat .anim tiedostot lisätty.

Location:
2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel
Files:
2 added
4 edited

Legend:

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

    r6702 r6703  
    3939        level.SetObjectMethod("blockade", CreateBlock); 
    4040        level.SetObjectMethod("coyote", CreateCoyote); 
     41        level.SetObjectMethod("boss", CreateBoss); 
    4142        level.Execute(); 
    4243 
    4344        Level.Background.Color = Color.Black; 
     45    } 
     46 
     47    void CreateBoss(Vector position, double width, double height, Angle angle, Shape shape, string name, Dictionary<string, string> properties) 
     48    { 
     49        var bossHealth = new IntMeter(10); 
     50 
     51        var bossTimer = new Timer(); 
     52        bossTimer.Interval = 4; 
     53        bossTimer.Timeout += delegate 
     54        { 
     55             
     56        }; 
     57        bossTimer.Start(); 
    4458    } 
    4559 
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel.cs

    r6702 r6703  
    136136    [AssetName("coyoteright", mirror: true)] 
    137137    private Animation coyoteLeft; 
     138    [AssetName("coyotedown")] 
     139    private Animation coyoteDown; 
     140 
     141    [AssetName("coyotedown")] 
     142    private Animation coyoteDown; 
    138143    [AssetName("coyotedown")] 
    139144    private Animation coyoteDown; 
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabrielContent/TheLegendOfGabrielContent.contentproj

    r6702 r6703  
    293293    </Compile> 
    294294  </ItemGroup> 
     295  <ItemGroup> 
     296    <Compile Include="carriage.anim"> 
     297      <Name>carriage</Name> 
     298      <Importer>AnimationImporter</Importer> 
     299      <Processor>AnimationContentProcessor</Processor> 
     300    </Compile> 
     301    <Compile Include="train.anim"> 
     302      <Name>train</Name> 
     303      <Importer>AnimationImporter</Importer> 
     304      <Processor>AnimationContentProcessor</Processor> 
     305    </Compile> 
     306  </ItemGroup> 
    295307  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    296308  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabrielContent/bossroom.tmx

    r6702 r6703  
    11<?xml version="1.0" encoding="UTF-8"?> 
    2 <map version="1.0" orientation="orthogonal" renderorder="right-down" width="15" height="20" tilewidth="20" tileheight="20" nextobjectid="4"> 
     2<map version="1.0" orientation="orthogonal" renderorder="right-down" width="15" height="20" tilewidth="20" tileheight="20" nextobjectid="5"> 
    33 <tileset firstgid="1" source="LegendOfGabrielTileset.tsx"/> 
    44 <layer name="base" width="15" height="20"> 
     
    2323  <object id="3" x="280" y="260" width="20" height="20"/> 
    2424 </objectgroup> 
     25 <objectgroup color="#8a0f0f" name="boss"> 
     26  <object id="4" x="140" y="40" width="20" height="20"/> 
     27 </objectgroup> 
    2528</map> 
Note: See TracChangeset for help on using the changeset viewer.