Changeset 7907 for 2016/27/EmiliaM


Ignore:
Timestamp:
2016-07-06 14:59:13 (3 years ago)
Author:
karkaite
Message:

Eka kenttä valmis lisätään toka

Location:
2016/27/EmiliaM/NinjaNight
Files:
3 added
11 edited

Legend:

Unmodified
Added
Removed
  • 2016/27/EmiliaM/NinjaNight/NinjaNight/NinjaNight/NinjaNight.cs

    r7885 r7907  
    2424    Image Spawn = LoadImage("Spawni"); 
    2525    Image timu = LoadImage("Timantti"); 
     26    Image valikko = LoadImage("alkuvalikko"); 
    2627 
    2728     
     
    2930    public override void Begin() 
    3031    { 
     32         
     33        GameObject tausta = new GameObject(Screen.Width, Screen.Height); 
     34        tausta.Image = valikko; 
     35        Add(tausta, -1); 
    3136        MultiSelectWindow alkuValikko = new MultiSelectWindow("Pelin alkuvalikko", 
    3237        "Aloita peli", "Lopeta"); 
     
    207212        timantti.Destroy(); 
    208213        MessageDisplay.Add("Löysit timantin! Hyvin tehty!"); 
     214        MultiSelectWindow valikko = new MultiSelectWindow("Kenttävalikko", 
     215        "Seuraava kenttä", "Lopeta"); 
     216        Add(valikko); 
     217 
     218        valikko.AddItemHandler(0, SiirrySeuraavaanKenttaan); 
     219        valikko.AddItemHandler(1, Exit); 
     220 
     221 
    209222          
    210223 
     224    } 
     225    void SiirrySeuraavaanKenttaan() 
     226    { 
     227        ClearAll(); 
    211228    } 
    212229 
  • 2016/27/EmiliaM/NinjaNight/NinjaNight/NinjaNight/NinjaNight.csproj.Debug.cachefile

    r7885 r7907  
    1111Content\kentta1.xnb 
    1212Content\timantti.xnb 
     13Content\alkuvalikko.xnb 
  • 2016/27/EmiliaM/NinjaNight/NinjaNight/NinjaNight/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml

    r7885 r7907  
    110110      <Time>2016-07-06T13:51:10.7251164+03:00</Time> 
    111111    </Item> 
     112    <Item> 
     113      <Source>alkuvalikko.png</Source> 
     114      <Name>alkuvalikko</Name> 
     115      <Importer>TextureImporter</Importer> 
     116      <Processor>TextureProcessor</Processor> 
     117      <Options>None</Options> 
     118      <Output>C:\MyTemp\EmiliaM\NinjaNight\NinjaNight\NinjaNight\bin\x86\Debug\Content\alkuvalikko.xnb</Output> 
     119      <Time>2016-07-06T14:39:01.238324+03:00</Time> 
     120    </Item> 
    112121    <BuildSuccessful>true</BuildSuccessful> 
    113122    <Settings> 
  • 2016/27/EmiliaM/NinjaNight/NinjaNight/NinjaNight/obj/x86/Debug/NinjaNight.csproj.FileListAbsolute.txt

    r7885 r7907  
    1919C:\MyTemp\EmiliaM\NinjaNight\NinjaNight\NinjaNight\bin\x86\Debug\Content\Spawni2.xnb 
    2020C:\MyTemp\EmiliaM\NinjaNight\NinjaNight\NinjaNight\bin\x86\Debug\Content\timantti.xnb 
     21C:\MyTemp\EmiliaM\NinjaNight\NinjaNight\NinjaNight\bin\x86\Debug\Content\alkuvalikko.xnb 
  • 2016/27/EmiliaM/NinjaNight/NinjaNight/NinjaNight/obj/x86/Debug/cachefile-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}-targetpath.txt

    r7885 r7907  
    1111Content\kentta1.xnb 
    1212Content\timantti.xnb 
     13Content\alkuvalikko.xnb 
  • 2016/27/EmiliaM/NinjaNight/NinjaNight/NinjaNightContent/NinjaNightContent.contentproj

    r7885 r7907  
    121121    </Compile> 
    122122  </ItemGroup> 
     123  <ItemGroup> 
     124    <Compile Include="alkuvalikko.png"> 
     125      <Name>alkuvalikko</Name> 
     126      <Importer>TextureImporter</Importer> 
     127      <Processor>TextureProcessor</Processor> 
     128    </Compile> 
     129  </ItemGroup> 
    123130  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    124131  <!--  To modify your build process, add your task inside one of the targets below and uncomment it.  
Note: See TracChangeset for help on using the changeset viewer.