User Tag List

Results 1 to 6 of 6

Thread: How to prevent multiple instances?

  1. #1
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export Module

    Join Date
    Oct 2011
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to prevent multiple instances?

    Only want the game to run one time, how to you prevent multiple instances?(there was some object that used to handle this, I believe?)

    Thanks in advance!

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Norway
    Posts
    317
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The extension you are looking for is called: "Instance Communicator"
    You can then do this easily by doing this:

    Start of frame
    + Another instance is already running -> End Application

  3. #3
    Clickteam Clickteam
    Danny's Avatar
    Join Date
    Aug 2007
    Location
    United Kingdom
    Posts
    2,997
    Mentioned
    19 Post(s)
    Tagged
    2 Thread(s)
    Yes, Instance Communicator. You don't even need to use any events. The properties let you specify what to do upon another instance. Events are good if you want to display messages etc.

    Remember to put this in the first frame of your application.
    Want to learn Clickteam Fusion 2.5?




  4. #4
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleSWF Export Module

    Join Date
    Oct 2011
    Posts
    88
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the replies -
    I've used IC in the past, but its strange in this version of MMF, I see three string parser objects, and it looks like one of them is actually IC?

  5. #5
    Clicker Fusion 2.5Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    advaith's Avatar
    Join Date
    Jun 2015
    Location
    SF Bay Area, California, USA
    Posts
    1,325
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    What do you mean, you see 3 string parser objects? I just checked in the extension manager, and there is only one string parser.

    Sent from my SM-T280 using Tapatalk

  6. #6
    Clicker Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleInstall Creator ProUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jul 2006
    Posts
    573
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    If its windows runtime the wmi object could be used to enumerate running processes. I'm in the process of getting examples done and a help file made. Also some improvements to the object which I should be able to finish by tomorrow.

Similar Threads

  1. How do ya prevent multiple instances of the app running?
    By TheDigitalAlchemist in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 6th October 2012, 01:01 PM
  2. Multiple instances
    By Windybeard in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd January 2012, 01:20 PM
  3. multiple instances spawning at multiple places
    By CPW in forum Multimedia Fusion 2 - Technical Support
    Replies: 17
    Last Post: 22nd February 2009, 12:38 AM
  4. Prevent Multiple Instance app.
    By Bruto in forum File Archive
    Replies: 6
    Last Post: 16th April 2008, 05:18 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
  •