Changeset 7564


Ignore:
Timestamp:
2016-06-29 11:26:55 (3 years ago)
Author:
hesipone
Message:
 
Location:
2016/26/HennaS/Hyppelypeli
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • 2016/26/HennaS/Hyppelypeli/Hyppelypeli/Hyppelypeli/Hyppelypeli.cs

    r7556 r7564  
    7878        Keyboard.Listen(Key.Left, ButtonState.Down, Liikuta, "Liikkuu vasemmalle", pelaaja1, -nopeus); 
    7979        Keyboard.Listen(Key.Right, ButtonState.Down, Liikuta, "Liikkuu vasemmalle", pelaaja1, nopeus); 
    80         Keyboard.Listen(Key.Up, ButtonState.Pressed, Hyppaa, "Pelaaja hyppää", pelaaja1, hyppyNopeus); 
     80        Keyboard.Listen(Key.Up, ButtonState.Down, Hyppaa, "Pelaaja hyppää", pelaaja1, hyppyNopeus); 
     81        //Keyboard.Listen(Key.Down, ButtonState.Down, Hyppaa, "Pelaaja hyppää", pelaaja1, -hyppyNopeus); 
    8182 
    8283        ControllerOne.Listen(Button.Back, ButtonState.Pressed, Exit, "Poistu pelistä"); 
     
    9697    void Hyppaa(PlatformCharacter hahmo, double nopeus) 
    9798    { 
     99        //hahmo.Velocity = new Vector(0, nopeus); 
    98100        hahmo.Jump(nopeus); 
    99101    } 
  • 2016/26/HennaS/Hyppelypeli/Hyppelypeli/Hyppelypeli/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml

    r7556 r7564  
    3636      <Options>None</Options> 
    3737      <Output>C:\MyTemp\HennaS\Hyppelypeli\Hyppelypeli\Hyppelypeli\bin\x86\Debug\Content\kentta1.xnb</Output> 
    38       <Time>2016-06-28T14:55:55.8263353+03:00</Time> 
     38      <Time>2016-06-29T11:22:21.7024136+03:00</Time> 
    3939    </Item> 
    4040    <BuildSuccessful>true</BuildSuccessful> 
  • 2016/26/HennaS/Hyppelypeli/Hyppelypeli/HyppelypeliContent/kentta1.txt

    r7556 r7564  
    1 ................................................................................................................................................................................... 
    2 ................................................................................................................................................................................... 
    3 ................................................................................................................................................................................... 
    4 ................................................................................................................................................................................... 
    5 ................................................................................................................................................................................... 
    6 ................................................................................................................................................................................... 
    7 ................................................................................................................................................................................... 
    8 .................................................................................................................................................................................. 
    9 ................................................................................................................................................................................ 
    10 ....................................................................................................................................................................................... 
    11 ..........................###...........###....###..........###.....###########....###....................................................................................................................................................................................... 
    12 .................######.................................................................................................................................................................. 
    13 ...........###............................................................................................................................................................................. 
    14 ..N..###................................................................................................................................................................................... 
    15 ###................................................................................................................................................................................ 
    16 ................................................................................................................................................................................... 
    17 ################################################################################################################################################################################### 
     1.......................................................................................................................................... 
     2.......................................................................................................................................... 
     3.......................................................................................................................................... 
     4.......................................................................................................................................... 
     5.......................................................................................................................................... 
     6.......................................................................................................................................... 
     7.......................................................................................................................................... 
     8.......................................................................................................................................... 
     9.......................................................................................................................................... 
     10.......................................................................................................................................... 
     11.............................................................................###............................................................. 
     12................###..........###...................................................###............................................................. 
     13...N.....###...........###..........###................#####..........###.................###............................................................... 
     14######......................................###.................................................................................................... 
     15..................................................###...........###............................................................................. 
     16.......................................................................................................................................... 
     17########################################################################################################################################## 
Note: See TracChangeset for help on using the changeset viewer.