ScreenSize in (C#)?

Irrlicht.Net is no longer developed or supported, Irrlicht.Net Cross Platform is a much more complete wrapper. Please ask your C# related questions on their forums first.
Locked
Joe_Oliveri
Posts: 448
Joined: Tue Oct 05, 2004 3:24 am
Location: Boston, MA

ScreenSize in (C#)?

Post by Joe_Oliveri »

How do I go about doing this, I just want to resize my window but none of the methods I have used work. this is what my current one looks like:

device.VideoDriver.ScreenSize = new Dimension2D(800, 600);

however that is not working has anyone else been able to resize their window?

also what about fullscreen?

Thank you! :wink:
Irrlicht Moderator || Game Designer
Learn the basics at </dream.in.code>
Loki

Post by Loki »

Hi
For resizing and fullscreen, use the Device constructor:

IrrlichtDevice Dev=new IrrlichtDevice(DriverType.DIRECTX9,new Dimension2D(800,600),32,false/*true for fullscreen*/,false,false);

see Doc for more details.
Joe_Oliveri
Posts: 448
Joined: Tue Oct 05, 2004 3:24 am
Location: Boston, MA

Post by Joe_Oliveri »

Thank you very much I will give it a shot later! :)
Irrlicht Moderator || Game Designer
Learn the basics at </dream.in.code>
Locked