Ignore:
Timestamp:
2012-04-18 12:13:09 (11 years ago)
Author:
anonymous
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2012/JAO/JaakkoSivill/hyppely/hyppely/hyppely/hyppely.cs

    r2714 r2716  
    1212    const double hyppyNopeus = 1000; 
    1313    const int RUUDUN_KOKO = 40; 
    14  
     14    IntMeter pisteLaskuri; 
    1515    PlatformCharacter pelaaja1; 
    1616    PlatformCharacter pelaaja2; 
     
    6969        ClearAll(); 
    7070        Gravity = new Vector(0, -1000); 
    71  
     71        LuoLaskuri1(); 
     72        LuoLaskuri2(); 
    7273        luoKentta(); 
    7374        lisaaNappaimet(); 
     
    174175            MessageDisplay.Add("Keräsit tähden!"); 
    175176            kohde.Destroy(); 
     177            pisteLaskuri.Value++; 
     178            pisteLaskuri.Value += 1; 
     179            pisteLaskuri.Value = pisteLaskuri.Value + 1; 
    176180        } 
    177181    } 
     
    201205        ControllerOne.Listen(Button.A, ButtonState.Pressed, hyppaa, "Pelaaja hyppää", pelaaja2, hyppyNopeus); 
    202206 
    203          
    204             } 
     207 
     208    } 
     209 
     210          
     211              
     212    
    205213} 
     214 
Note: See TracChangeset for help on using the changeset viewer.