Changeset 6473 for 2015


Ignore:
Timestamp:
2015-06-26 13:58:39 (4 years ago)
Author:
samkasha
Message:
 
Location:
2015/26/SamuH/AwesomeGuest
Files:
4 added
13 edited

Legend:

Unmodified
Added
Removed
  • 2015/26/SamuH/AwesomeGuest/AwesomeGuest/AwesomeGuest/AwesomeGuest.cs

    r6379 r6473  
    1414 
    1515    PlatformCharacter pelaaja1; 
     16    Image nappikuva = LoadImage("nappi"); 
    1617    Image vpiikkikuva = LoadImage("vpiikit"); 
    1718    Image tiilikuva = LoadImage("tiili"); 
     
    4950    { 
    5051        TileMap kentta = TileMap.FromLevelAsset("kentta1"); 
     52        kentta.SetTileMethod('n', Lisaanappi); 
    5153        kentta.SetTileMethod('F', LisaaFplokki); 
    5254        kentta.SetTileMethod('v', LisaaVpiikit); 
     
    231233    } 
    232234 
    233    
     235    void Lisaanappi(Vector paikka, double leveys, double korkeus) 
     236    { 
     237        PhysicsObject nappi = PhysicsObject.CreateStaticObject(60, 40); 
     238        nappi.Position = paikka; 
     239        nappi.Image = nappikuva; 
     240        Add(nappi); 
     241    } 
    234242} 
  • 2015/26/SamuH/AwesomeGuest/AwesomeGuest/AwesomeGuest/AwesomeGuest.csproj.Debug.cachefile

    r6379 r6473  
    1414Content\tiili.xnb 
    1515Content\vpiikit.xnb 
     16Content\nappi.xnb 
  • 2015/26/SamuH/AwesomeGuest/AwesomeGuest/AwesomeGuest/obj/x86/Debug/AwesomeGuest.csproj.FileListAbsolute.txt

    r6379 r6473  
    2222C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\tiili.xnb 
    2323C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\vpiikit.xnb 
     24C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\nappi.xnb 
  • 2015/26/SamuH/AwesomeGuest/AwesomeGuest/AwesomeGuest/obj/x86/Debug/cachefile-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}-targetpath.txt

    r6379 r6473  
    1414Content\tiili.xnb 
    1515Content\vpiikit.xnb 
     16Content\nappi.xnb 
  • 2015/26/SamuH/AwesomeGuest/AwesomeGuest/AwesomeGuestContent/AwesomeGuestContent.contentproj

    r6379 r6473  
    140140    </Compile> 
    141141  </ItemGroup> 
     142  <ItemGroup> 
     143    <Compile Include="nappi.png"> 
     144      <Name>nappi</Name> 
     145      <Importer>TextureImporter</Importer> 
     146      <Processor>TextureProcessor</Processor> 
     147    </Compile> 
     148  </ItemGroup> 
    142149  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    143150  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
  • 2015/26/SamuH/AwesomeGuest/AwesomeGuest/AwesomeGuestContent/kentta1.txt

    r6379 r6473  
    44#.................................................................................................................................................................................................................................................................................................................................................................................................#................#.........................#................................ 
    55#.....................................................................................................................................................................................................................................................................................................................................................................####..............................F..#..F....#.........................#................................ 
    6 #..................................................................................................................................................................................................................................................................................................................................................................#......F..........................#.............#.........................#................................ 
     6#...................................................................................................................................................................................................................................................................................................................................................................#......F..........................#.............#.........................#................................ 
    77#.................................................................................................................................................................................................................................................................................................................................................########FFFF#######........FFFF.######.....#....#...........#....#.........................#................................ 
    88#.......................................................................................###FF##....#.............#...........................................#FFF#....#.....#..................................................................................................................................................................#.............................................................................................#................................ 
    9 #..........................................................................................................###...................................................................................................................................................................................................................................................................................................................l...........#................................ 
    10 #..................................................................................#......................................................................#....................F....................................................................................................................#...#........................#.###...F..#.........................................................######....#####...................####................................ 
    11 #.......................................................F.............................................................................................................................................................................................................................................................................................................................................................#....................#.................................. 
     9#..........................................................................................................###........................................................................................................................................................................................................................................................................................................#..........l........n..#................................ 
     10#..................................................................................#......................................................................#....................F....................................................................................................................#...#........................#.###...F..#.........................................................######....#####.#.................####................................ 
     11#.......................................................F.............................................................................................................................................................................................................................................................................................................................................................#....................F.................................. 
    1212#...................................................#...... ##FFFFFF###......######..................................F...........................#....#..............................#...................................................................................................#...#..F.#......................###...#......................................................................................#....................#.................................. 
    1313#............................................................................................................................................#.......................................................................................................................................#.....................#FFFFFF#...................................................................................................######################.................................. 
    1414#..................................#..................#F.....................................................................#.....#...F..#.....................................................#......#.....................................................................#...F............................................................................................................................................................................................ 
    15 #..N...................#.....###........#.....#####.....................................................................................................................................###....................................#....#...........................#......#F........#####..................................#..................................................................................................................................................... 
    16 #######..F..#....#.......................................................................................................................................................................................................#..F................................................................................................................................................................................................................................................. 
    17 ......................................................................................................................................................................................................................................................###F.......###.......................................................................................................................................................................................................... 
     15#....N.................#.....###........#.....#####.....................................................................................................................................###....................................#....#...........................#......#F........#####..................................F..................................................................................................................................................... 
     16#FF####..F..#....#.......................................................................................................................................................................................................#..F................................................................................................................................................................................................................................................. 
     17......................................................................................................................................................................................................................................................###F.......###......................................................................................................N................................................................................................... 
    1818.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................. 
    1919.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................. 
  • 2015/26/SamuH/AwesomeGuest/AwesomeGuest/AwesomeGuestContent/obj/x86/Debug/ContentPipeline-.xml

    r6379 r6473  
    3636      <Options>None</Options> 
    3737      <Output>C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\kentta1.xnb</Output> 
    38       <Time>2015-06-25T14:45:13.8832932+03:00</Time> 
     38      <Time>2015-06-26T11:32:31.3833599+03:00</Time> 
    3939    </Item> 
    4040    <Item> 
     
    137137      <Time>2015-06-25T12:58:38.4409145+03:00</Time> 
    138138    </Item> 
     139    <Item> 
     140      <Source>nappi.png</Source> 
     141      <Name>nappi</Name> 
     142      <Importer>TextureImporter</Importer> 
     143      <Processor>TextureProcessor</Processor> 
     144      <Options>None</Options> 
     145      <Output>C:\MyTemp\SamuH\AwesomeGuest\AwesomeGuest\AwesomeGuest\bin\x86\Debug\Content\nappi.xnb</Output> 
     146      <Time>2015-06-26T11:03:28.0354336+03:00</Time> 
     147    </Item> 
    139148    <BuildSuccessful>true</BuildSuccessful> 
    140149    <Settings> 
Note: See TracChangeset for help on using the changeset viewer.