[Beta1] Sphax VectorialCurve object

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.
  • I think we can get some really nice examples going for this.

    I want to try to get some sort of electrical wiring one going soon, if I can. Use the lines to connect a battery to a resistor, bulb, etc.

    I am sure there are plenty of ideas popping up for testers.

    Oh, here is a quick example of an energy beam/pumping effect I was talking about using the dash offset. There is also another one that just uses the star preset for some dazzle. I use four VectorLine objects and it runs smoothly for me.

  • I have what I think might be an important suggestion, (unless i am missing something) for VL and VC objects.

    People may want to make meters and dials. I like that I can get the rotate transform to rotate by a number I give it. That works nice for radar effects, etc.

    Now, unless I missed how to do this, it would be nice to have a rotate "to" as well as a rotate "by".

    If I have a meter, and I want to use a rotating line to set to a specific number between 0 and 150 for (1.5 volts) and represent that on a meter graphic, it would be nice to be able to rotate by a degree, like 360 degrees.

    If you think about this use for meters and dials, it might be a good idea to help the users by letting them easily set this without much math. Maybe allow for adding and subtracting degrees? If you see what I mean?

    If the default degrees start at the right of the imaginary circle on the frame, and my 150 degree meter hand starts at 270 and goes clockwise to 90 I would want to be able to adapt it. So, whatever is the best way to turn a slider bar set from 0 to 150 into a custom sweep on the dial would be great.

  • I agree, being able to directly set the rotation angle would be cool.

    It would also be cool to be able to transform each point individually (Not sure if that is possible currently).

    Maybe add the ability to make the line paste into the background?

    Waiting in the shadows...

  • Oh, here is a quick example of an energy beam/pumping effect I was talking about using the dash offset. There is also another one that just uses the star preset for some dazzle. I use four VectorLine objects and it runs smoothly for me.
    [color:#3366FF]> You've done pretty nice examples Novabrain ! :)
    For the example with star presets, you should update presets at the same time you change parameters (each 0"011s) instead of always, you'll get a better frame rate. When you use presets, a lot of calculations and memory manipulations are made in function of the preset type (the star preset is the most "complicated").[/color]

    Now, unless I missed how to do this, it would be nice to have a rotate "to" as well as a rotate "by".
    [color:#3366FF]> To rotate a line to a specific angle, you can use the getAngle function :
    - For VectorialLine : Rotation transformation : X°-getAngleF("line")
    - For VectorialCurve : Rotation transformation : X°-getAngleFirstSegmentF("curve")
    But if you think another function should be added to do this substraction, I'll add it :D[/color]

    "It would also be cool to be able to transform each point individually (Not sure if that is possible currently)."
    [color:#3366FF]> You can already set each point individually as you want with ease (for VectorialLine AND VectorialCurve with 0-based ID). Look at my example with the custom preset and you'll see how you do that...[/color]

    Maybe add the ability to make the line paste into the background?
    [color:#3366FF]> You can set the VectorialLine and the VectorialCurve objects to not save the background. So they will be pasted in the background (look at the VectorialArt example orf the VectorialLine). But you can't paste it in the background at runtime (I don't know how to do that). It could be a nice feature (with the possibility to add backdrop obstacle).[/color]

    Please login to see this link.

  • Thanks again for the responses.

    Yes, it would be nice to add another function ;) It would be more intuitive and easier to use.

    I wonder if Yves, or somebody knows how you could paste the line? Vortex's idea was a good one. And yes, it would be great to have the ability for it to also be a backdrop obstacle.

  • I'll add the transformation type named "Orientation". It will be based on the first segment of the VectorialCurve. Are you agree ?

    I'll ask Yves how to paste something in the background like actives objects. Maybe it will not possible with my objects.

    Please login to see this link.

  • Quote from Novabrain

    I would like it to work as absolute rather than cumulative, which would be the major difference.


    It's the only difference between "Orientation" and "Rotation". ;)

    Please login to see this link.

Participate now!

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