Tech Off Post

Single Post Permalink

View Thread: Discuss the Beginning Game Development series on Coding 4 Fun
  • User profile image

    I found these articles yesterday, and they seems to be gewd Big Smile

    I noticed, that fullscreen mode doesen't work in the article. You must alter the device creation just a little:

    #if DEBUG
    presentParams.Windowed = true;
    presentParams.Windowed = false;
    presentParams.DeviceWindow = this;
    presentParams.BackBufferFormat = Format.X8R8G8B8;
    presentParams.BackBufferHeight = this.Size.Height;
    presentParams.BackBufferWidth = this.Size.Width;
    presentParams.PresentationInterval = PresentInterval.Default;

    And if you set DEBUG in VS Express, you can't start full screen mode with CTRL+F5, so I myself did not define DEBUG.