[Effect] mode7

Share your Construct 2 effect files

Post » Mon Jan 09, 2017 2:09 pm

spacedoubt wrote:I've been having a lot of fun with this amazing effect!

I've got a question. If I'm using the effect on an entire layer, is there a way to avoid having it repeat infinitely on the edges?

Yes, there's an edit you can make to the file, I forgot where exactly, r0j0 does mention this in the topic somewhere, and I think you have to hack it by duplicating the X and Y code redundantly and setting one of the X's off/Y's on and on the other setting the X on and the Y off. Hang on, I might have the file...
B
41
S
12
G
14
Posts: 1,117
Reputation: 11,248


Post » Tue Jan 10, 2017 3:26 am

@Zebbi I appreciate that, but it did not solve it. I think I'm actually already using the edited file. I think I used it to stop repeat on another project with no horizon, but this one has a horizon, and just above the horizon, I can see the layer repeating.. There is some distance between, maybe I just need to tweak the settings some more...
B
86
S
43
G
71
Posts: 601
Reputation: 43,609

Post » Tue Jan 10, 2017 12:49 pm

spacedoubt wrote:@Zebbi I appreciate that, but it did not solve it. I think I'm actually already using the edited file. I think I used it to stop repeat on another project with no horizon, but this one has a horizon, and just above the horizon, I can see the layer repeating.. There is some distance between, maybe I just need to tweak the settings some more...

Yes, there is a quite a lot of tweak to get things to align just right, if I recall.
B
41
S
12
G
14
Posts: 1,117
Reputation: 11,248

Post » Mon Jan 23, 2017 9:19 pm

I do not know exactly how this effect works. :(
I activated the effect on a layer and I can not configure it to simply generate a subtle perspective view, like a MODE 7 from Final Fantasy III. Can someone help me?
B
9
S
1
G
1
Posts: 21
Reputation: 1,484

Post » Thu Jan 26, 2017 4:20 am

@rexrainbow

I've been tinkering with this effect and it's really cool! I'm having some trouble getting object positions to track accordingly. I'm using rex's behaviors but I'm using a tiled background for the object ground. Will that impact the way the perspective behavior works? I currently have grass (as the tiled background) and houses (as sprites) but I can't get my houses to appear anywhere after setting up the camera sprite to the ground behavior's camera and the houses perspective behavior to the grass's ground behavior parameters. In the sample capx it looks like 0,0 (on the X and Y parameters of the perspective behavior) is the upper left hand corner of the canvas but I don't see anything populating there when I test things out.

EDIT: I've also tried setting the logic positions to the sprites current x/y positions, which could be a mistake (as I'm not so confident with all the math), but I thought it was worth a shot. I also don't see them when I try that out.
B
45
S
28
G
22
Posts: 315
Reputation: 15,430

Post » Thu Jan 26, 2017 8:38 am

ultrafop wrote:@rexrainbow

I've been tinkering with this effect and it's really cool! I'm having some trouble getting object positions to track accordingly. I'm using rex's behaviors but I'm using a tiled background for the object ground. Will that impact the way the perspective behavior works? I currently have grass (as the tiled background) and houses (as sprites) but I can't get my houses to appear anywhere after setting up the camera sprite to the ground behavior's camera and the houses perspective behavior to the grass's ground behavior parameters. In the sample capx it looks like 0,0 (on the X and Y parameters of the perspective behavior) is the upper left hand corner of the canvas but I don't see anything populating there when I test things out.

EDIT: I've also tried setting the logic positions to the sprites current x/y positions, which could be a mistake (as I'm not so confident with all the math), but I thought it was worth a shot. I also don't see them when I try that out.

It's been a while since I've use this but doesn't the math have to be inverted, or something?
B
41
S
12
G
14
Posts: 1,117
Reputation: 11,248

Post » Fri Jan 27, 2017 3:02 am

Zebbi wrote:
ultrafop wrote:@rexrainbow

I've been tinkering with this effect and it's really cool! I'm having some trouble getting object positions to track accordingly. I'm using rex's behaviors but I'm using a tiled background for the object ground. Will that impact the way the perspective behavior works? I currently have grass (as the tiled background) and houses (as sprites) but I can't get my houses to appear anywhere after setting up the camera sprite to the ground behavior's camera and the houses perspective behavior to the grass's ground behavior parameters. In the sample capx it looks like 0,0 (on the X and Y parameters of the perspective behavior) is the upper left hand corner of the canvas but I don't see anything populating there when I test things out.

EDIT: I've also tried setting the logic positions to the sprites current x/y positions, which could be a mistake (as I'm not so confident with all the math), but I thought it was worth a shot. I also don't see them when I try that out.

It's been a while since I've use this but doesn't the math have to be inverted, or something?


Hey thanks for the response! I tried discontinuing use of the behaviors and just inserting the math from R0j0hound's mode7_obj capx (copied and pasted the variables and equations to make sure I didn't make a mistake). I tried it "as is" (thinking the placement would't match up but I'd at least see the objects on screen...which did not happen) as well as with the numbers 'm using for the mode7 in the variables provided but I'm stlll having issues. Now I can get the houses placed, but their size is so small they are effectively invisible - I only know they are there because of other objects in a container with the houses. After about 5-10 seconds the other objects simply disappear, which leads me to believe the objects are being transported elsewhere (though I don't know how this could be the case) - or possibly since the houses are invisible their size is constantly shrinking and the container objects can't be pinned to them anymore? Objects that have a m7x and m7y of 0 are also seen flying across the map until they exit the layout. Any help getting this to work would be greatly appreciated!! If nothing overtly comes to mind about similar problems I'll work on a sample capx to upload.
B
45
S
28
G
22
Posts: 315
Reputation: 15,430

Post » Sat Jan 28, 2017 6:02 am

ultrafop wrote:
Zebbi wrote:
ultrafop wrote:@rexrainbow

I've been tinkering with this effect and it's really cool! I'm having some trouble getting object positions to track accordingly. I'm using rex's behaviors but I'm using a tiled background for the object ground. Will that impact the way the perspective behavior works? I currently have grass (as the tiled background) and houses (as sprites) but I can't get my houses to appear anywhere after setting up the camera sprite to the ground behavior's camera and the houses perspective behavior to the grass's ground behavior parameters. In the sample capx it looks like 0,0 (on the X and Y parameters of the perspective behavior) is the upper left hand corner of the canvas but I don't see anything populating there when I test things out.

EDIT: I've also tried setting the logic positions to the sprites current x/y positions, which could be a mistake (as I'm not so confident with all the math), but I thought it was worth a shot. I also don't see them when I try that out.

It's been a while since I've use this but doesn't the math have to be inverted, or something?





Hey thanks for the response! I tried discontinuing use of the behaviors and just inserting the math from R0j0hound's mode7_obj capx (copied and pasted the variables and equations to make sure I didn't make a mistake). I tried it "as is" (thinking the placement would't match up but I'd at least see the objects on screen...which did not happen) as well as with the numbers 'm using for the mode7 in the variables provided but I'm stlll having issues. Now I can get the houses placed, but their size is so small they are effectively invisible - I only know they are there because of other objects in a container with the houses. After about 5-10 seconds the other objects simply disappear, which leads me to believe the objects are being transported elsewhere (though I don't know how this could be the case) - or possibly since the houses are invisible their size is constantly shrinking and the container objects can't be pinned to them anymore? Objects that have a m7x and m7y of 0 are also seen flying across the map until they exit the layout. Any help getting this to work would be greatly appreciated!! If nothing overtly comes to mind about similar problems I'll work on a sample capx to upload.




@zebbi

https://www.dropbox.com/s/awpiq55c31zrj ... .capx?dl=0
B
45
S
28
G
22
Posts: 315
Reputation: 15,430

Post » Tue Mar 28, 2017 4:09 am

Message: frbruno can only post plain text URLS until they have 500 rep. 2 URLS modified. Why?
Hi.

broken link

http://dl.dropbox.com/u/5426011/plugins/mode7.zip

http://dl.dropbox.com/u/5426011/plugins/mode7fx.capx

Can you make them available?

thanks.
B
5
S
1
Posts: 2
Reputation: 331

PreviousNext

Return to Effects

Who is online

Users browsing this forum: No registered users and 0 guests