Creating a distortion field graphical effects

For questions about using Classic.

Post » Sun Jun 17, 2012 2:49 pm

First, look here: http://stackoverflow.com/questions/5618962/twirl-and-pinch-effect-to-images-image-distortion-algorithm

See the images of twirl and pinch? If I want to achieve such effect in real time in Construct, how can I do it?akaja2012-06-17 15:00:58
B
2
G
1
Posts: 38
Reputation: 526

Post » Mon Jun 18, 2012 12:11 am

B
79
S
24
G
52
Posts: 4,725
Reputation: 39,713

Post » Mon Jun 18, 2012 3:30 pm

Ah, I see. But that's not quite what I have in mind. Is it possible to render the scene into some sort of buffer first, then apply this post-processing step later, then render this buffer on to the layout? Because here, only one Sprite will be affected. What about any Sprite that comes into contact at a particular area will be distorted?
B
2
G
1
Posts: 38
Reputation: 526

Post » Mon Jun 18, 2012 6:12 pm

You could use a layer effect, but you'd have to write the shader since one for those effects don't exist AFAIK.

Or you could use a canvas object as it also has distort maps. You could then use paste action to draw the objects into the canvas, or perhaps the grab layout property.R0J0hound2012-06-18 18:20:36
B
79
S
24
G
52
Posts: 4,725
Reputation: 39,713

Post » Mon Jun 18, 2012 6:44 pm

Image manipulator has a few pre-made effects also.newt2012-06-18 18:44:33
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests