Changeset 7536


Ignore:
Timestamp:
2016-06-27 21:38:36 (3 years ago)
Author:
eemjohla
Message:

Hackejä parannettu

Location:
2016/24/EemeliL
Files:
431 added
11 edited

Legend:

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

    r7448 r7536  
    66using Jypeli.Effects; 
    77using Jypeli.Widgets; 
     8using Microsoft.Xna.Framework.Graphics; 
     9using Microsoft.Xna.Framework; 
     10using System.Reflection; 
    811 
    912public class JumpingOnPlatforms  : PhysicsGame 
     
    4649          "Aloita peli", "Parhaat pisteet", "Peliohjeet", "Lopeta"); 
    4750 
    48         alkuValikko.Color = Color.Gold; 
     51        alkuValikko.Color = Jypeli.Color.Gold; 
    4952 
    5053        alkuValikko.AddItemHandler(0, AloitaPeli); 
     
    134137        Keyboard.Listen(Key.R, ButtonState.Pressed, AloitaAlusta, "Aloita peli alusta"); 
    135138 
    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); 
     139        //Keyboard.Listen(Key.P, ButtonState.Pressed, Nopeuta, null, 2000.0);         
     140        //Keyboard.Listen(Key.N, ButtonState.Pressed, Nopeuta, null, 300.0); 
     141        //Keyboard.Listen(Key.S, ButtonState.Pressed, Nopeuta, null, 30.0); 
     142        // 
     143        //Keyboard.Listen(Key.J, ButtonState.Pressed, NopeutaHyppy, null, 3000.0); 
     144        //Keyboard.Listen(Key.H, ButtonState.Pressed, NopeutaHyppy, null, 800.0); 
    142145        
    143146        ControllerOne.Listen(Button.Back, ButtonState.Pressed, Exit, "Poistu pelistä"); 
     
    230233        pisteNaytto.X = Screen.Left + 100; 
    231234        pisteNaytto.Y = Screen.Top - 100; 
    232         pisteNaytto.TextColor = Color.DarkGreen; 
    233         pisteNaytto.Color = Color.DarkOrange; 
     235        pisteNaytto.TextColor = Jypeli.Color.DarkGreen; 
     236        pisteNaytto.Color = Jypeli.Color.DarkOrange; 
    234237        
    235238        pisteNaytto.BindTo(pisteLaskuri); 
     
    264267        Label aikaNaytto = new Label(); 
    265268        aikaNaytto.Position = new Vector(200.0, 200.0); 
    266         aikaNaytto.TextColor =  Color.Gold; 
     269        aikaNaytto.TextColor =  Jypeli.Color.Gold; 
    267270        aikaNaytto.DecimalPlaces = 1; 
    268271        aikaNaytto.BindTo(aikaLaskuri.SecondCounter); 
     
    324327 
    325328    } 
    326      
     329 
    327330} 
    328331     
  • 2016/24/EemeliL/JumpingOnPlatforms/JumpingOnPlatforms/JumpingOnPlatforms/bin/x86/Debug/Data/pisteet.xml

    r7448 r7536  
    1717          </Field> 
    1818          <Field Name="Score" Type="System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
     19            <Value>29.2500000000018</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"> 
     24            <Value>EemeliL</Value> 
     25          </Field> 
     26          <Field Name="Score" Type="System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
     27            <Value>30.750000000002</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>EemeliL</Value> 
     33          </Field> 
     34          <Field Name="Score" Type="System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    1935            <Value>30.850000000002</Value> 
    2036          </Field> 
    2137        </Item> 
    22         <Item Index="2" Type="Jypeli.ScoreItem, Jypeli, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null"> 
     38        <Item Index="4" Type="Jypeli.ScoreItem, Jypeli, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null"> 
    2339          <Field Name="Name" Type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    2440            <Value>PeteL</Value> 
     
    2844          </Field> 
    2945        </Item> 
    30         <Item Index="3" Type="Jypeli.ScoreItem, Jypeli, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null"> 
     46        <Item Index="5" Type="Jypeli.ScoreItem, Jypeli, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null"> 
    3147          <Field Name="Name" Type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    3248            <Value>EemeliL</Value> 
     
    3450          <Field Name="Score" Type="System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    3551            <Value>60.1099999999966</Value> 
    36           </Field> 
    37         </Item> 
    38         <Item Index="4" Type="Jypeli.ScoreItem, Jypeli, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null"> 
    39           <Field Name="Name" Type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    40             <Value>-</Value> 
    41           </Field> 
    42           <Field Name="Score" Type="System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    43             <Value>1000</Value> 
    44           </Field> 
    45         </Item> 
    46         <Item Index="5" Type="Jypeli.ScoreItem, Jypeli, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null"> 
    47           <Field Name="Name" Type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    48             <Value>-</Value> 
    49           </Field> 
    50           <Field Name="Score" Type="System.Double, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> 
    51             <Value>1000</Value> 
    5252          </Field> 
    5353        </Item> 
  • 2016/24/EemeliL/JumpingOnPlatforms/JumpingOnPlatforms/JumpingOnPlatforms/obj/x86/Debug/ContentPipeline-{FB1067CC-FEED-45F1-8CB8-8F3DD59AB260}.xml

    r7445 r7536  
    1818      <Options>None</Options> 
    1919      <Output>C:\EemeliL\JumpingOnPlatforms\JumpingOnPlatforms\JumpingOnPlatforms\bin\x86\Debug\Content\tahti.xnb</Output> 
    20       <Time>2016-06-17T17:52:03.7736727+03:00</Time> 
     20      <Time>2016-06-27T20:57:38.1665964+03:00</Time> 
    2121    </Item> 
    2222    <Item> 
     
    7272      <Options>None</Options> 
    7373      <Output>C:\EemeliL\JumpingOnPlatforms\JumpingOnPlatforms\JumpingOnPlatforms\bin\x86\Debug\Content\kentta1.xnb</Output> 
    74       <Time>2016-06-17T17:52:02.5181976+03:00</Time> 
     74      <Time>2016-06-23T17:32:39.9270299+03:00</Time> 
    7575    </Item> 
    7676    <BuildSuccessful>true</BuildSuccessful> 
  • 2016/24/EemeliL/JumpingOnPlatforms/JumpingOnPlatforms/JumpingOnPlatformsContent/kentta1.txt

    r7404 r7536  
    1212# **** **** ******** **** * 
    1313 *************N************* 
    14 ############################   
     14##############################   
Note: See TracChangeset for help on using the changeset viewer.