Heat Effect?

Hey guys,

Is it possible for Corona SDK to do effects like these? Something to show heat or how hot the place is. 

Here’s an example of the effect I was talking about (you can see it at the very starting). It’s a gameplay video of Sonic & Knuckles  https://www.youtube.com/watch?v=p7fhZ1B2Cz8

Thanks in advance!  :slight_smile:

Hi @flipboxgames,

Are you speaking about the subtle effect on the background of that video, like on the distant pyramids?

Brent

@Brent Sorrentino

Yeap that’s right 

I suppose it might be possible using a similar technique to what René Aye is doing in his Realtime Blur Effect library:

http://forums.coronalabs.com/topic/53578-realtime-blur-effect/

Hi @flipboxgames,

I was going to suggest the “wobble” filter as well (filter.wobble). Combined with realtime blur, this might be exactly what you need. Of course, if you intend to use this effect on dozens of objects, it might impact your performance, in which case animated sprites may be better.

http://docs.coronalabs.com/guide/graphics/effects.html#filter.wobble

Brent

@_memo @Brent

Thank you both for your suggestions.  :) 

I was kinda hoping for a more ‘cut and dried’ method (haha) but will try to experiment with both effects mentioned. Here’s to hoping Corona will add in cool shader effects in the future  :smiley:

Hi.

I’ve been playing with the shaders feature in the recent daily builds and have something similar. Still some kinks to work out, most of them probably easy, and then maybe I’ll put it up on the code exchange. Annoyingly, the shader needs some idea of where the center of the object is, so that has to be explicitly specified per object.

Maybe I can do an overlay variant, too, so one could do “windows” or whatever.

@StarCrunch

That would be awesome  :slight_smile:

Hi dylestorm.

I’ve worked out the snags and maybe I’ll have it up later tonight, once I get some cleaned-up examples in order.

(This stuff does need a fairly recent daily build. I’ve been playing with one from just a few days back.)

Here you go: heat haze

I find a low “extend”, and various values of “frequency”, give good results.

Thanks for sharing!

Rob

@StarCrunch

I just gave it a test and wow! That is really awesome  :smiley:

Thank you so much for sharing it with us!

Hi.

I finally got around to testing these on a device and discovered that some precision qualifiers were necessary to actually work there. I’ve updated the Gists accordingly.

@StarCrunch 

Thanks!  :slight_smile:

Hi @flipboxgames,

Are you speaking about the subtle effect on the background of that video, like on the distant pyramids?

Brent

@Brent Sorrentino

Yeap that’s right 

I suppose it might be possible using a similar technique to what René Aye is doing in his Realtime Blur Effect library:

http://forums.coronalabs.com/topic/53578-realtime-blur-effect/

Hi @flipboxgames,

I was going to suggest the “wobble” filter as well (filter.wobble). Combined with realtime blur, this might be exactly what you need. Of course, if you intend to use this effect on dozens of objects, it might impact your performance, in which case animated sprites may be better.

http://docs.coronalabs.com/guide/graphics/effects.html#filter.wobble

Brent

@_memo @Brent

Thank you both for your suggestions.  :) 

I was kinda hoping for a more ‘cut and dried’ method (haha) but will try to experiment with both effects mentioned. Here’s to hoping Corona will add in cool shader effects in the future  :smiley:

Hi.

I’ve been playing with the shaders feature in the recent daily builds and have something similar. Still some kinks to work out, most of them probably easy, and then maybe I’ll put it up on the code exchange. Annoyingly, the shader needs some idea of where the center of the object is, so that has to be explicitly specified per object.

Maybe I can do an overlay variant, too, so one could do “windows” or whatever.