Changeset 8728 for 2017/24


Ignore:
Timestamp:
2017-06-15 14:34:04 (2 years ago)
Author:
npo17_16
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2017/24/IlariI/piXgel GAmE/piXgel GAmE/piXgel_GAmE/piXgel_GAmE.cs

    r8727 r8728  
    2020    Image[] hahmo3kavely = LoadImages("hahmooikealle, hahmooikealle2"); 
    2121    Image[] hahmo4kavely = LoadImages("hahmotakaa, hahmotakaa2"); 
     22 
     23    
     24 
    2225 
    2326 
     
    4649        SmoothTextures = false; 
    4750        hahmonase.Color = Color.Transparent; 
     51        hahmo.Animation = new Animation(hahmonKavely); 
     52        hahmo.Animation.Start(); 
     53        hahmo.Animation.FPS = 10; 
    4854 
    4955        hahmonase.ProjectileCollision = Ammusosui; 
     
    8591        PhoneBackButton.Listen(ConfirmExit, "Lopeta peli"); 
    8692        Keyboard.Listen(Key.Escape, ButtonState.Pressed, ConfirmExit, "Lopeta peli"); 
     93 
    8794 
    8895    } 
     
    239246        { 
    240247            hahmonase.Angle = Angle.FromDegrees(180.0); 
    241             hahmo.Image = hahmonkuvavasemmalle; 
     248            hahmo.Image = hahmonkuvavasemmalle; hahmo.Animation = new Animation(hahmo2Kavely); 
    242249        } 
    243250        if (suunta.X > 0) 
Note: See TracChangeset for help on using the changeset viewer.