I don't know if is it possible..
But It would be appreciate if someone here can tell me how I can do that:
-- 1) I have an object (a Surface object).
-- 2) I have some seamless textures images be created in a graphic software and then renamed as "Seamless_1.jpg", "Seamless_2.jpg", "Seamless_3.jpg", etc..
-- 4) I want use my textures as a FULLSCREEN filling textures for application background..
Because I use dynamic images for game level and they are NEVER the same width/height, they are loaded in a Surface object.
This image constitute the Game Zone.
So, according to that:
-- 1) At runtime in Window mode I don't need that textures because, all game screen is filled.
-- 2) At runtime in Fullscreen mode with the help of Ultimate Fullscreen object, I can see the background of the application (not of the frame). Which I see to a clean and soft grey.
My wish will be:
-- 1) not changed
-- 2) set APPLICATION backgound force to use my textures images.
-- 2.1) All I can do from now is that I can just overlay the Game Frame and not overlay the Game Application Background, which I wouldn't see the frey background color but instead of this see my texture seamless..
Is that possible (I know how be able to set a random image, but how to set it OUTSIDE the frame.... no)?
If yes, can someone tell me how?
Actually with the help of both:
- Surface object (which load and positionning my texture image)
- Ultimate Fullscreen object (which is the best solution for making Fullscreen game in MMF2.. Even it is not a real fullscreen I think MMF2 lacks support of that.. Shame..)
* On key "F" pressed
** I use the Fullscreen Type to 1 (Best-Pixel Perfect Fit)
** And then go in Fullscreen
** I now load in the Surface Object the texture image randomly and dynamicly
** I fix the X position to 0
** I fix the Y position to 0
** I resize the width and height to the real dimensions of the texture image loaded in that Surface object.
And run it for see the result:
In fullscreen... I cannot go outside of the game frame...
(even if I set a drag and drop movement to the texture loaded in Surface object, and move manually the position of this object for trying to go out of the game frame)..
Is there any solution? I tend to say : No...
But you will perhaps have a different answer than me?
Thanks !