Changeset 6732 for 2015/27/LukaP


Ignore:
Timestamp:
2015-07-02 11:39:31 (4 years ago)
Author:
lupepura
Message:

l

Location:
2015/27/LukaP
Files:
5 added
1 deleted
18 edited

Legend:

Unmodified
Added
Removed
  • 2015/27/LukaP/LukanPeli/LukanPeli/LukanPeli/LukanPeli.cs

    r6680 r6732  
    2525    int kenttaNro = 1; 
    2626 
    27  
    28  
    29  
    30  
    31  
    32     SoundEffect maaliAani = LoadSoundEffect("maali"); 
     27     
     28 
     29 
     30 
     31 
     32 
     33 
     34 
     35    SoundEffect maaliAani = LoadSoundEffect("maaliAani"); 
    3336 
    3437    public override void Begin() 
     
    4952        kentta.SetTileMethod('V', LisaaVihu); 
    5053        kentta.SetTileMethod('M',LisaaMaali); 
     54        IsFullScreen = true; 
    5155        kentta.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 
    5256        Level.Background.CreateGradient(Color.White, Color.SkyBlue); 
     
    241245    } 
    242246 
    243  
    244  
    245  
    246  
    247  
    248  
    249  
    250  
    251  
    252  
    253  
    254  
    255 } 
     247     
     248   void LuoAlkuValikko() 
     249   { 
     250    MultiSelectWindow alkuValikko = new MultiSelectWindow("Pelin alkuvalikko", "Aloita Peli", "ParhaatPisteet", "Lopeta"); 
     251 
     252     Add(alkuValikko); 
     253 
     254 
     255     alkuValikko.AddItemHandler(0, AloitaPeli); 
     256     alkuValikko.AddItemHandler(1, ParhaatPisteet);  
     257     alkuValikko.AddItemHandler(2, Exit); 
     258     alkuValikko.DefaultCancel = 3; 
     259     alkuValikko.Color = Color.Red; 
     260    
     261 
     262 
     263   } 
     264   void AloitaPeli() 
     265   { 
     266      
     267   } 
     268 
     269   void ParhaatPisteet() 
     270   { 
     271 
     272   } 
     273   public class Peli : Game 
     274   { 
     275       EasyHighScore topLista = new EasyHighScore(); 
     276 
     277 
     278 
     279 
     280   } 
     281    
     282   } 
     283 
     284 
     285 
     286 
     287 
     288 
     289 
     290 
     291 
     292 
     293 
  • 2015/27/LukaP/LukanPeli/LukanPeli/LukanPeli/LukanPeli.csproj.Debug.cachefile

    r6680 r6732  
    1 Content\maali.xnb 
    21Content\kentta1.xnb 
    32Content\Ukko.xnb 
     
    65Content\Kentta2.xnb 
    76Content\kentta3.xnb 
     7Content\Ukko 2.xnb 
     8Content\Maali.xnb 
     9Content\maaliAani.xnb 
  • 2015/27/LukaP/LukanPeli/LukanPeli/LukanPeli/obj/x86/Debug/ContentPipeline-{2119C4D2-AF14-42FC-976F-6011121F8356}.xml

    r6680 r6732  
    22<XnaContent xmlns:Pipeline="Microsoft.Xna.Framework.Content.Pipeline"> 
    33  <Asset Type="Pipeline:BuildItemCollection"> 
    4     <Item> 
    5       <Source>maali.wav</Source> 
    6       <Name>maali</Name> 
    7       <Importer>WavImporter</Importer> 
    8       <Processor>SoundEffectProcessor</Processor> 
    9       <Options>None</Options> 
    10       <Output>C:\MyTemp\LukaP\LukanPeli\LukanPeli\LukanPeli\bin\x86\Debug\Content\maali.xnb</Output> 
    11       <Time>2015-06-30T13:58:10.2600977+03:00</Time> 
    12     </Item> 
    134    <Item> 
    145      <Source>kentta1.txt</Source> 
     
    189      <Options>None</Options> 
    1910      <Output>C:\MyTemp\LukaP\LukanPeli\LukanPeli\LukanPeli\bin\x86\Debug\Content\kentta1.xnb</Output> 
    20       <Time>2015-07-01T14:29:16.3648525+03:00</Time> 
     11      <Time>2015-07-02T11:34:24.210558+03:00</Time> 
    2112    </Item> 
    2213    <Item> 
     
    5445      <Options>None</Options> 
    5546      <Output>C:\MyTemp\LukaP\LukanPeli\LukanPeli\LukanPeli\bin\x86\Debug\Content\Kentta2.xnb</Output> 
    56       <Time>2015-07-01T13:59:14.2275241+03:00</Time> 
     47      <Time>2015-07-02T11:38:20.2124585+03:00</Time> 
    5748    </Item> 
    5849    <Item> 
     
    6354      <Options>None</Options> 
    6455      <Output>C:\MyTemp\LukaP\LukanPeli\LukanPeli\LukanPeli\bin\x86\Debug\Content\kentta3.xnb</Output> 
    65       <Time>2015-07-01T14:24:12.7712724+03:00</Time> 
     56      <Time>2015-07-02T10:43:16.8679109+03:00</Time> 
     57    </Item> 
     58    <Item> 
     59      <Source>Ukko 2.png</Source> 
     60      <Name>Ukko 2</Name> 
     61      <Importer>TextureImporter</Importer> 
     62      <Processor>TextureProcessor</Processor> 
     63      <Options>None</Options> 
     64      <Output>C:\MyTemp\LukaP\LukanPeli\LukanPeli\LukanPeli\bin\x86\Debug\Content\Ukko 2.xnb</Output> 
     65      <Time>2015-07-02T10:10:00.3876664+03:00</Time> 
     66    </Item> 
     67    <Item> 
     68      <Source>Maali.png</Source> 
     69      <Name>Maali</Name> 
     70      <Importer>TextureImporter</Importer> 
     71      <Processor>TextureProcessor</Processor> 
     72      <Options>None</Options> 
     73      <Output>C:\MyTemp\LukaP\LukanPeli\LukanPeli\LukanPeli\bin\x86\Debug\Content\Maali.xnb</Output> 
     74      <Time>2015-07-01T14:48:31.7400603+03:00</Time> 
     75    </Item> 
     76    <Item> 
     77      <Source>maaliAani.wav</Source> 
     78      <Name>maaliAani</Name> 
     79      <Importer>WavImporter</Importer> 
     80      <Processor>SoundEffectProcessor</Processor> 
     81      <Options>None</Options> 
     82      <Output>C:\MyTemp\LukaP\LukanPeli\LukanPeli\LukanPeli\bin\x86\Debug\Content\maaliAani.xnb</Output> 
     83      <Time>2015-06-30T13:58:10.2600977+03:00</Time> 
    6684    </Item> 
    6785    <BuildSuccessful>true</BuildSuccessful> 
  • 2015/27/LukaP/LukanPeli/LukanPeli/LukanPeli/obj/x86/Debug/LukanPeli.csproj.FileListAbsolute.txt

    r6680 r6732  
    1 C:\MyTemp\LukaP\LukanPeli\LukanPeli\LukanPeli\bin\x86\Debug\Content\maali.xnb 
    21C:\MyTemp\LukaP\LukanPeli\LukanPeli\LukanPeli\bin\x86\Debug\Content\kentta1.xnb 
    32C:\MyTemp\LukaP\LukanPeli\LukanPeli\LukanPeli\bin\x86\Debug\LukanPeli.exe 
     
    1413C:\MyTemp\LukaP\LukanPeli\LukanPeli\LukanPeli\bin\x86\Debug\Content\Kentta2.xnb 
    1514C:\MyTemp\LukaP\LukanPeli\LukanPeli\LukanPeli\bin\x86\Debug\Content\kentta3.xnb 
     15C:\MyTemp\LukaP\LukanPeli\LukanPeli\LukanPeli\bin\x86\Debug\Content\Ukko 2.xnb 
     16C:\MyTemp\LukaP\LukanPeli\LukanPeli\LukanPeli\bin\x86\Debug\Content\Maali.xnb 
     17C:\MyTemp\LukaP\LukanPeli\LukanPeli\LukanPeli\bin\x86\Debug\Content\maaliAani.xnb 
  • 2015/27/LukaP/LukanPeli/LukanPeli/LukanPeli/obj/x86/Debug/cachefile-{2119C4D2-AF14-42FC-976F-6011121F8356}-targetpath.txt

    r6680 r6732  
    1 Content\maali.xnb 
    21Content\kentta1.xnb 
    32Content\Ukko.xnb 
     
    65Content\Kentta2.xnb 
    76Content\kentta3.xnb 
     7Content\Ukko 2.xnb 
     8Content\Maali.xnb 
     9Content\maaliAani.xnb 
  • 2015/27/LukaP/LukanPeli/LukanPeli/LukanPeliContent/LukanPeliContent.contentproj

    r6680 r6732  
    4646  </ItemGroup> 
    4747  <ItemGroup> 
    48     <Compile Include="maali %28ääni%29.wav"> 
    49       <Name>maali %28ääni%29</Name> 
     48    <Compile Include="maaliAani.wav"> 
     49      <Name>maaliAani</Name> 
    5050      <Importer>WavImporter</Importer> 
    5151      <Processor>SoundEffectProcessor</Processor> 
     
    9898      <Processor>TextureProcessor</Processor> 
    9999    </Compile> 
     100    <Compile Include="Ukko 2.png"> 
     101      <Name>Ukko 2</Name> 
     102      <Importer>TextureImporter</Importer> 
     103      <Processor>TextureProcessor</Processor> 
     104    </Compile> 
    100105  </ItemGroup> 
    101106  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
  • 2015/27/LukaP/LukanPeli/LukanPeli/LukanPeliContent/kentta1.txt

    r6680 r6732  
    66.............................................................................................................................................................................. 
    77....................................................................................................................................................................................... 
    8  ...................................................................................................................................................................................................V............M... 
    9 ...................................*.V..*......*....*.........*.....V.....................................*.................................................................................###################......................... 
    10 ..................#.#..#..#...#....#....#....#.....#......#.....#....#...:...#.....V........#...................................................#....#.....#....#.....#...#....#....########################## 
    11 ..............#...#....#......#....#....#....#.....#.......................#......######..........#....................................#....#.............................................................             
    12 .N........*V........................11111111111111111111111111111111...................................#....#....#...#...#...#....#......................................... 
     8 ............................................................................................................................V......................................................................V.........M....... 
     9...................................*.V..*......*....*.........*.....V.....................................*..................V..............................................................###################......................... 
     10..................#.#..#..#...#....#....#....#.....#......#.....#....#...:...#.....V........#................................V..................#....#.....#....#.....#...#....#....########################## 
     11..............#...#....#......#....#....#....#.....#.......................#......######..........#..............*.......*...V.........#....#.............................................................             
     12..N.......*V........................11111111111111111111111111111111...................................#....#....#...#...#...#....#......................................... 
    1313#############.................................... 
    1414#############11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 
  • 2015/27/LukaP/LukanPeli/LukanPeli/LukanPeliContent/kentta2.txt

    r6680 r6732  
    33 .................................................................................................................................................................................... 
    44 .................................................................................................................................................................................... 
    5  ......................................................................................................................................*...V........*VVVVVV**...**V...V...V...V...V......M    
     5 ......................................................................................................................................*...V........*VVVVVV**...**V...V...V...V...V.M.....    
    66 ......................................................................................................................................########....##################################.......................................... 
    77 ...........................................................V.......*........V..................................................*.....#................................................... 
    88 .........................................................####....####....####..................................................#......................................................................... 
    99 .......................................................V......................###....*.....................................*..#.......................................................... 
    10  ....................................................*.####...........................#.....................................#............................................................... 
    11  ..N....*...............V.....................V....####...................................#......*..........*..V....#....#..................................................................................... 
     10 ....................................................*.####...........................#.................*...*..*...........#............................................................... 
     11 ..N....*...............V.....................V....####...................................#......*......VVVVVVVV....#....#..................................................................................... 
    1212 ##############....######################...###.................................................###.....########................................................................................................................ 
    1313 ............................................................................................................................................................................................ 
  • 2015/27/LukaP/LukanPeli/LukanPeli/LukanPeliContent/kentta3.txt

    r6680 r6732  
    1313 .........................................V......#.....V.......................................................................................................................................................................................................................................... 
    1414 .........................############################################################...................................................................................................................................................................................................................................................................... 
    15  ...................##################################################################............................................................................................................................................................................................................................................................................ 
     15 .................V.##################################################################............................................................................................................................................................................................................................................................................ 
    1616 ..............#############################################################................................................................................................................................................................................................................................................................................. 
    1717 ..........#################################################################...............#...................................................................................................................................................................................................................................................................... 
    18  ....#######################################################################............................................................V............V................................................................................................................................................................................................................. 
    19  ###########################################################################........................V.............................#.....#.....#...#..#...#........................................................................................................................................................................................................................ 
    20  ...................................................................................................#.........................*................................V..*............................................................................................................................... 
     18 .N..#######################################################################............................................................V............V................................................................................................................................................................................................................. 
     19 ###########################################################################.......................V..............................#.....#.....#...#..#...#........................................................................................................................................................................................................................ 
     20 ..................................................................................................#...........................*................................V..*............................................................................................................................... 
    2121 .............................................................................................................................#.............................#######..V...*............................................................................................................................... 
    22  ............................................................................................................*.....V......V........................................########..*.V......................................................................................................................... 
    23  ............................................................................................................#.....#......#................................................######.*.V..................................................................................................................... 
     22 .......................................................................................................#....*.....V.....V.........................................####..##..*.V......................................................................................................................... 
     23 ............................................................................................................#.....#.....#.................................................##.###.*.V..................................................................................................................... 
    2424 ................................................................................................................................................................................#####.*.V............................................................................................................ 
    2525 .....................................................................................................................................................................................#####..V.................................................................................................. 
    2626 ..........................................................................................................................................................................................#####.*.V..............M................................................................................... 
    27  ...............................................................................................................................................................................................################................................................................................................ 
     27 ...............................................................................................................................................................................................#####.####.##.##................................................................................................ 
    2828 ............................................................................................................................................................................................................................................................................................... 
    2929 ............................................................................................................................................................................................................................................................................................... 
    3030 ............................................................................................................................................................................................................................................................................................... 
    31  ............................................................................................................................................................................................................................................................................................... 
     31 .11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111.............................................................................................................................................................................................................................................................................................. 
    3232 ............................................................................................................................................................................................................................................................................................... 
    3333 ............................................................................................................................................................................................................................................................................................... 
Note: See TracChangeset for help on using the changeset viewer.