Esempio n. 1
0
        public OBJScene(Feel game, int resX, int resY, bool rotateScreen)
        {
            // Create Sound Form
            topmostForm             = new CSoundForm();
            topmostForm.IsPlayEnded = false;

            // Create Devices
            feel             = game;
            graphics         = ((Feel)feel).GraphicsDM;
            spriteBatch      = new SpriteBatch(graphics.GraphicsDevice);
            effectPost       = feel.Content.Load <Effect>("Shader");
            testTextFont     = feel.Content.Load <SpriteFont>("arial10");
            testTextPosition = new Vector2(5, 1);

            // set resolution ratio
            ChangeRes(resX, resY, rotateScreen, true);
        }
Esempio n. 2
0
 public CMciVideo(IntPtr parentWindowHandle)
 {
     _parentWindowHandle = parentWindowHandle;
     _controllerForm     = new CSoundForm();
 }