Heat Shimmer

For questions about using Classic.

Post » Sat Feb 20, 2010 7:00 pm

For my 2D platformer I would like to be able to do a nice heat shimmer where the heat makes things distorted and all that in desert or lava levels.I'm not sure the best way to do this though. I tried putting Warp on my tiled background in a test level and it lowered the framerate. Also, with Warp I'd have to put it on each object I want heat shimmer on. I'm not sure if I want the shimmer on just the background or everything or just select objects, but I'm certain that adding warp on each object would kill the framerate. I'd like to know the best way to do this kind of effect (preferably with control over what gets effected, though that isn't as important as framerate).

Thanks in advance :)
B
2
S
2
G
2
Posts: 372
Reputation: 1,794

Post » Sat Feb 20, 2010 7:13 pm

Try a canvas on the top layer. Paste everything into the canvas and use the warp effect on that. That way you're just using one shader and one shading pass, it'll help with rendering time.

And yes, using shaders will lower the framerate. There's not a lot you can do about that. Sometimes you just need a faster computer vv
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Sat Feb 20, 2010 7:21 pm

hmmmm better than canvas would probably be to use warp on the whole layer.
Layers can have effects. This will only run the shader once. Try it with and without the "force own texture" setting.
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Post » Sat Feb 20, 2010 7:27 pm

Well okay then yeah, but if he has more than one layer then uh, you know. Stuff.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Sat Feb 20, 2010 8:47 pm

play with the magnify shader on a layer with different gradient sprites moving around all over it to make it animated. i wouldnt use warp.
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests