[Discussion] Lens Effect without the parallax

Share your Construct 2 effect files

Post » Wed Jul 19, 2017 5:48 am

Image

I have been trying to find a way to make the background stretch in (like a Photoshop pinch) for a few days now. After some hunting, I found Lens works pretty well under the right conditions. However the magnification seems to depend highly on its position on the screen. This makes everything parallax in a very "full 3D" kind of way. I want a 2D aesthetic, and would rather it not parallax at all. I spent a few hours taking the fx file apart and it looks like the parallax result is pretty baked into whatever is going on in the shader. Does anyone know a simple way to make the effect pull and stretch the background without changing when the camera moves around? At the very least, can someone explain to me why it does this? Looks like many effects are largely camera sensitive.

Thanks for any help anyone has to offer.
B
11
S
2
Posts: 24
Reputation: 1,280

Post » Wed Aug 23, 2017 3:55 pm

Sorry, no idea, but the game looks really cool! , How you made that glitch-screenshake effect when the ship collides? Looks awesome :O
B
23
S
10
G
3
Posts: 545
Reputation: 4,442

Post » Tue Aug 29, 2017 10:22 am

Umm, that looks WAY cooler than you're probably thinking. It looks proper, too, like the gravity bubble is warped. I'm unsure how to accomplish what you're asking but I wouldn't change that in the least.
B
25
S
6
G
6
Posts: 265
Reputation: 3,696


Return to Effects

Who is online

Users browsing this forum: No registered users and 1 guest