User Tag List

Results 1 to 7 of 7

Thread: How to hide object from clicking?

  1. #1
    No Products Registered

    Join Date
    Oct 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to hide object from clicking?

    this is my first day using MMF2.
    I want to make a shooter game.
    GAMEPLAY: when we click an enemy, the score added.
    PROBLEM:
    1. I wish i can hide the enemy behind a building. But I found that I still can click the enemy and having score when it is behind the building. How to hide the enemy object from clicking?
    2. After I click the enemy, sometimes the enemy path is not restart from the starting point. Why? Can it be solved?

    Thanks

  2. #2
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to hide object from clicking?

    1) Check if mouse is NOT over object building, or possibly a group.
    2) that really depends on how you're doing it

  3. #3
    No Products Registered

    Join Date
    Oct 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to hide object from clicking?

    1. But the problem is:
    when the building is in front of the enemy, and when i click the building, the enemy is still having score. The enemy cannot hide from clicking?
    2. Depends on how i click or depends on how i program?

    sorry, i dont't know how to attach my mfa file in this forum so you can see this little program.
    i use mozilla firefox 3

    thanks

  4. #4
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to hide object from clicking?

    1) I meant you have to add a negative condition on if the mouse is over the building

    2) there's really only one way of clicking, which is with your mouse, so it's pretty obvious that I mean how you programmed your engine.

  5. #5
    No Products Registered

    Join Date
    Oct 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to hide object from clicking?

    thanks, but i still don't find:
    1. how to add a negative condition
    2. how to make the enemy going in the pathway, because the path seems become strange way
    3. how to attach the file in this post?

  6. #6
    No Products Registered

    Join Date
    Oct 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: How to hide object from clicking?

    I solve my problem with this:
    1.a. In Event Editor, I add a group of events, named "KLIK"
    In this group of events I put event "Users clicks with left button on enemy" that i add score
    1.b. I make event "Mouse pointer is over the building" that "Deactive group KLIK"
    1.c. In another event, my event is "Every 5 seconds", I "Activate group KLIK"

    2. I think the mistake is because in "Every 5 seconds" I "Start" the movement of the enemy. I hope I can find the solution too

    Thanks MechaBowser

  7. #7
    RayMarble
    Guest

    Re: How to hide object from clicking?

    1. how to add negative condition

    "The Condition menu

    You obtain this menu by right clicking on a condition in the list of events
    Negate Negates the current condition. etc" ... says Help.

Similar Threads

  1. Selecting an object without clicking on it
    By TheOriginator in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 13th March 2012, 08:58 AM
  2. Can I hide a certain type of object ........
    By Farflame in forum Multimedia Fusion 2 - Technical Support
    Replies: 11
    Last Post: 4th June 2009, 07:38 AM
  3. Clicking only 1 object while overlaps happen?
    By pulp in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 9th July 2008, 06:15 PM
  4. clicking on object
    By westray in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 19th December 2006, 12:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •