Ignore:
Timestamp:
2014-07-02 21:39:26 (6 years ago)
Author:
mijoilmo
Message:

thruster animaatio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2014/27/AleksanteriV/Protokolla236TrueSurvivor/Protokolla236TrueSurvivor/Protokolla236TrueSurvivor/Player.cs

    r5299 r5308  
    4444 
    4545        this.thrusterEffect = new GameObject(40, 40); 
    46         thrusterEffect.Image = parent.Images["player_thruster"]; 
     46        thrusterEffect.Animation = new Animation(parent.ImageLists["player_thruster"]); 
     47        thrusterEffect.Animation.FPS = 18; 
     48        thrusterEffect.Animation.Start(); 
    4749        thrusterEffect.IsVisible = false; 
    48         thrusterEffect.Y -= 20; 
     50        thrusterEffect.Y -= 19; 
    4951        Add(thrusterEffect); 
    5052    } 
Note: See TracChangeset for help on using the changeset viewer.