Nearly daily [EFFECTS] by Somebody - neat things + big GIFs

Share your Construct 2 effect files

Post » Sun Feb 08, 2015 10:44 pm

Oh, and a "extra" zip with all the addons in it would be great.
Then we can just update the whole bunch each time in one drag & drop.
I like them all, so i want them all, in one go ;-)
B
59
S
21
G
14
Posts: 779
Reputation: 13,927

Post » Sun Feb 08, 2015 11:06 pm

! This is amazing @Somebody ! The drop shadow effect was a request for so long now and you nailed it a day after Helena mentioned it! And it works on the Text Object too!!! :O

May I ask if it's possible to see the shadow on the layout? Because it's only visible at run-time.

And another thing, is it possible to have an invert Y option, you know, in order to cast shadows on the floor bellow the feet of a character like he/she is being lit from behind..?

Anyway, thank you so much for your effort, you are really spoiling me! :D
composer - multimedia artist
www.eli0s.com/en/
B
69
S
27
G
6
Posts: 1,146
Reputation: 10,379

Post » Sun Feb 08, 2015 11:40 pm

I like your shadow implementation.

I made this one for myself few months ago, but since then i could not figure out a way to handle shadow scaling, so I never published it.
But there's a one thing that may interest you for your drop shadow future updates - colored shadows ;)
(fx may be a bit messy, cause it is and probably alway be work in progress)
You do not have the required permissions to view the files attached to this post.
ImageImageImageImage
B
157
S
66
G
42
Posts: 2,603
Reputation: 35,343

Post » Mon Feb 09, 2015 7:31 am

Savvy001 wrote:@Somebody
For the drop shadow effect it would be great if we could set the layers it would cast onto, an which not.
I aplied it to my game and it worked great, except that some shadows unwanted where casted on the "sky' background layer aswell.

As previously mentioned Shaders are quite "dumb" so I doubt this is possible. I see how it could be useful, though, but unfortunately cannot help...

Savvy001 wrote:Oh, and a "extra" zip with all the addons in it would be great.
Then we can just update the whole bunch each time in one drag & drop.
I like them all, so i want them all, in one go ;-)

The dropbox folder doesn't offer this option? Will have to look into it, as I only see it as the maker.

eli0s wrote:! This is amazing @Somebody ! The drop shadow effect was a request for so long now and you nailed it a day after Helena mentioned it! And it works on the Text Object too!!! :O

Well, it's mostly lucky timing as I just now understood how reading the pixel data from offset pixels works in a Shader :)

eli0s wrote:May I ask if it's possible to see the shadow on the layout? Because it's only visible at run-time.

I suspect the editor doesn't have "real" transparent layers, so it cannot tell apart what is and what isn't a separate object on a layer... Thus it doesn't cast any shadows. I'll have a look into it, but probably not possible.

eli0s wrote:And another thing, is it possible to have an invert Y option, you know, in order to cast shadows on the floor bellow the feet of a character like he/she is being lit from behind..?

Here we return to Shaders being "dumb" - the best we could do for something like this would be a "mirrored" shadow, but it would be locked to a certain breaking point and not a "per object" shadow. Like this:
Image

So I think it's a better idea to go with objects for a shadow like that.

eli0s wrote:Anyway, thank you so much for your effort, you are really spoiling me! :D

Thanks. It won't go forever, though, at some point the ideas will run dry. But for now there are a couple more incoming.

shinkan wrote:I like your shadow implementation.

I made this one for myself few months ago, but since then i could not figure out a way to handle shadow scaling, so I never published it.
But there's a one thing that may interest you for your drop shadow future updates - colored shadows ;)
(fx may be a bit messy, cause it is and probably alway be work in progress)

Thanks! Will check it out - I prefer few parameters and fewer actions inside the Shader to keep them efficient, but perhaps a separate version could make sense.
B
19
S
6
G
6
Posts: 1,101
Reputation: 5,646

Post » Mon Feb 09, 2015 1:07 pm

@Somebody , I understand. Thank you very much for your answer and for your contribution so far!

About new ideas, how about an animated turbulent noise effect? With Height/Width scale parameters (in order to stretch the effect vertically/horizontally) and perhaps options for selecting the colors? This effect could very well be an input for other stacked effects, like Glass, Lens and Water Background. Finally, It will be awesome if one of the colors is transparent! That way we could create misty and cloudy effects!

:D
composer - multimedia artist
www.eli0s.com/en/
B
69
S
27
G
6
Posts: 1,146
Reputation: 10,379

Post » Mon Feb 09, 2015 6:11 pm

Scirra should hire you Somebody :)
B
29
S
8
G
4
Posts: 767
Reputation: 5,985

Post » Tue Feb 10, 2015 12:25 am

Or maybe he is already "Somebody" within scirra.
Sharing office with ROJO & Rex ;-)
Oh the fun and joy :-)
B
59
S
21
G
14
Posts: 779
Reputation: 13,927

Post » Tue Feb 10, 2015 4:01 am

Haha! You all are fun. :) But I agree Scirra should hire Somebody! :D Not any somebody but Somebody. :)

Request:
I wonder if it is possible to add another scroll, more advanced scroll. Maybe name it scroll plus!
Difference? Specify the angle of scroll of 360 degree. It would be so awesome. but if not, even diagonal would work too. I understand if this is much harder to code.

Why? I thought of the game Krakout for C64, the background scroll in same direction as the ball is going (but slower rate). it is a breakout clone game.

EDIT:
I went to Youtube and looked at a video. Apparently it is just 8 directions. :)
https://www.youtube.com/watch?v=XCWNvqFZeFk
Watching that brought up memories of us kids playing that back in 80s on our C64 computers.
B
58
S
18
G
13
Posts: 447
Reputation: 10,735

Post » Tue Feb 10, 2015 7:46 am

jojoe wrote:Scirra should hire you Somebody :)

High praise indeed, but I suspect a couple of simple Shaders wouldn't really make me worthy. Besides thanks to all the nagging I'm probably on some blacklist already :D

Savvy001 wrote:Or maybe he is already "Somebody" within scirra.
Sharing office with ROJO & Rex ;-)
Oh the fun and joy :-)

Hehe, now those guys would deserve it.

helena wrote:Haha! You all are fun. :) But I agree Scirra should hire Somebody! :D Not any somebody but Somebody. :)

Request:
I wonder if it is possible to add another scroll, more advanced scroll. Maybe name it scroll plus!
Difference? Specify the angle of scroll of 360 degree. It would be so awesome. but if not, even diagonal would work too. I understand if this is much harder to code.

But you already can do it with events! Using the seamless effect - just have two variables for X and Y and change them with events then pass onto the effect as parameters.

helena wrote:Why? I thought of the game Krakout for C64, the background scroll in same direction as the ball is going (but slower rate). it is a breakout clone game.

EDIT:
I went to Youtube and looked at a video. Apparently it is just 8 directions. :)
https://www.youtube.com/watch?v=XCWNvqFZeFk
Watching that brought up memories of us kids playing that back in 80s on our C64 computers.

Wow, that is some awesome music right there. And it would be really easy to do using the aforementioned Seamless effect :)

Why not a built-in effect? In a Shader all the math is done for each pixel, so doing angle calculations and such would make it SLOOOOW, so passing pre-made values from events is a much better idea. And for this example it's also super-easy :)

Bounce.capx
You do not have the required permissions to view the files attached to this post.
B
19
S
6
G
6
Posts: 1,101
Reputation: 5,646

Post » Tue Feb 10, 2015 9:16 am

Awesome!! I just want to say that you should make the Y to negative value to make it more like Krakout. :)
In your example, it scrolls in opposite direction for Y. (Bounce.capx) Not that it matters too much really. ;)
B
58
S
18
G
13
Posts: 447
Reputation: 10,735

PreviousNext

Return to Effects

Who is online

Users browsing this forum: No registered users and 3 guests