User Tag List

Results 1 to 8 of 8

Thread: Shooting objects at higher speeds?

  1. #1
    No Products Registered

    Join Date
    Jun 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Shooting objects at higher speeds?

    I'm wondering if there is a way to increase the speed of a shot object more than it's current maximum of 100. Maybe there is an extension? If not, would anybody know where to begin on coding my own bullets?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Make it from scratch. Then you can make it at any speeds you want to


    For example:
    [Object] is facing (->) = Set Position of [Object] to XPosition [Object] + 150

  3. #3
    No Products Registered

    Join Date
    Jun 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by N64Mario View Post
    Make it from scratch. Then you can make it at any speeds you want to


    For example:
    [Object] is facing (->) = Set Position of [Object] to XPosition [Object] + 150
    Yeah, I need it to shoot in the direction of where I click. That's what I'm stuck on.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This tutorial covers using basic trig to create custom shooting at any speed: http://community.clickteam.com/showthread.php?t=60440
    Let me know if you need help with anything.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Allways
    - Object set Xposition to Xposition + Sin( Angle ) * Speed
    - Object set Yposition to Yposition - Cos( Angle ) * Speed

    This moves the Object in direction Angle at Speed

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Or use the Vector Movement and the Clickteam Movement Controller if you want to avoid the math.

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by King_Cool View Post
    Allways
    - Object set Xposition to Xposition + Sin( Angle ) * Speed
    - Object set Yposition to Yposition - Cos( Angle ) * Speed

    This moves the Object in direction Angle at Speed
    It should actually be Xposition+cos(Angle)*Speed and Yposition+sin(Angle)*Speed.
    Never use cos() for Y or sin() for X.

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    King_Cool's Avatar
    Join Date
    Aug 2008
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh right, my bad

    Allways
    - Object set Xposition to Xposition + Cos( Angle ) * Speed
    - Object set Yposition to Yposition - Sin( Angle ) * Speed

    Since coordinate 0,0 is located at the top left corner however, you have to do - Sin instead of + Sin for it to work in MMF2

Similar Threads

  1. Need help with shooting objects
    By Betto in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 31st May 2013, 05:10 PM
  2. Objects shooting individually.
    By MangoMan in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 6th October 2011, 03:03 PM
  3. Shooting objects far off screen.
    By Mickbeau in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 29th January 2010, 07:32 PM
  4. Help with shooting objects
    By SkyMan25 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 25th June 2008, 02:23 AM
  5. Speed higher when objects are close and vise versa
    By Neonotso in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 26th November 2006, 05:21 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
  •