Extra Effects Extension

Haha, sorry, I’ve been working on another extension that ended up being much more complicated than I thought it’d be, and got sucked into that work. But since you asked, here’s a sneak peek:

It’s usable, but I wouldn’t recommend anyone use it for any real project of any size yet - I’m still changing / fixing the blocks constantly.

There’s also two other things wrapped in this (smooth sliding and small custom font) that should be their own extensions.

6 Likes

Is there a way to change the z value of the effect?

Sorry for the late reply! I didn’t remember the answer off the top of my head so I had to look through the code again, and it’s been a while!

The answer is that you can, but it’s a little intuitive to do it at the moment. I’ll probably add a few extra premade blocks in the future to make this more convenient:

3 Likes

(I meant unintuitive…)

2 Likes

Thanks!

2 Likes

sorry to interrupt and annoy you guys but this just doesnt work


at all

1 Like

The Idea of Effect objects isn’t the most intuitive - the idea is to create a reusable prototype of sorts:

The start effect block is the one that actually puts your custom effect on screen. This particular effect setup might be a bit hard to see, so I increased the duration to 1 second.

6 Likes

in what way? does the whole thing not work? does the specific element of the block not work? example code???

4 Likes

Trust me pal, it works, and it is GOD’S SEND because it’s so helpful at times!!

3 Likes

oh thank you I though the block would run it

Would it be possible to have a stop all effects in the extension?

There’s currently no plan to update the extension unless it breaks, but…

You can use the “clear effects on sprite” block to stop effects attached to a specific sprite, but nothing that stops all effects at once. Then to clear all effects on screen you can just grab a list of all sprites and loop through each sprite with the clear effects block, with the caveat that you must create invisible sprites to attach effects to instead of spawning effects based on a x-y location.

1 Like