User Tag List

Results 1 to 3 of 3

Thread: MMF2 - Random Object Creation and Left Mouse Click Question/Issues.

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    peejaygee's Avatar
    Join Date
    Dec 2013
    Location
    Tennessee
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MMF2 - Random Object Creation and Left Mouse Click Question/Issues.

    Dear All,

    I'm trying to learn the fundamentals using the built in graphics, etc.

    I'm trying to just have a simple space ship at bottom, enemy coming down from top, kill it, get 10 points.

    So, I have it all setup, but I can't get the enemy to appear at a random X, nor can I get the left mouse button to act as a fire button?

    I have, even 3 seconds, the enemy being created at the top of the screen, I try the create at an x & y to layer 1, on the same time I'm trying to set the objects X using Random (640) in an expression on the same line, along with setting its direction, the object is a Bouncing ball, so it falls towards the player.

    It always appears in the same place? it's like the Random (640) to the X, doesn't do anything, unless I'm doing wrong?

    Also, I have it that when the user presses 'Space Bar' a bullet appears from the player and if collision happens with the enemy 10 points are scored, I tried adding it (and having on it's own) a detection of the left mouse button, either single click or double, neither work?

    Another thing I've noticed is that if I press the 'Space Button' to quick, to many times, the animation stops and the bullets stop firing?

    Can anybody help? I'm new to the whole expression thing, and I've searched online, and downloaded examples, and if even is copy the example, it doesn't work.

    I'm wondering if there is something blatanly obvious that I'm missing?

    Regards

    Shooter.mfa

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module

    Join Date
    Jun 2007
    Posts
    56
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi peejaygee,

    Here's a quick example I made with some comments detailing what you are trying to achieve, I understand you're a new user so I've tried to keep it simple but any questions please ask!

    Hope this helps!
    spaceship_example.mfa

    Thanks
    John

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    peejaygee's Avatar
    Join Date
    Dec 2013
    Location
    Tennessee
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for that, it's funny, just seeing someone else's take on a task, how our minds think..

    It was very helpful, as I'm trying to learn various snippets, to I can grasp the program, seeing how people use conditions and expressions help.

    I have my next thought on my next snippet/challenge, but I'll try it first before I say "Help"

Similar Threads

  1. Pong: How to have ball stick to paddle and launch when left click of mouse
    By rubes in forum Multimedia Fusion 2 - Technical Support
    Replies: 26
    Last Post: 14th June 2016, 03:10 PM
  2. Is mouse pointer to the left or right of the object?
    By King_Cool in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 31st March 2012, 12:51 PM
  3. Mouse movements and left click
    By videogiochi in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 11th January 2011, 03:38 PM
  4. shooting at a mouse object with left click
    By vincent in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 21st June 2009, 04:24 AM
  5. Left Mouse click with additional condition problem
    By maVado in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 15th July 2007, 12:19 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
  •