User Tag List

Results 1 to 8 of 8

Thread: How I fill the screen black?

  1. #1
    No Products Registered

    Join Date
    May 2011
    Location
    Brazil
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How I fill the screen black?

    Hello people. I developed a new way to do a Full Screen mode (because I don't like the result of Resize display to to fill screen + Maximized on boot-up). But I want to do some black borders, above and below window. Or fill all screen, except my project. Can I do it? I tried Screen Draw Object, but stayed horrible.

    Thanks.

  2. #2
    Clicker Fusion 2.5

    Join Date
    Mar 2007
    Posts
    495
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: How I fill the screen black?

    I think the easiest (and best) way is to find the application's display properties window again (where you found the "Maximised on Boot-Up" option) and check the "Change-Resolution" mode checkbox.
    That starts the game in fullscreen.
    Alternatively, you can get that by pressing Alt+Enter while your program is running and that works as a toggle too so that you can get out of full-screen again.
    But for that to work, you also have to have "allow user to change between fullscreen and window" (or whatever it says along those lines) checked as well. (It's right next to the "change-resolution" checkbox anyway).

    It changes the monitor's resolution to that of your application, like any other game normally would.

    It works well because, depending on the settings on your graphics card's driver control panel, you can either keep your program's aspect-ratio (ie. 4:3/800x600, possibly with some black bands on either side) or stretch the aspect to the monitor's full area. Also, the program runs faster this way too.

    See what you make of that anyway.

  3. #3
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: How I fill the screen black?

    There is an example of full screen on my website that may work for you.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  4. #4
    No Products Registered

    Join Date
    May 2011
    Location
    Brazil
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How I fill the screen black?

    Hello Crash86!

    First, thanks for answer. But... this doesn't work. I already tried =/. It make game ugly, so, I programed my Full Screen as my way. Look, maybe this can help:

    Well, in first, I uncheck "Heading" and "Heading when maximized". Só, I check "Resize display to fill screen". And I did it in Event Editor:

    Start of Frame
    Set Lt (a alterable value) to ScreenXSize("Window Control")*1.0
    Set At to ScreenYSize("Window Control")*1.0
    Set horizontal size to Lt("Window Control")
    Set vertical size to 0.56338*Lt( "Window Control" ) //0.56338 is the result of division of project's height by project's width
    Set horizontal position to 0
    Set vertical position to (At( "Window Control" )-(0.56338*Lt( "Window Control" )))/2


    I don't know if this is really necessary, but I did it. Of course, exist another ways to do it, but I only thinked this.

    P.S.: Sorry, my english is too bad. I tried to did a course, but it was too boring. I gived up =x

    @EDIT:
    Hi, Marv.

    Your website is great. I downloaded the example. Thanks for help, but it doesn't work too.

    People, the resolution of my game isn't default. It's 426x240. Your example only works in 4:3, but my resolution is to 16:9. I want a method that works in all resolution types.

    Anyway, thanks for answer!

  5. #5
    Clicker Fusion 2.5

    Join Date
    Mar 2007
    Posts
    495
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: How I fill the screen black?

    What was it that didn't work / didn't look good?
    I don't think it should be necessary to program anything in the event editor to achieve what you need here.

    I wonder whether 426x240 is too small or maybe unusual a resolution for the graphics card to output without a hitch.

  6. #6
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: How I fill the screen black?

    It would probably be best to use a more common resolution so half the computers in the world don't freak out.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

  7. #7
    No Products Registered

    Join Date
    May 2011
    Location
    Brazil
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How I fill the screen black?

    I don't think it should be necessary to program anything in the event editor to achieve what you need here.
    To tell you in the truth, it should be necessary. To make a good full screen, you need do it for events, break the proportions.

    Marv, that's ok, but monitors, now, will be 16:9. I would like make my game for these monitors.

    Ok, thanks for all. I'll try something here... thanks.

  8. #8
    No Products Registered

    Join Date
    May 2011
    Location
    Brazil
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How I fill the screen black?

    Hello. I had other idea... look.

    I can check Maximized on boot-up and uncheck Resize the display to fill the screen. So... exist's a way to resize the display to a value chosen by me?

    For example... "Resize the display to fill the screen". This function resize the display to the same height of screen, and same width. But I don't want it. I want resize the height of display only to 600.

    I think that this doesn't exist, but I need to try. Maybe, a friend can develope a extension that can do it; he use C, and have Clickteam SDK. I hope that he get.

    Anyway, thanks.

    @EDIT: Oh... i forget... sorry for the double >.<.

Similar Threads

  1. Black Screen
    By Eliyahu in forum Android Export Module Version 2.0
    Replies: 5
    Last Post: 15th July 2013, 11:30 PM
  2. [Bug] Stretch to fill screen, Zoom to fill screen
    By Andrew in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 22nd March 2012, 10:14 AM
  3. Subapp Black Screen
    By virtualrom in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 16th September 2011, 04:44 PM
  4. Black Screen?
    By Person in forum Hardware Accelerated Runtime
    Replies: 4
    Last Post: 7th September 2008, 07:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •