Game Development Reference
In-Depth Information
Figure 6.4
Orthographic projections.
public Form1()
{
// Add all the states that will be used.
_system.AddState("splash", new SplashScreenState(_system));
_system.AddState("title_menu", new TitleMenuState());
// Select the start state
_system.ChangeState("splash");
InitializeComponent();
_openGLControl.InitializeContexts();
if (_fullscreen)
{
FormBorderStyle = FormBorderStyle.None;
WindowState = FormWindowState.Maximized;
}
else
{
ClientSize = new Size(1280, 720);
}
Search WWH ::




Custom Search