How do I loop a scrolling background

Just started using Construct 2? Post your questions here

Post » Fri Oct 31, 2014 10:59 am

I have followed this tutorial: Top-Down Scrolling Background(from scrirra tutorials)

Besides using his set Y to sprite Background, is there any other ways to do continuous scrolling background??
B
7
S
1
Posts: 11
Reputation: 397

Post » Fri Oct 31, 2014 3:39 pm

It depends on what you're trying to do. The most flexibile way I feel is to use a tiled background and use modulus to keep it wrapping. You still have to use 'Set Y', but I don't know if you can avoid that. Here's an example that wraps on all 4 sides with two events. You can replace the tiled background with any image of any size and it'll still work with the same events. Hope this helps.
You do not have the required permissions to view the files attached to this post.
Image
B
10
S
3
G
2
Posts: 196
Reputation: 2,053

Post » Tue Dec 02, 2014 12:29 am

best, thanks
B
17
S
1
Posts: 89
Reputation: 1,259



Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests