Ignore:
Timestamp:
2011-06-29 13:43:04 (8 years ago)
Author:
teeevasa
Message:

CollisionShapeQuality? -> "fixes head in ceiling" -bug
In addition, restarted weapons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2011/26/JaakkoL/Rogue Agent 2372/Rogue Agent 2372/Rogue Agent 2372/Peli.cs

    r2286 r2290  
    2323 
    2424        Camera.Follow(player); 
    25         Camera.ZoomFactor = 1.2; 
     25        Camera.ZoomFactor = 1.0; 
    2626        Camera.StayInLevel = true; 
    2727    } 
     
    5454    PhysicsObject createHorizontalBlock() 
    5555    { 
    56         PhysicsObject hBlock = PhysicsObject.CreateStaticObject(SCREEN_WIDTH, SCREEN_HEIGTH); 
     56        PhysicsObject hBlock = PhysicsObject.CreateStaticObject(SCREEN_WIDTH, SCREEN_HEIGTH, 
     57            Shape.Rectangle, CollisionShapeQuality.Best); 
    5758        hBlock.Color = Color.Black; 
    5859        return hBlock; 
     
    6162    PhysicsObject createVerticalBlock() 
    6263    { 
    63         PhysicsObject vBlock = PhysicsObject.CreateStaticObject(SCREEN_WIDTH, SCREEN_HEIGTH); 
     64        PhysicsObject vBlock = PhysicsObject.CreateStaticObject(SCREEN_WIDTH, SCREEN_HEIGTH, 
     65            Shape.Rectangle, CollisionShapeQuality.Best); 
    6466        vBlock.Color = Color.Red; 
    6567        return vBlock; 
Note: See TracChangeset for help on using the changeset viewer.