[Effect] mode7

Share your Construct 2 effect files

Post » Mon Jan 28, 2013 11:21 pm

How would i make it so its only a strip down the center, like a road? The problem is it repeats this in the horizontal, so you see multiple strips. I tried putting 1, but it doesn't show it.
B
50
S
11
G
7
Posts: 274
Reputation: 8,146

Post » Fri Feb 01, 2013 7:52 pm

@Jerbens
The math is escaping me at the moment but to map a sprite to this would require a perspective transform. Google has a lot on the subject, but it may take some tinkering to get the transform to match.

@PixelPalette
You could modify the fx so that you get the image to repeat in only a line by putting // in front of one of these lines:
[code]xx=clamp(xx, 0.0, 1.0/scale_x);
yy=clamp(yy, 0.0, 1.0/scale_y);[/code]
B
79
S
24
G
54
Posts: 4,747
Reputation: 40,757

Post » Sat Feb 02, 2013 1:17 am

R0J0 is it possible to reduce that shimmering effect you see near the horizon, or is that beyond this effect?
B
134
S
65
G
16
Posts: 1,766
Reputation: 19,190

Post » Sun Feb 03, 2013 11:03 pm



OMG MAN!!!!

This is simply INCREDIBLE!

Thanksssss sooo muuch!!!!!!

Great Job!!!!

I ve no WORDS!!!!!
B
22
S
2
G
5
Posts: 49
Reputation: 4,827

Post » Mon Feb 04, 2013 12:24 am

[QUOTE=jardelbr]

OMG MAN!!!!

This is simply INCREDIBLE!

Thanksssss sooo muuch!!!!!!

Great Job!!!!

I ve no WORDS!!!!! [/QUOTE]

We all love r0j0 ,
But not that much ? :P
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Thu Feb 07, 2013 3:44 am

Maybe if it was rendered at twice the size, then shrunk down to 50% using linear filtering it would reduce the shimmering and make it look smooth?
B
134
S
65
G
16
Posts: 1,766
Reputation: 19,190

Post » Mon Jun 17, 2013 7:35 pm

Thank you R0J0hound for sharing this beautiful piece of info with us greatly appreciated ! :)
B
7
S
1
Posts: 33
Reputation: 623

Post » Mon Mar 03, 2014 9:17 pm

I dont think ill be going to sleep tonight, ill be playing with this !!
B
16
S
4
G
4
Posts: 179
Reputation: 4,688

Post » Tue Mar 04, 2014 11:21 pm

I have actually posted two shmup examples using the mode7 effect in a previous thread.
One uses mode 7 for an ocean background, and the other allows you to move back and forth into the background.
B
13
S
4
Posts: 117
Reputation: 2,242

Post » Wed May 21, 2014 3:53 pm

Incredible @R0J0hound, bloody legend you are :D
B
15
S
4
G
1
Posts: 286
Reputation: 1,988

PreviousNext

Return to Effects

Who is online

Users browsing this forum: No registered users and 1 guest