User Tag List

Results 1 to 3 of 3

Thread: Shooting animation.

  1. #1
    No Products Registered

    Join Date
    Sep 2009
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Shooting animation.

    Hi guys.
    I want to ask you something. I'm making my Mega Man X engine with Static object. A "blank" active object is the player, and then the animations are in other active object. The "other" object is called Sprite. So Sprite have the walk, run, dash, etc. animations. But you know, Mega Man X have another completly set of animations when he is shooting. The deal is, how to change the animation in the same frame that the other animation is running,... let's say, this 2 animations: walk and walk-shooting.
    They both have 12 frames.
    If the player is walking and in that mili second, the frame "4" of the "walk" animation is running, then the player shoots, the frame "4" of walk-shooting should appear, instead of frame "1".

    I can't do that, I don't know if there is an option inside MMF2 that allows to change between object animations in the same frame.

    I heard that using 2 "sprites", one for normal animations and the other for shooting animations would work, but I don't see that working.

    Thank you again for your help.

    Thanks to you, I've done this:
    http://www.youtube.com/watch?v=oBFO-YPCaqQ

    I wish I can complete the engine so I can start the game and make a whole new Mega Man X game (:

  2. #2
    Clicker Fusion 2.5

    Join Date
    May 2008
    Location
    In Your Cheese
    Posts
    132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting animation.

    I don't know how effecient it would be for your situation, but when I'm trying to do something like this, I'd go:

    First, name an alterable value "Frame" or something.

    + Repeat while Left (or right) is held.
    --> force animation frame of "Megaman" to AltVal "Frame" of Megaman.

    + Every 00-00-05 (faster timer will speed up animation speed)
    --> add 1 to "frame" of "megaman"

    + AltVal "Frame" of Megaman is greater than (insert number of animation frames -1 here)
    --> Set AltVal "Frame" of Megaman to 0

    + Pressed fire button
    --> Change animation of "Megaman" to "run shooting"

    After all this, you can make a timer scheme to decide how long it takes for him to revert back to his normal animation. Make sure you restore his animation frame when other animations play.

    Hope that helps.

  3. #3
    No Products Registered

    Join Date
    Sep 2009
    Posts
    25
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shooting animation.

    I can't get that working...
    At least I tried with no success... Thank you Docilemouse anyway.
    Is there another way?
    Thank you!

Similar Threads

  1. 360 Shooting with PMO Object and animation?
    By darkmanx_429 in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 5th January 2013, 09:06 PM
  2. Shooting animation with DavidN's platform engine
    By UnicornP in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 6th April 2012, 03:41 PM
  3. Shooting animation timing
    By Fralex in forum The Games Factory 2 - Technical Support
    Replies: 2
    Last Post: 22nd July 2009, 06:29 PM
  4. Help with an animation for shooting while walking?
    By Jocastus in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 4th April 2009, 06:14 AM
  5. Help with shooting animation
    By Ralucard in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd November 2008, 08:34 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
  •