User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Need help with some "how to do" things

  1. #1
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Need help with some "how to do" things

    I wonder if anyone is good at this program and can give me a tips on how to do a couple of things.

    Firsly i am making a game where the enemies goes from the left edge of the screen toward the right (where the player stands), There will be some barriers that the player can place out to stop the enemies, but the enemie will spawn at random locations at the left side of the playfield. How do i make it so the enemies only stop when they are in the right position and that when they are above the object they will walk "behind" it, and when in front "in front" of the object? I will post a picture so you can see what i mean:

  2. #2
    Clicker Multimedia Fusion 2
    Fusion 2.5 (Steam)iOS Export Module (Steam)

    Join Date
    Jun 2007
    Location
    United States
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help with some "how to do" things

    Change the order by testing their Y position. If the zombie's Y position is GREATER (that is, if the zombie is lower than the barrier), then in the event editor go to Order>Move in front of object and then select the barrier.

    Vice verse, if the zombie's Y position is LOWER than the barrier (that is, if the zombie is above the barrier) then move the zombie behind the barrier.

    If you want I can show you an example.

  3. #3
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help with some "how to do" things

    Quote Originally Posted by Jeod
    Change the order by testing their Y position. If the zombie's Y position is GREATER (that is, if the zombie is lower than the barrier), then in the event editor go to Order>Move in front of object and then select the barrier.

    Vice verse, if the zombie's Y position is LOWER than the barrier (that is, if the zombie is above the barrier) then move the zombie behind the barrier.

    If you want I can show you an example.
    Cool! I just did it now and it worked! Thanks!!

    By the way is there any way i can do the same thing with objects that are not actives? Like backdrops?

    One other thing i wonder, is there any way you can insert an animation "into" another animation? Lets say for example you have a animation of a caracter running. In the middle of the run he gets hit by a bullet and looks hurt for a second, is there any way to have that animation in the middle of a running animation for example without it looking wierd?

    Also if your caracter should be able to carry different guns, do you have to have a whole animation sequence for the whole body for every gun or is it possible to just animate the different gunmodel "on" the animation. A bit hard to explain..

    Thanks again!

  4. #4
    No Products Registered

    Join Date
    Jan 2011
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help with some "how to do" things

    For the animation part where he gets hit, you will want to have a collision detection happen with the bullet and then at that point switch it to a different animation in that active oblect.
    For example he will have a running animation, a jumping animation, a getting hit animation, a death animation, etc.
    Those would all be called within that active object by collision detection or flags/variables.
    Then once the hit animation is done playing, it will move back to the running animation or stopped animation.
    Hope that makes sense.

  5. #5
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help with some "how to do" things

    Quote Originally Posted by Thrawn
    For the animation part where he gets hit, you will want to have a collision detection happen with the bullet and then at that point switch it to a different animation in that active oblect.
    For example he will have a running animation, a jumping animation, a getting hit animation, a death animation, etc.
    Those would all be called within that active object by collision detection or flags/variables.
    Then once the hit animation is done playing, it will move back to the running animation or stopped animation.
    Hope that makes sense.
    The problem is that all the animation that was playing before is stoped when he starts the "hit" animation? What if he is in the middle of a sprint or a jump? Will it not be that he will "freeze" in the hit animation but i will still controll him at full sprint even though his legs wount be moving in the "hit" animation, that could look a bit wierd?

  6. #6
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Need help with some "how to do" things

    And this is why a lot of older games flashed things red when they were shot instead of animating them. It's easier

    Modern games (i.e with 3d/vector graphics) handle it by using masked bone animations so they can apply an animation to only part of a character (you can have the legs strafing, the body being hit, and the arm aiming/shooting all at once). MMF can't do this, unfortunately.

    I'm not sure what your best option is for MMF for this.



    For the guns, the best bet is to animate the character for each completely different kind of gun (like rifle vs pistol vs rocket launcher) and pin the guns to the character. Similar kinds of gun (e.g. different pistols, or even uzi and pistol) can share the same character animation.

  7. #7
    Clicker

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,237
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)

    s

    s

  8. #8
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: s

    Quote Originally Posted by Outcast
    s
    I guess more post is coming?

  9. #9
    No Products Registered

    Join Date
    Jan 2011
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: s

    Im pretty sure "s" says it all. lol.

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Nov 2010
    Location
    Switzerland
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: s

    Hi Everybody,

    perhaps it would be possible by checking at which animation-frame the character was hit and then launch a specific Animation or point to a Certain Frame in another Animation.

    Another Possibility is to create your Character in 2 Pieces. For example; the Legs are one Object and the Upper-Body is one Object. Now you could have him run (leg object) and when he' s hit you can for example animate the "Upper-Body" while the Legs are still runing.

    Just some thoughts about that issue. I didn' t try it out myself, but it could perhaps work, but i' m sure it will need a lot of work.

    Greets,

    jahkri

Page 1 of 2 1 2 LastLast

Similar Threads

  1. "Cannot load joystick2.mfx" when "Compress the runtime" unchecked. Fine when checked.
    By DistantJ in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 14th September 2013, 09:44 PM
  2. "Rendertarget ping/pong" and "Pixel shaders" Can TGF2 do this?
    By CloudExSolider in forum The Games Factory 2 - Technical Support
    Replies: 13
    Last Post: 7th April 2013, 08:21 PM
  3. "Bug" For Saving and Loading Frame Positions AND "Timer Glitch"?
    By Zarpo in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 27th March 2012, 12:40 PM
  4. Issues with "Clickteam Movement Controller" and "Runtime" Object
    By jimmyorpheus in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 29th November 2011, 07:10 AM
  5. Two simple questions about some "basic" things.
    By oldkliker in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 21st September 2011, 05:48 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
  •