User Tag List

Results 1 to 3 of 3

Thread: How does these events work?

  1. #1
    Clicker Fusion 2.5+ DLCMultimedia Fusion 2HTML5 Export Module
    Kentronisk's Avatar
    Join Date
    Nov 2011
    Posts
    211
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How does these events work?

    Hi again

    A few days ago, I got a few examples from Marv, and today I tried to add one of them into my games. But there is one thing I dont get at all.

    http://www.castles-of-britain.com/blocksexample.mfa

    In this example, its just one detector for plenty of boxes. How can this one detector single handed make everything work? It specificly says that the boxes shall fall when Global Value B is 1, and when the Detector overlaps another object, the Global Value shall turn to 0. Yet, boxes continue to fall even if the Detector overlaps stuff. What kind of magic stuff is this?

    Also, is it possible to "convert" this into ForEach loops? What should I replace stuff with? Reason for this is my previous game ran much smoother with ForEach loops instead of fastloops.

  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)
    On every run through the fastloop, the detector CanMove is repositioned relative to the block with the ID matching the fastloop index - so this one detector is passed around between the objects, only going to an object when it's needed, and the method doesn't need a detector for every single block.

  3. #3
    Clicker Fusion 2.5+ DLCMultimedia Fusion 2HTML5 Export Module
    Kentronisk's Avatar
    Join Date
    Nov 2011
    Posts
    211
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im actually gonna work more with MMF before I try understand this event. But is it possible to make a similar action like this using the ForEach object? The stage Im on now, on my own, I would probably do something like Start ForEach loop for Box and then "On ForEach Loop for Box + X Box Overlapping Obstacle = Set Y pos to desired speed", which in my head would make the box fall until it overlaps an obstacle. But this not look very smooth as the box will most likely stop moving somewhere half on the floor, and half bellow inside the obstacle...

    I tried to connect my gravity player movement, but it just didnt get the same result when I replaced my fastloops with the ForEach loops... The box simply doesnt stop falling, and I dont think I can stop this loop as Im usually having more boxes that require the loop to be active.

Similar Threads

  1. Replies: 1
    Last Post: 8th October 2013, 06:15 AM
  2. Performance of behavior events vs frame events
    By Ryan in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 4th July 2013, 05:24 AM
  3. iOS Video: "stopped" and "paused" events don't work?
    By smart_fr in forum iOS Export Module Version 2.0
    Replies: 0
    Last Post: 25th August 2012, 01:03 AM
  4. [BUG] True events work, fake ones dont.
    By RaiFox in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 26th December 2006, 06:51 AM
  5. Animation Events Don't Work Right! [Build: R241]
    By BrandonC in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 12th August 2006, 07:46 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
  •