User Tag List

Page 2 of 2 FirstFirst 1 2
Results 11 to 12 of 12

Thread: Play animation on collision. Destroy animation

  1. #11
    RayMarble
    Guest

    Re: Play animation on collision. Destroy animation

    Here you go, I updated the thread. In case you won't be able to open the Unicode file there's also a screenshot of the two events that fuel the experiment, one is

    .active 1 collides with active 2
    =play sound

    .pressed space
    =destroy active 1 (rectangle)

  2. #12
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,310
    Mentioned
    28 Post(s)
    Tagged
    0 Thread(s)

    Re: Play animation on collision. Destroy animation

    Ah, I think my confusion here is due to you using the "obj collides with obj" check, which only returns true once and can be affected by a frame skip (which is why I don't use any overlapping condition besides "Is obj overlapping obj). The "is obj overlapping" is checked every frame and will return true if the overlapping occurs during a Disappearing animation (at least that is how my experience has been).

    So, if you do the one time check you are suggesting, the problem I described won't occur. But you might not get your code to fire at all if you miss that frame entirely.

Page 2 of 2 FirstFirst 1 2

Similar Threads

  1. Eight directions, want animation to play in reverse once i let go of key..
    By Blacstar in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 23rd February 2012, 11:46 AM
  2. Way to play animation before changing directions?
    By CBSection31 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd January 2012, 04:58 PM
  3. How do I make my attack animation play?
    By techteacher10482 in forum The Games Factory 2 - Technical Support
    Replies: 1
    Last Post: 16th April 2011, 12:25 AM
  4. animation play
    By Janman in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 17th March 2009, 05:09 AM
  5. how do you change the play animation to attack
    By kainan in forum The Games Factory 2 - Technical Support
    Replies: 3
    Last Post: 8th December 2007, 06:31 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
  •