Path2D Studio Beta

Hey Yasu,

It looks like the Path2D instance in your demo is slightly offset, if you set it’s position to 0, 0, you should see the spline positioned correctly.

As for the white point not reaching the end of the spline, this is a known issue we’re looking into.

Thanks!

2 Likes

Gotcha! I didn’t even know there was a Position property for the Path2D itself. Not sure how that was changed without me realizing it.

1 Like

this feature is awesome for games with games that are heavily based on 2d
one thing i think this feature lacks is a easy way to tween a object along a path

i know that you’re able to just make your own tween method with TweenService::GetValue and Path2D::GetPositionOnCurve but i think a method should be included out of the box

i’d suggest a Path2DTween TweenService::CreateAlongPath2D(GuiObject object, TweenInfo info, Path2D Path) method

2 Likes

Pretty Cool! Although is there any reason why the Path2D instance won’t be clipped by a Gui Object with ClipsDecendants set to true?
image
The Path2D is in a frame with ClipsDecendants set to true, although the Path2D isnt clipping.

1 Like

Thank you for your feedback!
We are working on this now. :building_construction:

1 Like

Thats great! Thanks for looking into this!

1 Like

Hi all,

Just a heads up for an update to Path2D coming next week. Some of the Path2D APIs will change.

The Path2D position property is being removed.
The Path2D Color property is being renamed to Color3.

Path2D function exposed GetBoundingRect(). This will return the bounding rectangle for the Path2D.

Thanks!

4 Likes

Great stuff so far, ive been messing around with it myself. However, why is the Transparency property locked under RobloxScriptSecurity? This doesn’t seem to make sense personally.

afbeelding

Hi Plushie, thanks for the feedback!
Actually this is just for internal usage and will not be released later, this is why it is locked.

1 Like

Will there be any way for us to adjust the transparency of paths in the future, other than with CanvasGroup objects? primarily as this feels a bit counter-intuitive in comparison to having a property to set it

2 Likes

Hell yeah! Audio visualizers can be so cool now

4 Likes

this is a really late reply but do you mind elaborating on this? I’m really intrigued because I haven’t heard of vector3 curves till now, and I’m wondering if there’s an actual way to create splines with them.

1 Like

Secret Bézier curve library hidden inside of each of these instances. We can now get the arc length parameterization of a curve without writing modules.

1 Like

this is a vary cool update for Developers

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.