How do I solve a problem with tiled backgrounds

Get help using Construct 2

Post » Mon May 04, 2015 9:49 am

Hi everybody, I have a new rare problem I think its easy to solve. I'm doing two runner games with parallax tiled background:

http://therealgeekgirl.com/torrijos/

http://therealgeekgirl.com/felipe/

The problem comes when I export the proyects to Android and appears several lines like 1px black higth in the tiled background (some times at top and other times at bottom of the tile) if you play in a tablet, also the lines can appear in some monitors/resolutions.

Any solutions?
B
22
S
3
Posts: 78
Reputation: 1,139

Post » Tue May 05, 2015 12:23 am

I didn't see any black line when playing the game.
Try to set the tiledbackground Y size in minus: e.g ( -20)
This will solve the black line problem.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,165

Post » Tue May 05, 2015 11:20 am

A0Nasser wrote:I didn't see any black line when playing the game.
Try to set the tiledbackground Y size in minus: e.g ( -20)
This will solve the black line problem.


Sorry, I can't understand your comment, are you saying I need invert the Y axis of the tiled background?

That is the line like I can see in a 22" android tablet:
http://therealgeekgirl.com/img/blackline.jpg
And this is the 256x256 tiledbackground:
http://therealgeekgirl.com/img/parallaxline.png

Can you say me what property I need to change in the panel of the tiled background?

Thanks
B
22
S
3
Posts: 78
Reputation: 1,139

Post » Wed May 06, 2015 12:26 am

I mean set the height size of your image to minus, then rotate it and reposition it.
This will remove of the black line.
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,165

Post » Wed May 06, 2015 4:47 am

look at runner capx you will find answers
B
60
S
22
G
12
Posts: 209
Reputation: 10,074

Post » Fri May 08, 2015 8:42 am

A0Nasser wrote:I mean set the height size of your image to minus, then rotate it and reposition it.
This will remove of the black line.

You was right!

Thanks a lot.
B
22
S
3
Posts: 78
Reputation: 1,139

Post » Sun Nov 08, 2015 6:43 pm

May I ask for help? @Odin @A0Nasser How did you manage to fix it? I dont quite understand. I tried changing sizes of tiled background to minus. It didnt help.
B
11
S
2
Posts: 42
Reputation: 711


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 25 guests