Currently I initialize my device like this
Code: Select all
IrrlichtDevice *device = createDevice(video::EDT_OPENGL, core::dimension2d<s32 > (3840, 1080), 32, true, false, false, &receiver);
How do I go about setting up my game so that it might detect the user's resolution, and spawn a game window accross all monitors? Will I have to actually create a window for each monitor?
btw, I am currently developing in a windows environment, I would like to make the game cross platform. But I have a feeling that what I am trying to do might mean I need to implement the resolution detection, and window spawning code differently for each platform, so if I must use a windows only for now I am ok with that, I'll have to figure out how to adapt for other platforms later on.
edit: to clarify, I want all monitors to be apart of the same "game screen" ie, make it as if the game was running on one large funny shaped screen, So sprites on the left screen need to be the same size as the ones on the left, I'm not planning to use the secondary screen as a minimap or anything like that.
Any assistance on the matter would be great,
thanks