How do I "Tutorial platform Ashley"

Get help using Construct 2

Post » Wed Aug 06, 2014 3:56 pm

Hello im doing the Ashley tutorial of the platformer,when i add a 2d background found on the web instead of increase the size of it,the background is always duplicated..i post here a pic of the problem.
You do not have the required permissions to view the files attached to this post.
B
5
Posts: 5
Reputation: 251

Post » Wed Aug 06, 2014 6:11 pm

That's exactly how a Tiled Background is meant to look, dependent on original image (https://www.scirra.com/manual/118/tiled-background).

The Tiled Background object will repeat the original image to whatever dimensions you tell it to, so if your original image is only 200 by 200, then you will obviously see a repeating pattern for such a large Layout size.

The trick is to choose a background that doesn't have such an obvious repeatable pattern. I only ever use either a single colour or a gradient when using Tiled Background for a background.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Wed Aug 06, 2014 6:24 pm

There are plenty of ways to change this:

If you want one big background (stretched) then you open an image editor such as paint.net and stretch the image and save it manually. Alternately find a background with a higher resolution.

If you want a background that you can adjust the resolution of and have it stretch whenever, you have to use a sprite (or other similar plugin, such as a 9 patch). However note that this is less computationally efficient, and drawing to the screen is what takes up the most processor time.

If you want a background that fills the screen and never moves, then set the background's parallax to 0 and make sure the source image and tiled background object are both the same resolution as the screen.
B
11
S
3
G
1
Posts: 98
Reputation: 1,062

Post » Wed Aug 06, 2014 7:11 pm

Ok thanks
B
5
Posts: 5
Reputation: 251


Return to How do I....?

Who is online

Users browsing this forum: sublimate and 10 guests