Changeset 7448


Ignore:
Timestamp:
2016-06-18 19:03:25 (3 years ago)
Author:
eemjohla
Message:

Pikku muutoksia

Location:
2016/24/EemeliL
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • 2016/24/EemeliL/JumpingOnPlatforms/JumpingOnPlatforms/JumpingOnPlatforms/JumpingOnPlatforms.cs

    r7445 r7448  
    1010{ 
    1111    double nopeus = 500; 
    12     double hyppyNopeus = 1000; 
     12    double hyppyNopeus = 950; 
    1313    const int RUUDUN_KOKO = 40; 
    1414 
     
    134134        Keyboard.Listen(Key.R, ButtonState.Pressed, AloitaAlusta, "Aloita peli alusta"); 
    135135 
    136         //Keyboard.Listen(Key.P, ButtonState.Pressed, Nopeuta, null, 2000.0);         
    137         //Keyboard.Listen(Key.N, ButtonState.Pressed, Nopeuta, null, 300.0); 
    138         //Keyboard.Listen(Key.S, ButtonState.Pressed, Nopeuta, null, 30.0); 
    139         // 
    140         //Keyboard.Listen(Key.J, ButtonState.Pressed, NopeutaHyppy, null, 3000.0); 
    141         //Keyboard.Listen(Key.H, ButtonState.Pressed, NopeutaHyppy, null, 800.0); 
     136        Keyboard.Listen(Key.P, ButtonState.Pressed, Nopeuta, null, 2000.0);         
     137        Keyboard.Listen(Key.N, ButtonState.Pressed, Nopeuta, null, 300.0); 
     138        Keyboard.Listen(Key.S, ButtonState.Pressed, Nopeuta, null, 30.0); 
     139         
     140        Keyboard.Listen(Key.J, ButtonState.Pressed, NopeutaHyppy, null, 3000.0); 
     141        Keyboard.Listen(Key.H, ButtonState.Pressed, NopeutaHyppy, null, 800.0); 
    142142        
    143143        ControllerOne.Listen(Button.Back, ButtonState.Pressed, Exit, "Poistu pelistä"); 
  • 2016/24/EemeliL/JumpingOnPlatforms/JumpingOnPlatforms/JumpingOnPlatforms/bin/x86/Debug/Data/pisteet.xml

    r7445 r7448  
    1414        <Item Index="1" Type="Jypeli.ScoreItem, Jypeli, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null"> 
    1515          <Field Name="Name" Type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
     16            <Value>EemeliL</Value> 
     17          </Field> 
     18          <Field Name="Score" Type="System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
     19            <Value>30.850000000002</Value> 
     20          </Field> 
     21        </Item> 
     22        <Item Index="2" Type="Jypeli.ScoreItem, Jypeli, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null"> 
     23          <Field Name="Name" Type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    1624            <Value>PeteL</Value> 
    1725          </Field> 
     
    2028          </Field> 
    2129        </Item> 
    22         <Item Index="2" Type="Jypeli.ScoreItem, Jypeli, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null"> 
     30        <Item Index="3" Type="Jypeli.ScoreItem, Jypeli, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null"> 
    2331          <Field Name="Name" Type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    2432            <Value>EemeliL</Value> 
     
    2634          <Field Name="Score" Type="System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    2735            <Value>60.1099999999966</Value> 
    28           </Field> 
    29         </Item> 
    30         <Item Index="3" Type="Jypeli.ScoreItem, Jypeli, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null"> 
    31           <Field Name="Name" Type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    32             <Value>-</Value> 
    33           </Field> 
    34           <Field Name="Score" Type="System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    35             <Value>1000</Value> 
    3636          </Field> 
    3737        </Item> 
  • 2016/24/EemeliL/Pong/Pong.cs

    r7445 r7448  
    7373 
    7474        Level.Background.Image = LoadImage("Taustakuva"); 
    75         Level.Background.Color = Color.Black; 
     75        Level.Background.Color = RandomGen.NextColor(); 
    7676 
    7777        AddCollisionHandler(pallo, KasittelePallonTormays); 
     
    9292        maila.Y = Y; 
    9393        maila.Restitution = 1.0; 
    94         maila.Color = Color.DarkGray; 
     94        maila.Color = RandomGen.NextColor(); 
    9595        Add(maila); 
    9696        return maila; 
Note: See TracChangeset for help on using the changeset viewer.