Animated Tiled Backgrounds

Get help using Construct 2

Post » Wed Jan 28, 2015 3:04 am

Have you ever wanted animated tiled backgrounds for your game? After searching, I've found that this feature simply does not exist within Construct 2. So If anyone's looking for a simple solution, I have come up with a very simple solution to this problem.

By using two Tiled Backgrounds (WaterFall_0, WaterFall_1), and placing one on top of the other, you can toggle the visibility of the one on top, to create an animated effect.

Image

Image
Last edited by Wolph on Wed Jan 28, 2015 12:37 pm, edited 1 time in total.
B
8
Posts: 28
Reputation: 756

Post » Wed Jan 28, 2015 3:42 am

That's a clever effect there. To simplify even further -- reducing it to one event -- you could do something like this:

Code: Select all
Every 0.2 seconds, set opacity of WaterFall_1 to (WaterFall_1.Opacity - 100) * -1

Which -- given a starting opacity of 0 or 100 -- will toggle the object's opacity between 0 and 100 every 0.2 seconds.
Moderator
B
113
S
41
G
20
Posts: 1,586
Reputation: 19,106

Post » Wed Jan 28, 2015 4:34 am

Excellent! Thank you @Linkman2004. I love this community, your solution is even more elegant! Bravo!
B
8
Posts: 28
Reputation: 756

Post » Wed Jan 28, 2015 6:02 am

Very clever method @Wolph. and @linkman2004 for simplifying it. I think i'll be using this in the near future
B
42
S
17
G
2
Posts: 850
Reputation: 6,209


Return to How do I....?

Who is online

Users browsing this forum: ksiads, marcinkowski, Xh3maa and 2 guests