User Tag List

Results 1 to 4 of 4

Thread: I Need Some Help!

  1. #1
    No Products Registered

    Join Date
    Nov 2009
    Location
    Awesome City
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    I Need Some Help!

    Alright I'm a newbie at MMF2 so I got quite a few questions.

    1. On the frame where I have my player active, once he loses 3 lives, it goes to the game over frame. and there you have the option to go to the title screen, or restart the stage. Well either option you pick, when you get back to the stage, his lives are at 0, and this is a huuugggee glitch I cant figure out how to fix. So how do i get his lives to reset back to 3 once you get back to the stage frame?

    2. I want to make a dying animation when he loses a life. How would I go about doing that? I was thinking about using a timer, but I wasn't sure exactly how to do this, so I wanted to make sure.

    3. How do I make an AI enemy that moves and punches? It's a zombie game, so all I need is for the zombie to follow the player any where he goes, and when the zombie gets close enough, he punches. How do I do that?

    Anybody that could help, I would really appreciate it.

    Thanks again,

    Gate001

  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: I Need Some Help!

    1. You can just directly set the player's number of lives - it's an action under the Player object. I'd probably do this on the Game Over frame, on either a "Start of frame" event or when the player chooses to restart/retry.

    2. There's an animation in active objects that's played automatically when they're destroyed, "Disappearing". It sounds like you might be able to use this - destroy the player's active when a life is lost, and then only restart the frame when "Player > Animation "Disappearing" is over".

    3. This one's a bit more involved Is this a top-down game? In this case, you could just set the zombie object to a bouncing ball movement, and Always -> Look in the direction of Player. Triggering the punch when it's close enough could be simply done by doing it when the zombie and player objects collide, but if you want to do it when it's still some distance away, there are a couple of methods, such as setting up an invisible detector that follows the player around and checking for collisions with that, or checking the distance using the Advanced Direction Object.

  3. #3
    No Products Registered

    Join Date
    Nov 2009
    Location
    Awesome City
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: I Need Some Help!

    http://www.youtube.com/watch?v=BUKT5vzQ6xo

    heres a video I uploaded with most of the problems I have, if you could help, that would be great! Thanks again!

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: I Need Some Help!

    I replied to your video on youtube. Also, to make your life a little easier, check out the fighting game example on this site:

    Chaos's Examples

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a 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
  •