User Tag List

Results 1 to 7 of 7

Thread: Can events be missed?

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    May 2013
    Posts
    142
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Can events be missed?

    What ho everyone‽

    The waffle, or…

    By a piece of serendipity, last year at a point when I was getting serious about making an iPhone game I happened to recall a wonderful little program called the Games Factory from my childhood. The discovery TGF did not come with a commercial license had dashed my dreams long ago and I knew it would be no good for iOS games but nostalgia stirred me to search for TGF. To my delight this led me to MMF2 developer which allows you to build games for iOS and sell them! All my childhood dreams of game design had come true and so here I am, partway through making my first commercial game, and I have a question:

    … skip straight to the question.

    I’m about to start coding my game and have a question that may determine how I go about the coding; can events ever be missed, perhaps if the CPU is very busy? For instance, suppose I activated a group when the CPU was busy, could the fact the group has just been activated be missed by the processor and as a result the actions associated with the event “On group activation” would never happen? I don’t know enough about programming or how MMF2 is built to know if this is possible so I’d appreciate it if anybody has the answer.

    Many thanks,

    CoffeeCup

  2. #2
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export Module
    Konidias's Avatar
    Join Date
    Aug 2009
    Posts
    1,546
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    I've never heard of this happening. Been using Clickteam products for 10+ years now.

  3. #3
    Clicker Fusion 2.5

    Join Date
    Apr 2012
    Posts
    377
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm not sure they can. The events in MMF2 are gone through in a sequential manner. I know I've had moments when I thought it was missing an event ( regarding a collision detection), but it turned out the object was moving too many pixels each "tick" and thus was never overlapping the object in question.

  4. #4
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export Module

    Join Date
    May 2013
    Posts
    142
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the answers; they are certainly encouraging. My concern really stemmed from hearsay about some event driven programming occasionally missing events coupled with a vague memory from computing A-level that interrupts (does MMF2 use interrupts? Possibly my lack of understanding is making me look silly!) can sometimes be missed.

    Like I say; I don’t know enough about programming to know if what I’m asking is even sensible so I was just looking for some reassurance. If there is a chance of missing events then I’d make all the events be checks for continuous states rather than instantaneous states but I’d rather not do this as I think it would be messy.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    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)
    DaveC's Avatar
    Join Date
    Jun 2007
    Location
    Perth, Australia
    Posts
    2,117
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    I've often worried about events being missed but I've never actually seen it happen... I think you're pretty safe.

  6. #6
    Clicker Fusion 2.5 Developer
    LavaFlaminG6's Avatar
    Join Date
    Dec 2011
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Throughout all my time developing games I've only seen that happen once or twice. Maybe it was only because I was testing the run-time and hadn't built it.
    Just to be sure, I usually set up my events to activate when they aren't already active (example: set Value A to 1 when Value A is not equal to 1) instead of just activating them at a given time.

  7. #7
    Clicker Fusion 2.5 DeveloperInstall Creator Pro

    Join Date
    Sep 2006
    Posts
    517
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    MMF has a limited postponed event handling stack but I think for immediate event, no event will be lost (MMF is not a real time so there is no reason that MMF drops some immediate event). The problem is just that in MMF's events editor there is no way to distinguish immediate event from postponed event because it depends on event's triggering and not event's handling (meaning the extension will tell MMF to launch an immediate event or postponed event).

    Just to be clear immediate and postponed event are both handled by immediate condition (in red usually in events editor).

Similar Threads

  1. What have I missed?
    By happygreenfrog in forum Click Convention
    Replies: 11
    Last Post: 1st September 2013, 04:57 PM
  2. Just in case you missed it...
    By Danny in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 5th April 2013, 02:02 PM
  3. Just in case you missed it...
    By Danny in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 5th April 2013, 02:02 PM

Tags for this Thread

Posting Permissions

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