User Tag List

Results 1 to 5 of 5

Thread: Animation trigger.

  1. #1
    No Products Registered

    Join Date
    May 2008
    Location
    NE England
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Animation trigger.

    Hello all,

    I'm new to these boards nd also new to MMF 2. I have grasped the main layout and understand most of the events but am stuck with one perticular problem. I am creating a platformer using sprites and i want to create a trap, i want it so that when the person you control walks into a certain reigon, a cloud falls and tries to kill you, however i cant figure out how to do it, thanks.

    Bunnyonion

  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: Animation trigger.

    You could use the "Object is in a zone" condition to do this. It's under the "Pick or count" conditions of your player object - select "Object is in a zone", drag out the zone in the dialog you get after that, and add the actions you need to the event.

    You can also do this by using an invisible object to detect the player's position - create a rectangular object, stretch it out to the zone you want to detect, uncheck "Visible at start" in its properties and use the "Player collides with Object" condition.

  3. #3
    No Products Registered

    Join Date
    May 2008
    Location
    NE England
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Animation trigger.

    Thanks, it worked, but i was wondering, how do you get an object to move in a straight line downwards, because thats what i want the cloud to do. Thanks.

  4. #4
    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: Animation trigger.

    Again, you have a couple of options - use a Bouncing Ball movement with its direction set to down (uncheck "Moving at Start" and use the Start action in the event editor when you want it to move) or a Path movement that you define yourself (same sort of technique). Both of these are under the Movement tab in the Properties pane when your object is selected.

    You're welcome!

  5. #5
    No Products Registered

    Join Date
    May 2008
    Location
    NE England
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Animation trigger.

    Thanks man, your'e the best!

Similar Threads

  1. Trigger Enemy Attack at......
    By Warmachine in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 5th June 2017, 03:26 AM
  2. Trigger and Teleporter
    By FlinkGigitty in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 2nd April 2010, 03:53 PM
  3. How would you trigger an event after a fastloop?
    By BREK in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th April 2009, 11:57 AM
  4. The way to trigger MMF2's "upon pressing key" bug.
    By Nifflas in forum File Archive
    Replies: 28
    Last Post: 18th August 2007, 05:21 PM
  5. Trigger Controls for XBox 360
    By Koji_Kabuto in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 18th July 2007, 03: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
  •