[Beta2] Sphax VectorialCurve

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • You can test a new version of VectorialCurve object. Not a lot big new features but they will appear later... :)

    Bugs corrected :
    - Transformation Rotation was done in the wrong direction : +1° is now done in the trigonometric direction

    Changes :
    - Some expressions and actions names has been modified
    - Some menus has been reorganized

    New features :
    - New 2nd alpha : If the second alpha is greater than 0, a line will be drawn behind the default line
    - New 2nd color : The second color allows to set the background line color
    - New transformation "Orientation" : set the angle to a specific degree in function of the first segment angle
    - New preset "link" : link two points with horizontal and vertical lines.
    - New preset "losange"
    - New get 2nd Color RGB
    - New get 2nd Alpha

    Optimizations :
    - none

    Examples :
    - Updated example with infinite points markers and all presets buttons :)

    Known bugs :
    - Some glitches are drawn with very small angles
    - MMF2 Crash if a function with parameters is called after the object has been destroyed. It's an MMF2 bug.

    In the future :
    - New preset : discretized Ellipse
    - New action : Set point position to an object
    - Filled options if closed state ON
    - Your ideas...

  • Great! I really enjoy seeing my ideas and suggestions utilized, especially when they turn out to be good ones ;)

    The second color in the dash offset looks cool. It reminds me of what used to be called color-cycling in the old computer days. I could see some users perhaps changing the two colors rapidly during runtime to get even more effects.

    Thank you!

    Isn't losange French for diamond shape? Sounds nice, did you want to keep that or use the English, diamond?

    I am going to try-out the new orientation soon.

    This is coming along wonderfully.

  • I seem to be having a problem with Orientation, or I am not understanding it correctly, 50/50 odds there ;)

    I set a simple line between two Active Objects. I set the orientation number from 0-360, the line does not rotate in degrees around the first point, it moves all over the screen in some sort of, unexpected relationship to it.

    Am I doing something wrong here?

  • Minor note: Under Settings, Set dash cap, the "square" needs an "s" before it.
    [color:#3366FF]> I'll correct it. :)[/color]

    Isn't losange French for diamond shape? Sounds nice, did you want to keep that or use the English, diamond?
    [color:#3366FF]> I'll use the english word in the next beta, thanks. :)[/color]

    I set a simple line between two Active Objects. I set the orientation number from 0-360, the line does not rotate in degrees around the first point, it moves all over the screen in some sort of, unexpected relationship to it.

    Am I doing something wrong here?
    [color:#3366FF]> You probably forgot to set the Transformation origin point to the point you want to turn around. ;)
    The origin is 0x0 by default, so your points turn around the top left corner of the frame. :D[/color]

    Please login to see this link.

  • > You probably forgot to set the Transformation origin point to the point you want to turn around. ;\)
    The origin is 0x0 by default, so your points turn around the top left corner of the frame. \:D

    Yes, that was the problem! Thanks again.

    Could the zero point of the rotation start at same point that AO's do? You are starting at the left. It might be more compatible with some uses if zero of the orientation corresponds with zero of the AO directions, I think.

    I think other objects start with the same origin, as well.

  • Could the zero point of the rotation start at same point that AO's do? You are starting at the left. It might be more compatible with some uses if zero of the orientation corresponds with zero of the AO directions, I think.
    > If you have a line (2 points), set the origin of the transformation to the first point (ID0) and set the orientation to 0°, you'll have the line turned at right ("o-->") like Active objects... What is the problem ?
    It's better to have the possibility to set the transformation origin, than always have this origin at the first point (thanks to that, a lot of things are possible).

    Please login to see this link.

  • That's fine then.

    Here is an example of a meter dial. It is large. Due to MMF's speed, I set the frame-rate to 120 for the results I wanted.

    I was thinking, perhaps we could eventually create a "meter dial" object that is dedicated to this effect? It would be something where the user could easily set start and end points on the dial and line them up with the graphic they are using. It would also allow for setting of movement direction, (as I did with my calculation) and maybe have some "effect" algorithms that could vary the speed that the dial moves to a given point, with "jumpiness' etc. A real Analog meter simulation -- good for speedometer's, tachs, etc. It could have an up/down mode as in, go from zero point to target number, hold, drop back to zero.

    The reason I suggest that is from the experience of getting this setup and aligned properly. It takes a bit of time to get it right and again, users want fast and easy not ABS calculations, etc.

    Anyway, enough rambling about that idea. I hope the example shows the value of the new orientation function :)

  • Nice example. :)
    I think this task will be better for the next beta of VectorialLine (VL is faster than VC) but it's nice.
    Thanks a lot Novabrain for your feedbacks. :)

    Please login to see this link.

  • I have a question on the best way to do this:

    If I create a ball and send in a direction I want a line to follow that ball and when the ball bounces, I want the line to break into another segment and follow the ball to a certain point. Then, I destroy the ball and start over.

    What this would be is tracking the ball's movement with a line.

  • I am curious as to why the object is not multi-threaded, but I assume that is for speed/optimization purposes.

    I see places where I would like to use one object to create several lines/effects/shapes.

    As my example shows, (and I may or may not be doing things correctly) that I can get by using more than one of each object.

    However, as with the "mouseover selection" I might want to put a box around all of an object's instances, for example.

    Also, do you foresee the ability to "draw" a line as per the path the mouse or an object follows ... sort of free-form? Or is that possible now. I assume it would take many points.

    By the way, maybe you could make a few examples of some of the features, like barycenter. I know what that is, but that and some of the other features could be inspired by some examples of usage.

  • The object uses GDI+, so it's multithreaded and hardware accelarated (for calculation only).

    Barycenter is the real center of all points, it's also called gravity point. It could be useful for rotations. It's used in the example attached with the MFX. ;)

    EDIT: Your example is pretty cool ! :D

    Please login to see this link.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!