User Tag List

Results 1 to 10 of 10

Thread: My alien is killing me

  1. #1
    Clicker Multimedia Fusion 2SWF Export Module
    bobofet's Avatar
    Join Date
    Nov 2011
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Angry My alien is killing me

    Hi, I was wondering if I could get some help please on making this alien game I'm working on.

    I have attached my MFA file test2.mfa and severly reduced everything to the basics to get my mechanics point accross.

    This is what I want to happen:

    1. player hits alien with sword(part of player animation not throwing anything) > alien looses 1 hp
    2. if all alien hp gone then alien go bye bye and player gets 100 points
    3. if alien is not being attacked then alien shoot laser at player
    4. if player hit by laser, player loose 1 hp and flash for 2 seconds
    5. if player is flashing then can't be hurt by laser
    6. if all player hp gone then player go bye bye

    And this is what's happening:

    1. player is still getting hit when flashing
    2. player never stops flashing
    3. player recieves points for just hitting alien instead of killing him
    4. player can never kill alien
    5. sometimes player dies in one hit

    Any advice would greatly be appreachiated,

    Thank you

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I'm looking at your code now. Please give me a bit to sort through it. I have found a few things that are causing issues. I will post the fixed version tomorrow or later tonight if I get it sorted.

    John

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Here is the fixed version. You had some events that needed changing and also I added one active object to control the laser. Look in event editor for changes. Hope this is what you wanted.

    John
    Attached files Attached files

  4. #4
    Clicker Multimedia Fusion 2SWF Export Module
    bobofet's Avatar
    Join Date
    Nov 2011
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wow, that's awesome! Thank you so much. I was close but yea that extra object and those extra conditions in my events seem to do the trick. And I never thought to check for the specific animation frame to be over, good idea. You know your stuff sir. You totally re-worked my flash I see. I knew that was wrong, I was trying to go by the berumda triangle tutor(http://www.clickteam.com/website/tutorials/bermuda_triangle_1/bermuda_triangle_1.html) But, I think I got lost in the transition because my game is a little different.

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I'm glad it worked out for you! There is one thing you need to add under player. See picture. The reason,..is if you press the space bar really quick,.the animation will freeze without this event.
    Images attachées Images attachées

  6. #6
    Clicker Multimedia Fusion 2SWF Export Module
    bobofet's Avatar
    Join Date
    Nov 2011
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Lightbulb Update

    Ok, I added it. I have a similar board or level to this same game that doesn't seem to be working either. I put test objects in there. A counter displaying the HP of both combatants. One is controlled by the player and other AI. It's just a melee fight. I want the enemy to keep attacking the player but he's not. Also, I can't seem to be able to kill the enemy. Maybe I should put one of those extra objects in there like you did with the laser. test2.mfa

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I will look at this and get back to you. It will be tomorrow if that's ok as we have company over for dinner today.

  8. #8
    Clicker Multimedia Fusion 2SWF Export Module
    bobofet's Avatar
    Join Date
    Nov 2011
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's cool, me too. lol take your time

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    KLiK-iT's Avatar
    Join Date
    Sep 2011
    Location
    New Jersey
    Posts
    2,852
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I looked at the example. I'm terrible when it comes to AI, so I won't be able to help you with this. Maybe someone will chime in to lend a hand with this part. I'm sorry about that.

  10. #10
    Clicker Multimedia Fusion 2SWF Export Module
    bobofet's Avatar
    Join Date
    Nov 2011
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No worries, I think I know what to do.

Similar Threads

  1. Davo / Alien still about ?
    By neat_Kliker2 in forum Extension Development
    Replies: 8
    Last Post: 4th June 2008, 05:56 PM
  2. Alien syndrome
    By camuflash in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 19th December 2006, 05:42 PM
  3. 'Alien' engine
    By Bruto in forum File Archive
    Replies: 44
    Last Post: 29th July 2006, 08: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
  •