Changeset 8251 for 2016/30


Ignore:
Timestamp:
2016-07-29 11:45:18 (3 years ago)
Author:
sieerinn
Message:
 
Location:
2016/30/TaavettiV
Files:
9 added
12 edited

Legend:

Unmodified
Added
Removed
  • 2016/30/TaavettiV/Street Alien Domination/Street Alien Domination/Street Alien DominationContent/Street Alien DominationContent.contentproj

    r8247 r8251  
    8282  </ItemGroup> 
    8383  <ItemGroup> 
    84     <Compile Include="kentta2.txt"> 
    85       <Name>kentta2</Name> 
    86       <Importer>TextFileImporter</Importer> 
    87       <Processor>TextFileContentProcessor</Processor> 
     84    <Compile Include="parasase.png"> 
     85      <Name>parasase</Name> 
     86      <Importer>TextureImporter</Importer> 
     87      <Processor>TextureProcessor</Processor> 
    8888    </Compile> 
    8989  </ItemGroup> 
    9090  <ItemGroup> 
    91     <Compile Include="kentta3.txt"> 
    92       <Name>kentta3</Name> 
    93       <Importer>TextFileImporter</Importer> 
    94       <Processor>TextFileContentProcessor</Processor> 
     91    <Compile Include="knight.png"> 
     92      <Name>knight</Name> 
     93      <Importer>TextureImporter</Importer> 
     94      <Processor>TextureProcessor</Processor> 
     95    </Compile> 
     96  </ItemGroup> 
     97  <ItemGroup> 
     98    <Compile Include="pelityyppiparas.png"> 
     99      <Name>pelityyppiparas</Name> 
     100      <Importer>TextureImporter</Importer> 
     101      <Processor>TextureProcessor</Processor> 
    95102    </Compile> 
    96103  </ItemGroup> 
     
    103110  </ItemGroup> 
    104111  <ItemGroup> 
    105     <Compile Include="knight.png"> 
    106       <Name>knight</Name> 
    107       <Importer>TextureImporter</Importer> 
    108       <Processor>TextureProcessor</Processor> 
     112    <Compile Include="kentta2.txt"> 
     113      <Name>kentta2</Name> 
     114      <Importer>TextFileImporter</Importer> 
     115      <Processor>TextFileContentProcessor</Processor> 
     116    </Compile> 
     117    <Compile Include="kentta3.txt"> 
     118      <Name>kentta3</Name> 
     119      <Importer>TextFileImporter</Importer> 
     120      <Processor>TextFileContentProcessor</Processor> 
    109121    </Compile> 
    110122  </ItemGroup> 
  • 2016/30/TaavettiV/Street Alien Domination/Street Alien Domination/Street_Alien_Domination/Street_Alien_Domination.cs

    r8247 r8251  
    1515    PlatformCharacter pelaaja1; 
    1616    GameObject tahtain; 
    17  
    18     Image pelaajanKuva = LoadImage("norsu"); 
     17    Image aseenkuva = LoadImage("parasase"); 
     18    Image pelaajanKuva = LoadImage("pelityyppiparas"); 
    1919    Image tahtiKuva = LoadImage("tahti"); 
    2020 
     
    2626 
    2727    SoundEffect maaliAani = LoadSoundEffect("maali"); 
     28 
     29    int kenttaNumero = 1; 
     30 
    2831 
    2932    public override void Begin() 
     
    5457    void LuoKentta() 
    5558    { 
    56         TileMap kentta = TileMap.FromLevelAsset("kentta4"); 
     59        TileMap kentta = TileMap.FromLevelAsset("kentta" + kenttaNumero); 
    5760        kentta.SetTileMethod('#', LisaaTaso); 
    5861        kentta.SetTileMethod('*', LisaaTahti); 
     
    157160    void LisaaPelaaja(Vector paikka, double leveys, double korkeus) 
    158161    { 
    159         pelaaja1 = new PlatformCharacter(leveys, korkeus); 
     162        pelaaja1 = new PlatformCharacter(leveys* 0.7, korkeus * 0.9); 
    160163        pelaaja1.Position = paikka; 
    161164        pelaaja1.Mass = 4.0; 
     
    166169        AddCollisionHandler(pelaaja1, "m", Tormaap); 
    167170        Add(pelaaja1); 
     171 
     172 
    168173 
    169174        pelaaja1.Destroyed += pelinlopussa; 
     
    176181        pelaaja1.Weapon.AmmoIgnoresExplosions = true; 
    177182        pelaaja1.Weapon.CanHitOwner = false; 
     183        pelaaja1.Weapon.Image = aseenkuva; 
     184        pelaaja1.Weapon.Y = 5; 
     185 
    178186    } 
    179187 
     
    255263        if (ammus != null) 
    256264        { 
    257             //ammus.Size *= 3; 
     265            //ammus.Size *= 0.10; 
     266            ammus.Width = 20; 
     267            ammus.Height = 1; 
    258268            //ammus.Image = ... 
    259269            ammus.MaximumLifetime = TimeSpan.FromSeconds(2.0); 
  • 2016/30/TaavettiV/Street Alien Domination/Street Alien Domination/Street_Alien_Domination/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml

    r8214 r8251  
    3636      <Options>None</Options> 
    3737      <Output>C:\MyTemp\TaavettiV\Street Alien Domination\Street Alien Domination\Street_Alien_Domination\bin\x86\Debug\Content\kentta1.xnb</Output> 
    38       <Time>2016-07-28T12:30:56.8561067+03:00</Time> 
     38      <Time>2016-07-29T11:40:58.252586+03:00</Time> 
    3939    </Item> 
    4040    <Item> 
     
    5555      <Output>C:\MyTemp\TaavettiV\Street Alien Domination\Street Alien Domination\Street_Alien_Domination\bin\x86\Debug\Content\tähtäin.xnb</Output> 
    5656      <Time>2016-07-28T13:51:02.4938346+03:00</Time> 
     57    </Item> 
     58    <Item> 
     59      <Source>parasase.png</Source> 
     60      <Name>parasase</Name> 
     61      <Importer>TextureImporter</Importer> 
     62      <Processor>TextureProcessor</Processor> 
     63      <Options>None</Options> 
     64      <Output>C:\MyTemp\TaavettiV\Street Alien Domination\Street Alien Domination\Street_Alien_Domination\bin\x86\Debug\Content\parasase.xnb</Output> 
     65      <Time>2016-07-29T10:56:46.1016298+03:00</Time> 
     66    </Item> 
     67    <Item> 
     68      <Source>knight.png</Source> 
     69      <Name>knight</Name> 
     70      <Importer>TextureImporter</Importer> 
     71      <Processor>TextureProcessor</Processor> 
     72      <Options>None</Options> 
     73      <Output>C:\MyTemp\TaavettiV\Street Alien Domination\Street Alien Domination\Street_Alien_Domination\bin\x86\Debug\Content\knight.xnb</Output> 
     74      <Time>2016-07-29T11:40:58.2681861+03:00</Time> 
     75    </Item> 
     76    <Item> 
     77      <Source>pelityyppiparas.png</Source> 
     78      <Name>pelityyppiparas</Name> 
     79      <Importer>TextureImporter</Importer> 
     80      <Processor>TextureProcessor</Processor> 
     81      <Options>None</Options> 
     82      <Output>C:\MyTemp\TaavettiV\Street Alien Domination\Street Alien Domination\Street_Alien_Domination\bin\x86\Debug\Content\pelityyppiparas.xnb</Output> 
     83      <Time>2016-07-29T11:42:17.4412917+03:00</Time> 
     84    </Item> 
     85    <Item> 
     86      <Source>kentta4.txt</Source> 
     87      <Name>kentta4</Name> 
     88      <Importer>TextFileImporter</Importer> 
     89      <Processor>TextFileContentProcessor</Processor> 
     90      <Options>None</Options> 
     91      <Output>C:\MyTemp\TaavettiV\Street Alien Domination\Street Alien Domination\Street_Alien_Domination\bin\x86\Debug\Content\kentta4.xnb</Output> 
     92      <Time>2016-07-29T11:40:58.2837862+03:00</Time> 
     93    </Item> 
     94    <Item> 
     95      <Source>kentta2.txt</Source> 
     96      <Name>kentta2</Name> 
     97      <Importer>TextFileImporter</Importer> 
     98      <Processor>TextFileContentProcessor</Processor> 
     99      <Options>None</Options> 
     100      <Output>C:\MyTemp\TaavettiV\Street Alien Domination\Street Alien Domination\Street_Alien_Domination\bin\x86\Debug\Content\kentta2.xnb</Output> 
     101      <Time>2016-07-29T11:40:58.2681861+03:00</Time> 
     102    </Item> 
     103    <Item> 
     104      <Source>kentta3.txt</Source> 
     105      <Name>kentta3</Name> 
     106      <Importer>TextFileImporter</Importer> 
     107      <Processor>TextFileContentProcessor</Processor> 
     108      <Options>None</Options> 
     109      <Output>C:\MyTemp\TaavettiV\Street Alien Domination\Street Alien Domination\Street_Alien_Domination\bin\x86\Debug\Content\kentta3.xnb</Output> 
     110      <Time>2016-07-29T11:40:58.2681861+03:00</Time> 
    57111    </Item> 
    58112    <BuildSuccessful>true</BuildSuccessful> 
  • 2016/30/TaavettiV/Street Alien Domination/Street Alien Domination/Street_Alien_Domination/obj/x86/Debug/Street_Alien_Domination.csproj.FileListAbsolute.txt

    r8214 r8251  
    1313C:\MyTemp\TaavettiV\Street Alien Domination\Street Alien Domination\Street_Alien_Domination\bin\x86\Debug\Content\pomp.xnb 
    1414C:\MyTemp\TaavettiV\Street Alien Domination\Street Alien Domination\Street_Alien_Domination\bin\x86\Debug\Content\tÀhtÀin.xnb 
     15C:\MyTemp\TaavettiV\Street Alien Domination\Street Alien Domination\Street_Alien_Domination\bin\x86\Debug\Content\parasase.xnb 
     16C:\MyTemp\TaavettiV\Street Alien Domination\Street Alien Domination\Street_Alien_Domination\bin\x86\Debug\Content\knight.xnb 
     17C:\MyTemp\TaavettiV\Street Alien Domination\Street Alien Domination\Street_Alien_Domination\bin\x86\Debug\Content\pelityyppiparas.xnb 
     18C:\MyTemp\TaavettiV\Street Alien Domination\Street Alien Domination\Street_Alien_Domination\bin\x86\Debug\Content\kentta4.xnb 
     19C:\MyTemp\TaavettiV\Street Alien Domination\Street Alien Domination\Street_Alien_Domination\bin\x86\Debug\Content\kentta2.xnb 
     20C:\MyTemp\TaavettiV\Street Alien Domination\Street Alien Domination\Street_Alien_Domination\bin\x86\Debug\Content\kentta3.xnb 
  • 2016/30/TaavettiV/Street Alien Domination/Street Alien Domination/Street_Alien_Domination/obj/x86/Debug/cachefile-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}-targetpath.txt

    r8214 r8251  
    55Content\pomp.xnb 
    66Content\tÀhtÀin.xnb 
     7Content\parasase.xnb 
     8Content\knight.xnb 
     9Content\pelityyppiparas.xnb 
     10Content\kentta4.xnb 
     11Content\kentta2.xnb 
     12Content\kentta3.xnb 
Note: See TracChangeset for help on using the changeset viewer.