Changeset 9854 for 2017/30


Ignore:
Timestamp:
2018-08-03 09:33:22 (13 months ago)
Author:
lukrmoil
Message:
 
Location:
2017/30/HugoE/HanniAndHoo
Files:
2 added
13 edited

Legend:

Unmodified
Added
Removed
  • 2017/30/HugoE/HanniAndHoo/HanniAndHoo/HanniAndHoo/HanniAndHoo.cs

    r9850 r9854  
    1111    Image HanninKuva = LoadImage("Hanni"); 
    1212    Image HoonKuva = LoadImage("Hoo"); 
    13     Image taustis = LoadImage("pihamaa"); 
     13    Image taustis = LoadImage("pilvimaa"); 
    1414    Image taustis2 = LoadImage("avaruus"); 
     15    bool peliOhi = false; 
    1516      
    1617    PlasmaCannon HanninAse; 
    1718    Cannon HoonAse; 
    1819 
    19     PhysicsObject AlaReuna; 
     20    //PhysicsObject AlaReuna; 
    2021 
    2122    SoundEffect hyppyAani = LoadSoundEffect("jump"); 
     
    5354        Hoo.X = Level.Right - 100.0; 
    5455        Hoo.Y = 0.0; 
    55         //Hoo.CollisionIgnoreGroup = 69; 
    56         //Hanni.CollisionIgnoreGroup = 69; 
    5756        Hoo.Color = Color.Red; 
    5857        Hoo.Image = HoonKuva; 
     
    8988    private void PalautaOhjain(Controller ohjain) 
    9089    { 
     90        if (peliOhi) return; 
    9191        ohjain.EnableAll(); 
    9292        ClearControls(); 
     
    109109    void LoppuValikko() 
    110110    { 
     111        peliOhi = true; 
    111112        MediaPlayer.Stop(); 
    112113        MultiSelectWindow loppuValikko = new MultiSelectWindow("Loppuvalikko", 
    113114        "Pelaa uudestaan", "Lopeta"); 
    114         //Level.Background.Color = Color.Black; 
     115        Level.Background.Color = Color.Black; 
    115116        Add(loppuValikko); 
    116117        loppuValikko.AddItemHandler(0, Kenttävalikko); 
     
    124125        MultiSelectWindow Kenttävalikko = new MultiSelectWindow("Kenttävalikko", "Pilvimaa", "Avaruus"); 
    125126        Add(Kenttävalikko); 
    126         Kenttävalikko.AddItemHandler(0, Pihamaa); 
     127        Kenttävalikko.AddItemHandler(0, Pilvimaa); 
    127128        Kenttävalikko.AddItemHandler(1, Avaruus);                 
    128129    } 
     
    148149    } 
    149150 
    150     void Pihamaa() 
     151    void Pilvimaa() 
    151152    { 
    152153        ClearAll(); 
     
    243244    } 
    244245    void LuoKentta() 
    245     {            
     246    { 
     247        peliOhi = false; 
    246248        Level.Width = Screen.Width; 
    247249        Level.Height = Screen.Height; 
     
    349351            elamaPalkki.BindTo(Elamalaskuri); 
    350352            Add(elamaPalkki); 
    351         } 
    352         
     353        }        
    353354    }    
    354  
    355                
     355             
    356356} 
    357357 
  • 2017/30/HugoE/HanniAndHoo/HanniAndHoo/HanniAndHoo/HanniAndHoo.csproj.Debug.cachefile

    r9848 r9854  
    66Content\jump.xnb 
    77Content\platform.xnb 
    8 Content\pihamaa.xnb 
    98Content\avaruus.xnb 
    109Content\HanniVsHooGO.xnb 
     10Content\Pilvimaa.xnb 
    1111Content\TaistelumusaEhdokas2.wma 
    1212Content\taustamusiikki.wma 
  • 2017/30/HugoE/HanniAndHoo/HanniAndHoo/HanniAndHoo/obj/x86/Debug/ContentPipeline-{C15B7F9E-AA60-42F1-A06A-82A8BC818B5D}.xml

    r9848 r9854  
    6868    </Item> 
    6969    <Item> 
    70       <Source>pihamaa.png</Source> 
    71       <Name>pihamaa</Name> 
    72       <Importer>TextureImporter</Importer> 
    73       <Processor>TextureProcessor</Processor> 
    74       <Options>None</Options> 
    75       <Output>C:\MyTemp\lukrmoil\HanniAndHoo\HanniAndHoo\HanniAndHoo\bin\x86\Debug\Content\pihamaa.xnb</Output> 
    76       <Time>2018-07-30T10:28:18.5049051+03:00</Time> 
    77     </Item> 
    78     <Item> 
    7970      <Source>avaruus.jpg</Source> 
    8071      <Name>avaruus</Name> 
     
    9485      <Extra>C:\MyTemp\lukrmoil\HanniAndHoo\HanniAndHoo\HanniAndHoo\bin\x86\Debug\Content\HanniVsHooGO.wma</Extra> 
    9586      <Time>2018-08-02T11:57:09.2159219+03:00</Time> 
     87    </Item> 
     88    <Item> 
     89      <Source>Pilvimaa.png</Source> 
     90      <Name>Pilvimaa</Name> 
     91      <Importer>TextureImporter</Importer> 
     92      <Processor>TextureProcessor</Processor> 
     93      <Options>None</Options> 
     94      <Output>C:\MyTemp\lukrmoil\HanniAndHoo\HanniAndHoo\HanniAndHoo\bin\x86\Debug\Content\Pilvimaa.xnb</Output> 
     95      <Time>2018-07-30T10:28:18.5049051+03:00</Time> 
    9696    </Item> 
    9797    <BuildSuccessful>true</BuildSuccessful> 
  • 2017/30/HugoE/HanniAndHoo/HanniAndHoo/HanniAndHoo/obj/x86/Debug/HanniAndHoo.csproj.FileListAbsolute.txt

    r9848 r9854  
    3535C:\MyTemp\lukrmoil\HanniAndHoo\HanniAndHoo\HanniAndHoo\obj\x86\Debug\HanniAndHoo.csproj.CoreCompileInputs.cache 
    3636C:\MyTemp\lukrmoil\HanniAndHoo\HanniAndHoo\HanniAndHoo\bin\x86\Debug\Content\platform.xnb 
    37 C:\MyTemp\lukrmoil\HanniAndHoo\HanniAndHoo\HanniAndHoo\bin\x86\Debug\Content\pihamaa.xnb 
    3837C:\MyTemp\lukrmoil\HanniAndHoo\HanniAndHoo\HanniAndHoo\bin\x86\Debug\Content\avaruus.xnb 
    3938C:\MyTemp\lukrmoil\HanniAndHoo\HanniAndHoo\HanniAndHoo\bin\x86\Debug\Content\HanniVsHooGO.xnb 
    4039C:\MyTemp\lukrmoil\HanniAndHoo\HanniAndHoo\HanniAndHoo\bin\x86\Debug\Content\HanniVsHooGO.wma 
     40C:\MyTemp\lukrmoil\HanniAndHoo\HanniAndHoo\HanniAndHoo\bin\x86\Debug\Content\Pilvimaa.xnb 
  • 2017/30/HugoE/HanniAndHoo/HanniAndHoo/HanniAndHoo/obj/x86/Debug/cachefile-{C15B7F9E-AA60-42F1-A06A-82A8BC818B5D}-targetpath.txt

    r9848 r9854  
    88Content\jump.xnb 
    99Content\platform.xnb 
    10 Content\pihamaa.xnb 
    1110Content\avaruus.xnb 
    1211Content\HanniVsHooGO.xnb 
    1312Content\HanniVsHooGO.wma 
     13Content\Pilvimaa.xnb 
  • 2017/30/HugoE/HanniAndHoo/HanniAndHoo/HanniAndHooContent/HanniAndHooContent.contentproj

    r9848 r9854  
    7272  </ItemGroup> 
    7373  <ItemGroup> 
    74     <Compile Include="pihamaa.png"> 
    75       <Name>pihamaa</Name> 
     74    <Compile Include="pilvimaa.png"> 
     75      <Name>pilvimaa</Name> 
    7676      <Importer>TextureImporter</Importer> 
    7777      <Processor>TextureProcessor</Processor> 
  • 2017/30/HugoE/HanniAndHoo/HanniAndHoo/HanniAndHooContent/obj/x86/Debug/HanniAndHooContent.contentproj.CoreCompileInputs.cache

    r9847 r9854  
    1 bc9fd2aa6adfd7a01044aea44d51f7b78e787c0c 
     1f15510f7558f8fdf4d462fa6739c407217ad7ca8 
Note: See TracChangeset for help on using the changeset viewer.