Seperate parallax backgrounds

Get help using Construct 2

Post » Mon Nov 18, 2013 3:30 pm

How do I make my backgrounds to have infinite parallax scrolling, now I know how to have backgrounds on multiple layer with parallax effect but let's say my maps are 10000x10000 format and the game window size is 1024x768 how must I put make it so that each tiled background has infinite width? it runs out of width replacing it with transparency when I move too far to the right causing the tiled background to run out, must I give the background tiles 1000000 width (basically infinite width) or is that a wrong method to give infinite size?

Thanks in advance.
B
3
Posts: 3
Reputation: 181

Post » Mon Nov 18, 2013 3:34 pm

Check out the endless runner template that comes with Construct 2. For that they didn't use tiled backgrounds, but instead just added a new one on the right when needed, and removed any that went offscreen to the left.

If you want to use a tiled background, you could just set the origin to the left and change the width dynamically.
Moderator
B
72
S
14
G
11
Posts: 900
Reputation: 11,940

Post » Mon Nov 18, 2013 3:35 pm

Thanks thehen, I'l do that.

That didn't exactly work, Here's my .capx file to show you what I want to do and what's happening wrong (keep in mind this is only a beta version of my game it's just to show you what I need to do)

http://www.sendspace.com/file/arqjcaNigel2013-11-18 16:35:24
B
3
Posts: 3
Reputation: 181

Post » Tue Nov 19, 2013 7:05 am

Woah, this thread is already in 3rd page :/ I still need help with multiple parallax layers guys, I provided my .capx file in my last post so you could help me out on it.Nigel2013-11-19 07:06:25
B
3
Posts: 3
Reputation: 181


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 25 guests