A simple question...I think

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Guest

A simple question...I think

Post by Guest »

Hi,

I'm have Irrlicht with widget and I need to modify the sreen size, but I didn't find a function that makes this in the API Documentation, I tried to change the size of window with device->setResizeAble(true), doesn't work..

exist any way of changing the screen size?

Thank you,
Joe_Oliveri
Posts: 448
Joined: Tue Oct 05, 2004 3:24 am
Location: Boston, MA

Post by Joe_Oliveri »

What you want to do is set it up when you create the device like this.

irrDevice = createDevice(EDT_SOFTWARE, dimension2d<s32>(800, 600), 32,
false, false, false, 0);

Of course using the params and render hardware of choice.
Irrlicht Moderator || Game Designer
Learn the basics at </dream.in.code>
Guest

Post by Guest »

Sorry,

I must have expressed myself bad.

I want to modify the screen size after to use createDevice()

is there how?
selles
Posts: 8
Joined: Sun Jul 03, 2005 9:21 pm

Post by selles »

well..I think perhaps is not there how..
xDan
Competition winner
Posts: 673
Joined: Thu Mar 30, 2006 1:23 pm
Location: UK
Contact:

Post by xDan »

if you mean with the mouse, make sure the cursor is visible and windowed

device->setResizeAble(true);
cursor->setVisible(true);
selles
Posts: 8
Joined: Sun Jul 03, 2005 9:21 pm

Post by selles »

Well.. t would be interesting if I could alter through the code :wink:
Post Reply