User Tag List

Results 1 to 8 of 8

Thread: two questions please

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    two questions please

    1.when i use keyboard to shoot object, it works perfect, but when i am traying to use mouse click (right or left) nothing happends..so how can i shoot objects using the mouse clicks?

    2.lets say i have spaceship that can shoot bullets and i also have every few seconds an enemy craft that shoot at me every few secs and now to the hard part:* when i shoot the enemy crafts , i wants the hit to create or recall smoke animation (active i made) and i wants this smoke to stick to the enemy craft while its moving.

    i was able to do something like this, but the problem was that when there is collision between two enemies or more, the smoke from the first enemy i shooted, infects the other crafts and this way i have too many enemy crafts with smoke (without me shooting at them)

    all i wants to create is the effect of the hits one hit=one smoke tail attached, 2 hits=two smoke tails attached and the hit number 3=big explotion. so..if anyone understand this situation, tell me how to solve this case.

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: two questions please

    1. If you have an object with the mouse movement then you detect mouse clicks with the player 1 object's "on fire 1" and "on fire 2" events.
    .:::.Joshtek.:::.

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: two questions please

    Quote Originally Posted by Joshtek
    1. If you have an object with the mouse movement then you detect mouse clicks with the player 1 object's "on fire 1" and "on fire 2" events.
    m..dunno where i am misstaking, i have an object that moves with the mouse around all the frame area now what? i do something wrong cause els, it would work.

    tell me please step by step if its not big efort mate,

    thanks ahead.

  4. #4
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    England
    Posts
    3,546
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: two questions please

    Quote Originally Posted by Jeff
    When you have an object set to mouse control you need to test for fire 1 and fire 2 under the player controls in place of button clicks.
    See also http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Board=2&Number=24989#P ost24989
    .:::.Joshtek.:::.

  5. #5
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: two questions please

    ok...success to do mouse shoot

    now...do you have any idea how to solve my next question?

    (2.lets say i have spaceship that can shoot bullets and i also have every few seconds an enemy craft that shoot at me every few secs and now to the hard part:* when i shoot the enemy crafts , i wants the hit to create or recall smoke animation (active i made) and i wants this smoke to stick to the enemy craft while its moving.

    i was able to do something like this, but the problem was that when there is collision between two enemies or more, the smoke from the first enemy i shooted, infects the other crafts and this way i have too many enemy crafts with smoke (without me shooting at them)

    all i wants to create is the effect of the hits one hit=one smoke tail attached, 2 hits=two smoke tails attached and the hit number 3=big explotion. so..if anyone understand this situation, tell me how to solve this case. )


  6. #6
    Clicker Fusion 2.5 Developer
    00J's Avatar
    Join Date
    Jun 2006
    Location
    Virginia, USA
    Posts
    1,510
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: two questions please

    That all depends on how your enemy ships health is handled.

    You should have your ships health set up such as.

    ship1=100
    ship2=100
    ship3=100

    then if ship1's hit points = 75, then create smoke at ships location.

    ship2 and ship3 should not emit smoke because they are un damaged.

    if i understand you correctly, I don't actually see how all your ships are generating smoke unless you "duplicated" your enemy ships, which you shouldn't do. You should "clone" them.


  7. #7
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: two questions please

    Quote Originally Posted by 00J
    if i understand you correctly, I don't actually see how all your ships are generating smoke unless you "duplicated" your enemy ships, which you shouldn't do. You should "clone" them.

    well..what i did is this:
    i created an animated (4 frames) enemy craft and i programed a timer to create every 5 secs new enemy craft. so actualy no duplicates and no clones. just the same object upear with the usage of timer.
    now what you said above (ship1=100, ship2=100 and so on) ,means that i will have to store value for every ship that upear, and if i wants big waves of enemies like 1000 enemies or more?
    its very complicated to create value for every single craft.

  8. #8
    Clicker Multimedia Fusion 2

    Join Date
    Jun 2007
    Posts
    159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: two questions please

    ok..i have found the solution to my second issue
    i just had to dupliate the enemy craft..now its fine

    now the hard work starts with the nice effects and the sounds.

    i guess my first level will be up soon so i will share to here if you like it

Similar Threads

  1. Some questions about MMF 2! D:
    By Peter_Isaac in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 6th October 2010, 01:16 PM
  2. some Questions
    By DiViNiTY in forum SWF/Flash Export Module Version 2.0
    Replies: 4
    Last Post: 24th September 2010, 03:11 PM
  3. Some Questions
    By Atom in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 15th June 2009, 07:49 PM
  4. 2 questions
    By Spark in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 30th November 2007, 05:56 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
  •