How do I do a Infinite Scrolling

Get help using Construct 2

Post » Fri Nov 21, 2014 12:30 am

Guys
i am stuck on infinite scrolling my background.

i have tried the exemples that Construct 2 has, but it is glitchy to me, it is not infinite scrolling, it is bugged.

my BG have 1366x768

The BG on Exemple is: 1260x360

I don't know what i have to change on the formula on exemple to fit my BG Size..
B
9
S
2
G
1
Posts: 92
Reputation: 826

Post » Fri Nov 21, 2014 4:48 am

Hi @Vanz

I have attached a CAPX file,

Please note:
I made a 'Tiled Background' object, with 'Bullet' behavior. I set the BG width to 2.5 times the actual width,

Please have a look at the CAPX file and let me know if anything is unclear
You do not have the required permissions to view the files attached to this post.
B
30
S
4
G
3
Posts: 67
Reputation: 2,329

Post » Sat Nov 22, 2014 3:22 pm

Hi @refais23

I have done exactly that was on capx file, but my image seems to be reseting and returning to the first point side..
B
9
S
2
G
1
Posts: 92
Reputation: 826

Post » Sat Nov 22, 2014 3:28 pm

Hi @Vanz are you able to resize your image to the same dimensions to see if the problem persists?
Image
B
9
S
3
G
1
Posts: 346
Reputation: 1,560

Post » Sat Nov 22, 2014 3:30 pm

Yes. have tried with 2000 width and the variable 800.

and with 1366 and the variable 546,4 or 400 or 800..

tried a bunch of things, dont work :/
B
9
S
2
G
1
Posts: 92
Reputation: 826

Post » Sat Nov 22, 2014 4:26 pm

Another thing.

Using tiled background, i noticed when exporting with CocoonJS and executing in my iPhone, it have black lines in the point that the BG ends.

anyone knows how to solve that too? :/

http://imgur.com/c7NDmtv
B
9
S
2
G
1
Posts: 92
Reputation: 826

Post » Sat Nov 22, 2014 5:37 pm

Have just replaced the tiled bg on the Autorunner example and it has the same bug, it seems the image dont really scroll(is scrolling normally) to the left, just reset at initial state.

:////
B
9
S
2
G
1
Posts: 92
Reputation: 826

Post » Sun Nov 23, 2014 12:01 pm

Search for the side scrolling example in the example projects. copy, past and test in your project.
My game Petrolhead Tactics is now on Steam Greenlight. I could not have done this without C2 ? Please rate, if you like!

Steam client already open: petrolheadtactics.com/steam
Web: petrolheadtactics.com/greenlight
B
20
S
4
G
4
Posts: 132
Reputation: 4,130

Post » Sun Nov 23, 2014 6:57 pm

Monumental wrote:Search for the side scrolling example in the example projects. copy, past and test in your project.


Hi,

i have tested both AutoRunner and Flying along exemples, none helped me DDDD:
B
9
S
2
G
1
Posts: 92
Reputation: 826

Post » Sun Nov 23, 2014 9:13 pm

have you tried change the sampling, down scaling or perhaps layer force own texture?
My game Petrolhead Tactics is now on Steam Greenlight. I could not have done this without C2 ? Please rate, if you like!

Steam client already open: petrolheadtactics.com/steam
Web: petrolheadtactics.com/greenlight
B
20
S
4
G
4
Posts: 132
Reputation: 4,130

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 3 guests