User Tag List

Results 1 to 4 of 4

Thread: Throwing objects in the desired direction by finger swipes - my experiment

  1. #1
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module

    Join Date
    Dec 2008
    Location
    Italy
    Posts
    403
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Red face Throwing objects in the desired direction by finger swipes - my experiment

    Hi,
    I managed to create this example to let the user throw objects around the screen by swiping his finger on the active object and then towards the desired direction. No extensions are required.

    Feel free to let me know if you find bugs or problems, to suggest ways to improve it or radically new (and more efficient) alternatives
    Attached files Attached files

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleMac Export ModuleInstall Creator ProPatch Maker
    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
    Oct 2012
    Posts
    300
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Looks good and simple.
    Just two things
    1)the movement is restricted to 32 directions ,right? You can use some sin/cos etc to shoot it to more directions. Any 360 deg. bullet example should have the formula (don't remember right now but I can dig my examples files if you want)
    2)No need to set up a line to destroy object, just uncheck "creat at start" from the object properties. Learned about that from Yves himself after like, 10 years using MMF, lol.

    Cheers!

  3. #3
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module

    Join Date
    Dec 2008
    Location
    Italy
    Posts
    403
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    ahah the second one is a little gem
    thanks!

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    paobrasil's Avatar
    Join Date
    Apr 2012
    Location
    Rio de Janeiro, Brazil
    Posts
    1,146
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You need to destroy the object that was shooted when it goes out of frame....the number os objects is growing

Similar Threads

  1. direction of finger slide
    By mnovoa in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 22nd May 2013, 12:25 AM
  2. Unable to set an objects direction
    By mobichan in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 1st July 2012, 04:07 AM
  3. Throwing objects
    By Atherton in forum Multimedia Fusion 2 - Technical Support
    Replies: 10
    Last Post: 7th August 2009, 12:50 PM
  4. Testing all objects in same direction?
    By pirodaggar in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 18th April 2008, 06:36 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
  •