Ignore:
Timestamp:
2015-06-23 21:03:57 (5 years ago)
Author:
empaheik
Message:

Liekkien hienosäätöä.

File:
1 edited

Legend:

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

    r6210 r6211  
    234234    void CreateFlame(Vector position, double width, double height) 
    235235    { 
    236         PhysicsObject flame = PhysicsObject.CreateStaticObject(width, height); 
     236        PhysicsObject flame = PhysicsObject.CreateStaticObject(width, height * 2); 
    237237        //flame.Image = flameImage; 
    238238        flame.Color = Color.Red; 
    239         flame.Position = position; 
     239        double hieman = height * 0.3; 
     240        flame.Position = position - new Vector(0, hieman); 
    240241        flame.CollisionIgnoreGroup = 3; 
    241242        flame.Tag = "burn"; 
Note: See TracChangeset for help on using the changeset viewer.