[Release] Electric Arcs effect

effects

#21

I made something similar to this a year ago but never made an actual API for it. This is really cool!
I also like how yours is OOP based.


#22

zap (the image uploading wouldnt work so i had to use gfycat :slightly_frowning_face:)

i combined clonetrooper’s classic build tools, this snippet of code i got from sircfenner, and this module!

i don’t know how to make the webm smaller im new to this formatting stuff, but after uploading it seems fine anyways lol


#23

What? How did I not see this? I only caught this after checking my Twitter account and seeing a retweet by Roblox. Wow.

Bookmarked. This is brilliant. If anyone knows how to use the platform to make some mind-blowing tools, it’s gotta be build. And open source too!? That’s great.

Thanks for sharing.


#24

The “lightning generator” in the basement Physics classroom of Misfits High uses the same underlying code, but instead of CFraming neon parts, I am animating Attachments, which are connected like connect-the-dots using Beams (with light emission):


#26

Might use this in my game’s campaign for special effects! It looks AWESOME!


#27

I tried this out, it’s a clever idea, but it seems like there is a maximum cap on how many Beams can be on screen at once before it starts culling them. So if you would have multiple of these on-screen, they would have gaps or stop being visible entirely, it would only work as long as you have a few of these with a restricted amount of segments:

Picture

You could consider switching over to this module and just tweak the Constants.lua file to make it appear the same as what you have here for an easy bit of performance gain. (and you get free auto-throttling for performance for low-end devices)


#28

Updated with functionality to set arc thickness (and some extra options in Constants to ensure you can fully customize how fatness of arcs is calculated):

(the arcs on the left have a fatnessMultiplier = 0.5)

Added code example and new version of model/place to the first post here and on Github.


#29

Will DEFINITELY be using this, Thanks!


#30

I so deeply appreciate these awesome open-source scripts. Not only are they of great use as they save up a lot of time, they also serve as examples or scripts you can learn from and learn new things. This is cool, very cool :slight_smile:


#31

This is where the fun begins.


#32

Yeah, there is a cap. IIRC it’s not on the number of beams on screen, but rather how many can be updated per renderstep. And I think beams and trails share the same limitation.


#33

Those look amazing; would be useful for some kind of energy generator or lighting strike.


#34

This is awesome! Can’t wait to use it in games! :grinning:


#35

Definitely bookmarking this and using it for a current project. Thanks for sharing!


#36

21:18:42.267 - ReplicatedStorage.Arc.System:23: attempt to index field ‘LocalPlayer’ (a nil value)

21:18:42.268 - Stack Begin

21:18:42.268 - Script ‘ReplicatedStorage.Arc.System’, Line 23

21:18:42.269 - Stack End

Why do I get this error?


#37

Require the module on the client. You’ll need to replicate the arcs to other clients yourself.


#38

Got it.


#39

Looks awesome! Thanks for releasing this!