protected override void Initialize() { dist = new Timer(0.2f); easeOut = new Timer(5f); easeIn = new Timer(3f); gameState = GameState.Menu; currentUInb = 0; score = 0; IsMouseVisible = true; blackness = 0.5f; fading = true; goingToMenu = false; //VALUES //UTILITY ebuilder = new EntBuilder42(); scenes = new SceneCollection(); scenes.scenes.Add(new Scene( new RenderTarget2D(GraphicsDevice, vdims.X, vdims.Y), new Rectangle(0, 0, vdims.X, vdims.Y), new Rectangle(0, 0, wdims.X, wdims.Y), "main" )); scenes.scenes.Add(new Scene( new RenderTarget2D(GraphicsDevice, vdims.X, vdims.Y), new Rectangle(0, 0, vdims.X, vdims.Y), new Rectangle(0, 0, vdims.X, vdims.Y), "UI" )); scenes.scenes.Add(new Scene( new RenderTarget2D(GraphicsDevice, vdims.X, vdims.Y), new Rectangle(0, 0, vdims.X, vdims.Y), new Rectangle(0, 0, vdims.X, vdims.Y), "game" )); scenes.scenes.Add(new Scene( new RenderTarget2D(GraphicsDevice, vdims.X, vdims.Y), new Rectangle(0, 0, vdims.X, vdims.Y), new Rectangle(0, 0, vdims.X, vdims.Y), "inven" )); cursorManager = new CursorManager(); KeyManager[] keyManagers = new KeyManager[] { }; ipp = InputProfile.GetLetterProfile(); fdrawer = new FontDrawer(); List <TextureDrawer> chars = new List <TextureDrawer>(); string white = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789?!:;.-_@"; for (int i = 0; i < white.Length; i++) { chars.Add(new TextureDrawer(Content.Load <Texture2D>("Placeholder/font_white"), new TextureFrame(new Rectangle(i * 6, 0, 5, 11), Point.Zero), null, white[i].ToString())); } white = "abcdefghijklmnopqrstuvwxyz"; for (int i = 0; i < white.Length; i++) { chars.Add(new TextureDrawer(Content.Load <Texture2D>("Placeholder/font_white"), new TextureFrame(new Rectangle(i * 6, 13, 5, 11), Point.Zero), null, white[i].ToString())); } //real font List <TextureDrawer> char2s = new List <TextureDrawer>(); white = "01234"; for (int i = 0; i < white.Length; i++) { char2s.Add(new TextureDrawer(Content.Load <Texture2D>("UI/score"), new TextureFrame(new Rectangle(i * 16, 16, 16, 16), Point.Zero), null, white[i].ToString())); } white = "56789"; for (int i = 0; i < white.Length; i++) { char2s.Add(new TextureDrawer(Content.Load <Texture2D>("UI/score"), new TextureFrame(new Rectangle(i * 16, 32, 16, 16), Point.Zero), null, white[i].ToString())); } fdrawer.fonts = new List <DrawerCollection> { new DrawerCollection(chars, "whitefont"), new DrawerCollection(char2s, "realfont") }; ipp.AddArrowInput(); base.Initialize(); }