Changeset 6645 for 2015/27


Ignore:
Timestamp:
2015-07-01 11:01:04 (4 years ago)
Author:
maankari
Message:
 
Location:
2015/27/BenjaminE/BenJaMarkPeli/HacknSlash/HacknSlash
Files:
2 added
12 edited

Legend:

Unmodified
Added
Removed
  • 2015/27/BenjaminE/BenJaMarkPeli/HacknSlash/HacknSlash/HacknSlash/HacknSlash.cs

    r6636 r6645  
    4040        LuoPelaaja(); 
    4141 
    42         Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); 
     42        
    4343    } 
    4444 
     
    5858        Vector alas = new Vector(0.0, -500.0); 
    5959        Vector oikea = new Vector(500.0, 0.0); 
    60         Vector vasema = new Vector(-500.0, 0.0); 
     60        Vector vasen = new Vector(-500.0, 0.0); 
    6161 
    62         Keyboard.Listen(Key.Up, ButtonState.Down, AsetaNopeus, "Liiku ylös.", pelaaja, ylos); 
    63         Keyboard.Listen(Key.Up, ButtonState.Pressed, AsetaKuva, null, pelaaja, ekaPlKuva4); 
    64         Keyboard.Listen(Key.Up, ButtonState.Released, AsetaNopeus, null, pelaaja, Vector.Zero); 
     62 
     63 
    6564 
    6665        Keyboard.Listen(Key.Down, ButtonState.Down, AsetaNopeus, "Liiku alas.", pelaaja, alas); 
     
    7271        Keyboard.Listen(Key.Right, ButtonState.Released, AsetaNopeus, null, pelaaja, Vector.Zero); 
    7372 
    74         Keyboard.Listen(Key.Left, ButtonState.Down, AsetaNopeus, "Liiku vasemalle.", pelaaja, vasema); 
     73        Keyboard.Listen(Key.Left, ButtonState.Down, AsetaNopeus, "Liiku vasemalle.", pelaaja, vasen); 
    7574        Keyboard.Listen(Key.Left, ButtonState.Pressed, AsetaKuva, null, pelaaja, ekaPlKuva3); 
    7675        Keyboard.Listen(Key.Left, ButtonState.Released, AsetaNopeus, null, pelaaja, Vector.Zero); 
    7776 
    78         Keyboard.Listen(Key.Space, ButtonState.Pressed, Hyokkaa, "Hyökkää miekkaan kansa."); 
     77        Keyboard.Listen(Key.Up, ButtonState.Down, AsetaNopeus, "Liiku ylös.", pelaaja, ylos); 
     78        Keyboard.Listen(Key.Up, ButtonState.Pressed, AsetaKuva, null, pelaaja, ekaPlKuva4); 
     79        Keyboard.Listen(Key.Up, ButtonState.Released, AsetaNopeus, null, pelaaja, Vector.Zero); 
     80 
     81        Keyboard.Listen(Key.F1, ButtonState.Pressed, ShowControlHelp, "Näytä ohjeet"); 
     82 
     83 
     84        Keyboard.Listen(Key.Space, ButtonState.Down, Hyokkaa, "Hyökkää miekkaan kansa."); 
     85 
     86        Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); 
    7987    } 
    8088 
  • 2015/27/BenjaminE/BenJaMarkPeli/HacknSlash/HacknSlash/HacknSlash/HacknSlash.csproj.Debug.cachefile

    r6636 r6645  
    55Content\res\ekaPelaaja4.xnb 
    66Content\res\ekaPelaaja.xnb 
     7Content\res\vihu.xnb 
  • 2015/27/BenjaminE/BenJaMarkPeli/HacknSlash/HacknSlash/HacknSlash/obj/x86/Debug/ContentPipeline-{B50C5C81-ED9D-42F4-AD31-25D2EE77B745}.xml

    r6636 r6645  
    5656      <Time>2015-07-01T09:58:37.1135406+03:00</Time> 
    5757    </Item> 
     58    <Item> 
     59      <Source>res\vihu.png</Source> 
     60      <Name>res\vihu</Name> 
     61      <Importer>TextureImporter</Importer> 
     62      <Processor>TextureProcessor</Processor> 
     63      <Options>None</Options> 
     64      <Output>C:\MyTemp\MarkR\BenJaMarkPeli\HacknSlash\HacknSlash\HacknSlash\bin\x86\Debug\Content\res\vihu.xnb</Output> 
     65      <Time>2015-07-01T10:26:01.9340406+03:00</Time> 
     66    </Item> 
    5867    <BuildSuccessful>true</BuildSuccessful> 
    5968    <Settings> 
  • 2015/27/BenjaminE/BenJaMarkPeli/HacknSlash/HacknSlash/HacknSlash/obj/x86/Debug/HacknSlash.csproj.FileListAbsolute.txt

    r6636 r6645  
    2424C:\MyTemp\MarkR\BenJaMarkPeli\HacknSlash\HacknSlash\HacknSlash\obj\x86\Debug\HacknSlash.exe 
    2525C:\MyTemp\MarkR\BenJaMarkPeli\HacknSlash\HacknSlash\HacknSlash\obj\x86\Debug\HacknSlash.pdb 
     26C:\MyTemp\MarkR\BenJaMarkPeli\HacknSlash\HacknSlash\HacknSlash\bin\x86\Debug\Content\res\vihu.xnb 
  • 2015/27/BenjaminE/BenJaMarkPeli/HacknSlash/HacknSlash/HacknSlash/obj/x86/Debug/cachefile-{B50C5C81-ED9D-42F4-AD31-25D2EE77B745}-targetpath.txt

    r6636 r6645  
    55Content\res\ekaPelaaja4.xnb 
    66Content\res\ekaPelaaja.xnb 
     7Content\res\vihu.xnb 
  • 2015/27/BenjaminE/BenJaMarkPeli/HacknSlash/HacknSlash/HacknSlashContent/HacknSlashContent.contentproj

    r6614 r6645  
    8383    </Compile> 
    8484  </ItemGroup> 
     85  <ItemGroup> 
     86    <Compile Include="res\vihu.png"> 
     87      <Name>vihu</Name> 
     88      <Importer>TextureImporter</Importer> 
     89      <Processor>TextureProcessor</Processor> 
     90    </Compile> 
     91  </ItemGroup> 
    8592  <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\$(XnaFrameworkVersion)\Microsoft.Xna.GameStudio.ContentPipeline.targets" /> 
    8693  <!--  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.