Fog Effect

Get help using Construct 2

Post » Mon Jun 04, 2012 10:14 pm

Hello all,

I want to try and make a fog effect for a top-down game. Basically I want to use a fog image and I want it to move slowly at a south-west angle. I can do that part just fine. However, the problem I am having is getting the fog to actually wrap back around to the layout. I set the behavior to wrap the layout so it -should- come back on the otherside of the layout, but it doesnt. Instead the whole fog image just gradually drifts off never to be seen again.

What might a good way to achieve this effect be?
Thanks!
B
19
S
6
G
5
Posts: 98
Reputation: 4,484

Post » Mon Jun 04, 2012 10:17 pm

If you can post a capx, it would help to see what the problem is.Wastrel2012-06-04 22:20:41
Don't see the fnords and they won't eat you!
B
75
S
16
G
12
Posts: 322
Reputation: 11,608

Post » Mon Jun 04, 2012 11:41 pm

Hmm, no, neither of those are what I am talking about. No need for fog of war or particle effects.

Let me make it more general: I want to put a image that overlays the entire viewable window. I want that image to continuously scroll towards the bottom left corner so that it appears moving. However, it needs to be continuous otherwise the image itself will ultimately leave the screen entirely and there goes the scrolling parallax/overlay effect.
B
19
S
6
G
5
Posts: 98
Reputation: 4,484

Post » Tue Jun 05, 2012 2:58 pm

Yeah, I figured that out after I read your post a little more carefully.

This issue has come up before, but I don't recall the solution. A capx would still help. If you don't want to link your project, can you create a new one showing only the issue you're having?
Don't see the fnords and they won't eat you!
B
75
S
16
G
12
Posts: 322
Reputation: 11,608

Post » Tue Jun 05, 2012 4:18 pm

Is this any good?



Capx
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Post » Tue Jun 05, 2012 5:18 pm

@chrisbrobs thank you, the scrolling background was very helpful too
B
38
S
8
G
3
Posts: 438
Reputation: 6,869

Post » Tue Jun 05, 2012 6:54 pm

Nice job, @chrisbrobs!
Don't see the fnords and they won't eat you!
B
75
S
16
G
12
Posts: 322
Reputation: 11,608

Post » Tue Jun 05, 2012 8:58 pm

That is pretty much perfect. Thank you for sharing :)
B
19
S
6
G
5
Posts: 98
Reputation: 4,484

Post » Wed Jun 06, 2012 3:36 pm

Beautiful work, chrisbrobs
B
9
S
3
G
4
Posts: 80
Reputation: 3,268

Post » Wed Jun 06, 2012 5:58 pm

Glad to be of help....I should have mentioned that the fog background tile is from a tutorial by Yann (on zooming..i think) but I am unable to trace the original.
B
19
S
6
G
7
Posts: 1,205
Reputation: 7,298

Next

Return to How do I....?

Who is online

Users browsing this forum: bluemonkey, Khamsou and 23 guests