Changeset 6214 for 2015/26


Ignore:
Timestamp:
2015-06-23 21:47:39 (4 years ago)
Author:
sieerinn
Message:

Liekin animaatiota satunnaistettu hieman.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2015/26/ohjaajat/HillbillyRun/HillbillyRun/HillbillyRun/HillbillyRun/HillbillyRun.cs

    r6213 r6214  
    246246        flame.CollisionIgnoreGroup = 3; 
    247247        flame.Tag = "burn"; 
    248         flame.Animation = blaze; 
    249         flame.Animation.Start(); 
     248        flame.Animation = new Animation(blaze) { FPS = RandomGen.NextInt(20, 26) }; 
     249        flame.Animation.Step(RandomGen.NextInt(0, 12)); 
     250        flame.Animation.Resume(); 
    250251        Add(flame); 
    251252 
Note: See TracChangeset for help on using the changeset viewer.