How do I repeat my background?

Get help using Construct 2

Post » Sun Jun 28, 2015 11:43 am

while preventing to be white background itself?
B
6
Posts: 16
Reputation: 290

Post » Sun Jun 28, 2015 11:46 am

I'm sorry, but I don't understand the question..
Could you try explaining what you want in a better way?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun Jun 28, 2015 6:41 pm

when my background scroll down, it becomes white background after my whole background and then back to 0 y-coordinate and repeat its process while I want a repeating my own background to scroll down.
B
6
Posts: 16
Reputation: 290

Post » Sun Jun 28, 2015 7:42 pm

B
55
S
24
G
13
Posts: 767
Reputation: 12,575

Post » Sun Jun 28, 2015 7:44 pm

If I'm not mistaken, it sounds like you want the background to be continuous as you scroll downward. If this is the case then I'd start by making sure that the background image/sprite has the same height as the layout.

If this is not what you want, please give us some more details. If possible, some screenshots of the layout would be nice too.
B
5
S
1
Posts: 6
Reputation: 294

Post » Sun Jun 28, 2015 8:55 pm

Try these steps:
1. Put your background picture in as tiled background, not sprite.
2. Change it's origin point to 0,0 and then move it to position 0,0.
3. Resize it so that it's y(if you want height) is twice the size of your layout.
4. Add a bullet behavior to it.(speed= whatever you want, acceleration=0, gravity=0, bounce of solids=no, set angle=no, initial state=enabled)
5. Add event: on start of layout>tiled background-set bullet angle of motion to xx degrees(90 degrees if you want it to go down or 270 if you want it to go up)
6. Add another event: tiled background- y is less or equal to Self.Height / 2 action: tiled backround set y to Self.Y + Self.Height / 2
B
21
S
11
G
6
Posts: 414
Reputation: 5,335

Post » Sun Jun 28, 2015 8:58 pm

that's I use with my layout but white background still showed up vikings. anyways, thanks guys,. I will try later the millet's reco.
B
6
Posts: 16
Reputation: 290


Return to How do I....?

Who is online

Users browsing this forum: dand, mageekm, oosyrag and 20 guests