User Tag List

Results 1 to 9 of 9

Thread: How can I create a curved line made from smaller actives ?

  1. #1
    Clicker Fusion 2.5 MaciOS 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)

    Join Date
    Nov 2015
    Posts
    101
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Talking How can I create a curved line made from smaller actives ?

    How can I create a curved line made from smaller actives ?

    I want to make something like the following, from one point (x1,y1) to another point (x2,y2)


  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module

    Join Date
    Jul 2006
    Location
    Norway
    Posts
    303
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you using the physics object?
    If so you can use the "Physics - Ground" object to plot a lot of dots to to make the curve.

  3. #3
    Clicker Fusion 2.5 MaciOS 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)

    Join Date
    Nov 2015
    Posts
    101
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thank you, but it doesn't really help me.

    I know how to make a straight line (from here and here ), but I don't know the formula for a curved one.

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,159
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    You should read up on Bézier curves here: http://www.create-games.com/article.asp?id=1866

    I would suggest stringing 3 point Bézier curves end to end in order to draw your curve lines (and to make the path your coaster will follow).

  5. #5
    Clicker Fusion 2.5 MaciOS 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)

    Join Date
    Nov 2015
    Posts
    101
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I still can't figure it

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,159
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Can you say what is confusing you? Bézier curves are something you need to play with for a bit before you grasp the concept.

    As for your image in the OP, that looks more like a polygon mesh with a texture. You are probably not going to get as smooth of a curve with individual sprites strung together. Most old game made unique art for the angles used in a curve and then placed them by hand.

    Are you needing this for a roller coaster game?

  7. #7
    Clicker Fusion 2.5 MaciOS 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)

    Join Date
    Nov 2015
    Posts
    101
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Sorry for my late reply. I want something like this:

    green - start point
    blue - end point
    yellow - curve made from smaller actives

    I've also found these formulas, but I don't know if they are good for what I want: https://en.wikipedia.org/wiki/Curve_fitting

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    mobichan's Avatar
    Join Date
    Oct 2007
    Location
    Buffalo, NY
    Posts
    3,159
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Here is an old example of a 3 point bezier curve. It is based on the article in the link I mentioned above. I actually use this to visualize 3 point curves, since the curve does not pass through the midpoint.

    bezier_test.mfa

    I am drawing a blank right now on what the formula is to set the angle to follow the curve. Perhaps someone else could chime in with the answer?

  9. #9
    Clicker Fusion 2.5 MaciOS 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)

    Join Date
    Nov 2015
    Posts
    101
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    This should do the trick

    Thank you very much

Similar Threads

  1. Create All Actives Using an Array Object
    By FinalSpecimen in forum Fusion 2.5
    Replies: 0
    Last Post: 24th August 2016, 12:03 AM
  2. Replies: 3
    Last Post: 17th July 2016, 12:53 AM
  3. Replies: 2
    Last Post: 4th January 2015, 11:21 PM
  4. Help needed: How to copy and create new actives?
    By Julian82 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 17th June 2012, 10:29 AM
  5. New bad object? Actives won't appear or create....
    By Iwantmyrpg in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 22nd February 2009, 11:31 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
  •