Ignore:
Timestamp:
2012-07-03 13:17:05 (8 years ago)
Author:
dezhidki
Message:

Talletus.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2012/27/DenisZ/TheDungeonGame/TheDungeonGame/TheDungeonGame/TheDungeonGame.cs

    r3466 r3477  
    1212public class TheDungeonGame : PhysicsGame 
    1313{ 
     14    public const double ROOMWIDTH = 850; 
     15    public const double ROOMHEIGHT = 500; 
    1416    private Player player; 
    1517 
     
    1820        IsMouseVisible = true; 
    1921        SetWindowSize(800, 600); 
    20          
     22        Level.Width = 100000; 
     23        Level.Height = 100000; 
    2124        Level.CreateBorders(); 
    22         Camera.ZoomToLevel(); 
     25        Camera.Zoom(0.8); 
    2326 
    24         TestRoom testroom = new TestRoom(this,new Vector(Level.Left, Level.Top), new Vector(200, 100), 20); 
     27        TestRoom testroom = new TestRoom(this,new Vector(-460, 300), new Vector(ROOMWIDTH, ROOMHEIGHT), 70); 
    2528        testroom.buildLevel(); 
    2629 
    2730        player = new Player(Vector.Zero); 
    28         Add(player); 
     31        Add(player, 1); 
    2932 
    3033        Keyboard.Listen(Key.Escape, ButtonState.Pressed, Exit, "Lopeta peli");    
Note: See TracChangeset for help on using the changeset viewer.