Ignore:
Timestamp:
2017-07-05 11:26:37 (22 months ago)
Author:
npo17_37
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2016/koodauskerho/VilleH/Tasohyppelypeli/Tasohyppelypeli/Tasohyppelypeli/ninjakissanhikileikit.cs

    r8911 r8912  
    88 
    99public class Tasohyppelypeli1 : PhysicsGame 
    10 {  
     10{ 
     11    Image taustakuva = LoadImage("kentta"); 
    1112    double nopeus = 650; 
    1213    double hyppyNopeus = 500; 
     
    5152        kentta.Execute(RUUDUN_KOKO, RUUDUN_KOKO); 
    5253        Level.CreateBorders(); 
    53         Level.Background.CreateGradient(Color.White, Color.SkyBlue); 
     54         
    5455    } 
    5556 
     
    208209        if (vastaus[0] == "YOLO") 
    209210        { 
    210             nopeus = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999.0; 
     211            nopeus = 999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999.0; 
    211212        } 
    212213        if (vastaus[0] == "spawn") 
     
    214215            pelaaja1.Position = alkupaikka; 
    215216        } 
    216         if (vastaus[0] == "hax") 
     217        
     218            if (vastaus[0] == "hax") 
    217219        { 
    218220            nopeus = 100; 
Note: See TracChangeset for help on using the changeset viewer.