Example #1
0
        public BlankScreen(Graphics.Graphics graphics)
        {
            TestEntity = new PlayerTest();
            Console.WriteLine(TestEntity.Hitbox.ToString());
            TestEntity.Animating = false;

            Scene = new BasicMapScene();
            //Scene.AmbientLight = Color.White;//new Color(20, 20, 20);
            TestEntity.LightSize = 0f;

            //int x = graphics.GetGraphicsDeviceManager().GraphicsDevice.Viewport.Width / 2;
            //int y = graphics.GetGraphicsDeviceManager().GraphicsDevice.Viewport.Height / 2;
            //TestEntity.Position = new Vector2(x + (32 * 32), y + (25 * 32) - 64);

            //Scene.AddEntity(TestEntity); //player entity
            //FakeSunEntity = new AnnoyingLightEntityTest();
            //Scene.AddEntity(FakeSunEntity); //lol
        }
Example #2
0
 public BasicMapScene()
 {
     Map = BasicTileMap.CreateTestMap();
     Camera = new Camera2D();
     TestPlayer = new PlayerTest();
 }