User Tag List

Results 1 to 8 of 8

Thread: [Request] Line Object

  1. #1
    Clicker Fusion 2.5 Developer

    Join Date
    Nov 2008
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Request] Line Object

    I wanted an extension that not only could draw simple lines in scrolling apps (not really necessary for the drawn line to scroll with the frame, it should just draw properly while scrolling) with ability to change color and thickness, but also style (dotted, continuous, traced), but also more complex effects, such as this:


    [size:8pt]Notice how the first line is just straight while the second has rounded borders -
    The old "drawline" object for MMF 1.5 could do such thing, but it was very buggy[/size]


    Also, the object should be able to detect collisions with specific objects (or qualifiers) and return the spot where the collision occurred (preferentially return the spot closest to the source)

    The extension should be able to draw on top of an active object (and if feasible, with an option, below a background).

    Another nice (but not really required) bonus would be if the extension could draw more than one line simultaneously without the need for a new instance.

    I think an extension like this would be extremely usable, some examples of its use include drag-selecting (collisions mark selected objects for instance) and lasers (collisions damage enemies - and that "spot closest to the source" would be used to redraw the line up to that spot ), as well as drawing diagrams, where lines would connect everything.

    Thanks!

  2. #2
    Clicker Fusion 2.5Fusion 2.5 MaciOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Apr 2008
    Location
    Indonesia
    Posts
    694
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] Line Object

    There is a "Vectorial Shape Object" currently in Beta stage, you can check it out here : http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=91236&gonew=1#U NREAD
    Not only line, it can make polygons, rectangles, stars etc. Also the line can be styled as you expected too

  3. #3
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] Line Object

    You can also use the "Line Surface" extension by Jamie. Here is an example I made a long time ago using it.

    FuseBox Mini-Game Using Line Surface

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Nov 2008
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] Line Object

    Yeah but Line Surface cannot be formatted, and Vectorial Shape will be a commercial extension :/

    I have a sample engine but the code is ugly and I have to sort out some bugs... it would be easier if I had an extension

    I made a widget out of my code:
    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=143890#Post1438 90


  5. #5
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] Line Object

    I'll release for free the VectorialLine object which was the very beginning of VectorialShape object.

  6. #6
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] Line Object

    Sweet!

    stephen1980
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  7. #7
    Clicker Fusion 2.5 Developer

    Join Date
    Nov 2008
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] Line Object

    Quote Originally Posted by Sphax
    I'll release for free the VectorialLine object which was the very beginning of VectorialShape object.
    Can it do the effect my widget has (and Drawline did)?
    Can it detect collisions (no matter where)?


    If so I can't wait!

  8. #8
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: [Request] Line Object

    Quote Originally Posted by Fimbul
    Can it do the effect my widget has (and Drawline did)?
    Can it detect collisions (no matter where)?
    It can do everything you speak about (but I've not tested your widget yet).

    However it is currently incompatible with HWA.

Similar Threads

  1. [Request/Idea] Line of Sight Object
    By Dines in forum Extension Development
    Replies: 15
    Last Post: 5th December 2009, 10:58 PM
  2. [request] Line of sight object
    By MrMan in forum Extension Development
    Replies: 7
    Last Post: 8th October 2009, 10:10 PM
  3. [Request] Line surface object
    By workshop2 in forum Extension Development
    Replies: 5
    Last Post: 15th January 2008, 04:18 PM
  4. [Request] Line Of Sight Object (like MoveSafely 2)
    By Dines in forum Extension Development
    Replies: 2
    Last Post: 20th December 2007, 02:25 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
  •