User Tag List

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

Thread: In-Game Pause + Menu

  1. #1
    No Products Registered

    Join Date
    Jan 2008
    Location
    Santiago, Chile
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    In-Game Pause + Menu

    I need help in finding a way to pause the game frame and all of its events, and then display a menu on top of it, wich will be similar or equal to the Main menu that appears on the first frame of my application.
    Then, when closing the menu, all events should unpause to continue the game normally.

    Help, please?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: In-Game Pause + Menu

    You can do this easily by using a sub-application. Details on how to do it are here:

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Board=2&Number=51398

  3. #3
    No Products Registered

    Join Date
    Jan 2008
    Location
    Santiago, Chile
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: In-Game Pause + Menu

    Thanks, I'll try that!

  4. #4
    No Products Registered

    Join Date
    Jan 2008
    Location
    Santiago, Chile
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: In-Game Pause + Menu

    Ok that did it wonderfully!

    But I got another question:

    Is it possible to set the background of that in-game menu to transparent?

  5. #5
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: In-Game Pause + Menu

    Try useing the window shape object.
    Working as fast as I can on Fusion 3

  6. #6
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2006
    Location
    Britain, South Coast
    Posts
    1,030
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: In-Game Pause + Menu

    There's a niftier way, which allows alpha transparent menus using Subapp.

    Use Screencapture object to take a photo of the screen just before opening the menu. Like this:

    ESC IS PRESSED
    - Capture: Take Snapshop of Frame
    - Special: Create "MENU Subapp" at (0,0)

    This will take a photo of the screen JUST before it creates the menu.

    Then inside the Menu Subapp's code, create an Active Picture Object and set it behind everything else.

    START OF FRAME
    - Load picture from appdir$+"tmp.bmp"

    That's pretty much the gist of it.

    This will take a snapshot of the game and display it in your menu. Your menu can then contain objects with alpha-channels, like buttons or backgrounds or whatever, and it'll LOOK like they're softly blending with the background.

    The user won't know it's a workaround.

    This has served me well for years!

  7. #7
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    2,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: In-Game Pause + Menu

    all we really need is for the capture object to be able to ouput to memory in either JPG or PNG and for the image manipulator to be able to get and put to RAM, like Capture object > Image manipulator > alpha channel

  8. #8
    Clicker Multimedia Fusion 2

    Join Date
    Sep 2006
    Location
    Britain, South Coast
    Posts
    1,030
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: In-Game Pause + Menu

    But in the meantime, my way works fine

  9. #9
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleFirefly 3D ModuleInstall Creator Pro
    Brovic's Avatar
    Join Date
    Jul 2006
    Location
    France
    Posts
    321
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: In-Game Pause + Menu

    all we really need is for the capture object to be able to ouput to memory in either JPG or PNG and for the image manipulator to be able to get and put to RAM
    Well capture object can already output to clipboard and the image manipulator can read from it! But no graphic extension can import from memory so anyway you need to swap to disk.
    But I found a cool effect mixing image manipulator and perspective object to improve Dines technique :Tranparent Pause & FX

  10. #10
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    2,023
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: In-Game Pause + Menu

    Alpha Channel can ? :S
    ah image manipulator can't output to memory or clipboard, shame :\

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Pause Menu
    By DW90 in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 9th June 2010, 03:20 PM
  2. Menu Pause
    By samcool_129 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 24th May 2010, 09:14 PM
  3. Pause app but still use a menu?
    By Shawn in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 7th May 2009, 05:52 PM
  4. Pause/Game Menu
    By dragonguy in forum File Archive
    Replies: 8
    Last Post: 16th October 2008, 04:29 PM
  5. [Bug] Pause and Menu
    By LIJI in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 28th October 2006, 05:58 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
  •