I still don`t know

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
blendermen
Posts: 14
Joined: Sat Mar 11, 2006 11:11 am

I still don`t know

Post by blendermen »

When i compile i do not see difference in it. I am beginner and maybe i do somethink wrong. You told me that i must see the documentaction - but i don`t understand it. I paste this to my game. i do good or plaintively :oops:

IrrlichtDevice *device =
createDevice(driverType, core::dimension2d<s32>(1024, 768), 32, true,true,true);
irr::SIrrlichtCreationParameters parameters;
parameters.Fullscreen=true;
parameters.AntiAlias=true;
Lev_a
Posts: 52
Joined: Tue Jan 10, 2006 5:59 pm
Location: Toronto, Canada

Post by Lev_a »

Use next code:

Code: Select all

    //if you have event reciever
    MyEventReceiver receiver;

    irr::SIrrlichtCreationParameters parameters;

    parameters.AntiAlias = true;
    parameters.Bits = 16;
    parameters.DriverType = irr::video::EDT_DIRECT3D9;
    parameters.EventReceiver = &receiver;
    parameters.Fullscreen = true;
    parameters.Stencilbuffer = true;
    parameters.Vsync = true;
    parameters.WindowSize = irr::core::dimension2d<s32>(1024, 768);

    IrrlichtDevice * device = createDeviceEx(parameters);
Post Reply