Ignore:
Timestamp:
2014-07-24 11:20:37 (6 years ago)
Author:
oomahutt
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2014/30/OonaH/GoldenMaknae2/GoldenMaknae2/GoldenMaknae2/GoldenMaknae2.cs

    r5618 r5620  
    8383 
    8484 
    85         Kookie = PhysicsObject.CreateStaticObject(50.0, 50.0); 
     85        Kookie = new PlatformCharacter(50.0, 50.0); 
    8686        //Kookie.X = 0.0; 
    8787        //Kookie.Y = Level.Bottom + 30; 
     
    8989        Kookie.Image = KookieKuva; 
    9090        Kookie.Restitution = 1.0; 
    91         AddCollisionHandler(tavarat, "reuna", Osuma); 
     91        Gravity = new Vector(); 
    9292 
    9393        Add(Kookie); 
     
    122122            tavarat.Velocity = new Vector(0, -200); 
    123123            tavarat.CollisionIgnoreGroup = 1; 
     124            tavarat.IgnoresGravity = true; 
    124125            Add(tavarat); 
     126 
     127            AddCollisionHandler(tavarat, "reuna", Osuma); 
     128 
    125129            i++; 
    126130        } 
Note: See TracChangeset for help on using the changeset viewer.