User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: Fullscreen

  1. #1
    No Products Registered

    Join Date
    Oct 2007
    Location
    Norway, Oslo
    Posts
    379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fullscreen

    Hi!
    I want to switch between fullscreen mode and window mode when i press the enter-key. What is the best way to do that?

  2. #2
    Clicker Multimedia Fusion 2
    dragonguy's Avatar
    Join Date
    Apr 2008
    Location
    RULE BRITANNIA!
    Posts
    3,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fullscreen

    Upon pressing enter
    -Toggle a Flag

    Flag is off
    -Windowed Mode

    Flag is on
    -Full Screen Mode

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fullscreen

    I thought I'd add that the full screen action is under Storyboard Controls>>Screen.

  4. #4
    No Products Registered

    Join Date
    Oct 2007
    Location
    Norway, Oslo
    Posts
    379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fullscreen

    But where do I put that flag? I only can set a flag ON or OFF on an active object, I think.

  5. #5
    Clicker Fusion 2.5 (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Nov 2007
    Posts
    456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fullscreen

    Make an active object outside the play area, purely for handing any flags like that, and level variables (if you need any alterable values that aren't fixed to an object). Put the Fullscreen/Windowed flag on that

  6. #6
    No Products Registered

    Join Date
    Oct 2007
    Location
    Norway, Oslo
    Posts
    379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fullscreen

    Hmmm, I think I'm a little bit stuck. I must do something wrong. It can't be so difficult. Can someone just give me a little example? Please!

  7. #7
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fullscreen

    OK. I'm not going to bother to make an example because it's really quite simple. Just make an active object outside of the frame and call it "Local Values." or whatever you want. Then enter these events into the events editor:

    +Button "Enter" clicked
    -Local Values: Toggle Flag 0

    +Local Values: Flag 0 is on
    -Enter Full Screen mode

    +Local Values: Flag 0 is off
    -Enter Windowed mode

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fullscreen

    Quote Originally Posted by dragonguy
    Flag is off
    -Windowed Mode

    Flag is on
    -Full Screen Mode
    Just to be safe, you might want to change this to:

    Flag is off
    Only one action when event loops
    -Windowed Mode

    Flag is on
    Only one action when event loops
    -Full Screen Mode

  9. #9
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fullscreen

    I'm not sure that's a good idea. If MMF2 switches display mode whenever you set the mode, it's of course faster to only run the action once, but if MMF2 is optimized to check if the desired display mode is already selected, it's faster to not add any extra conditions as events are slower than runtime stuff coded in c++.

    In this case the difference is impossible to notice, but it's a good habit to not add any extra code when you don't have to.

  10. #10
    No Products Registered

    Join Date
    Oct 2007
    Location
    Norway, Oslo
    Posts
    379
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Fullscreen

    Thank you all for the help. It works. Just a question.
    I know what flag ON and flag OFF do, but what is toggle flag?

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Fullscreen
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 29th June 2012, 12:52 AM
  2. Fullscreen example
    By happygreenfrog in forum File Archive
    Replies: 0
    Last Post: 26th April 2012, 04:23 PM
  3. Fullscreen by The Big Box
    By ASD in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 30th October 2007, 11:00 AM
  4. Fullscreen bug
    By Nifflas in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 10th April 2007, 01:54 PM
  5. Fullscreen MDI
    By netninja in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 2nd July 2006, 08:28 AM

Posting Permissions

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