How do I fix the infinite scrolling background problem?

Get help using Construct 2

Post » Sat Mar 01, 2014 12:07 pm

Her everyone.

I started making another game with construct. Right from the start I encountered a problem. I can't seem to make my background scroll indefinitely. I tried adapting the actions from the infinite runner template but alas, to no success. I'm attaching my .capx, maybe some of you good folks will have a solution for my problem. Basically I need my background to scroll infinitely so that my character can be falling down forever, as long as it doesn't collide with other objects (to be added later).

Thanks

https://www.dropbox.com/s/rq9kmp9ypp4x8cj/test.capx
B
10
S
1
Posts: 51
Reputation: 674

Post » Sat Mar 01, 2014 12:30 pm

You are dealing with x on the infinite runner template.Here, you should deal with y.
Note that the background height should be 2X the original image,So that it works correctly.Think for yourself.
Also no need of bullet behavior for the player.

https://dl.dropboxusercontent.com/u/260 ... inggg.capx
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Sat Mar 01, 2014 12:31 pm

What's the need of such a large background image?It made the game 1.5mb larger ;)
I will not let you reach the sisters
Nature Forums
B
11
S
5
G
2
Posts: 496
Reputation: 2,306

Post » Sat Mar 01, 2014 12:41 pm

YAIKES!

Thank you. I feel like an idiot for not changing the x to an y axis. The funny thing is that I thought that that was the first thing I did, and that it didn't work. Thank you for your help.

Also thanks for the suggestion on background size. Will change it for sure
B
10
S
1
Posts: 51
Reputation: 674


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 9 guests