How do I maintain a infinite scrolling background

Get help using Construct 2

Post » Mon Oct 03, 2016 3:40 pm

Hi everyone,
I have been having trouble with my game. The main objective of this game is to fly as far as you possibly can. I've had this problem for a while now and I cannot seem to get the background functioning correctly. I've created a new construct 2 game that includes only the background scrolling and tilting. This is one of my earlier versions of the game and if anyone could go into it and find out why it seems to glitch out that would be great!

Thanks for you help, I really appreciate it!

[url][https://www.dropbox.com/s/u7q585udkh7cmfs/Jetpack%20Test.capx?dl=0]



All of these images have a copyright status since 2016.
B
4
Posts: 7
Reputation: 214

Post » Mon Oct 03, 2016 4:18 pm

First of all, some of your files are missing, C2 won't test for me...but...

Make your BG a little taller than your layout, say 32 pixels taller. Easier to turn on snap to grid.

Make a copy of that BG and paste it above your original. Making sure they both touch. Get the exact co-ordinates.

Backgroundfornow compare Y > greater/equal -32 > system create object > backgroundfornow (put the co-ordinates from the copy you made).

Also, delete your double post.
B
38
S
18
G
19
Posts: 664
Reputation: 14,112

Post » Mon Oct 03, 2016 6:37 pm

Thanks! Although I still had troubles. I created a new dropbox file this one where it isn't missing any files. Here is the link to that.

It seems to be really close to working although I can't seem to figure out the problem.

https://www.dropbox.com/s/4rlrqcfhuia16 ... .capx?dl=0

Thanks again
B
4
Posts: 7
Reputation: 214

Post » Tue Oct 04, 2016 12:20 am

@Jasonbrye


On C2 there is a template which does what you want just search for auto-runner template.
B
56
S
21
G
3
Posts: 602
Reputation: 6,612


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests