How do I fill empty space of a background...

Just started using Construct 2? Post your questions here

Post » Mon Sep 15, 2014 2:19 pm

Hi guys, I understand that making tnhe tiled backgrounds or platforms is an art.
If I make a street from side trough many long squares that are also rotated in order to create a road with hills from the side, how can Imake in the way that my "stone" sprite image is filling correctly the shapes of my hills on not only a strigth road ...do u understand what I mean ?? Or is it just a lot of work to place many sprites in order to "hide" the boxes that are the collision pbjects for my side car game ???

thanks :)
B
37
S
16
G
2
Posts: 451
Reputation: 4,873

Post » Mon Sep 15, 2014 2:21 pm

You'd have to make both straight road sprites and curved road sprites to get the best effect, then manually place them. You can't tile a background with curvature with the native functions as far as I'm aware since you can't change the actual 2D geometry of an object. To stop layer interference you can put the grass (or whatever) tiled background on the bottom-most layer, then make a layer above called Roads, and put them there. Then make a layer above the Roads called Objects, and then you'll always have the Player and other objects above the road.
Founder of Jadelight Studio, Developer of Libertas Aedifex, regular C2 Help contributor and fan of ambient music and Star Wars.
B
12
S
4
Posts: 255
Reputation: 2,008

Post » Mon Sep 15, 2014 3:03 pm

hi thanks... I was afraid that i had to do it like taht ... but thanks :)
B
37
S
16
G
2
Posts: 451
Reputation: 4,873

Post » Mon Sep 15, 2014 3:08 pm

No problem, sorry I couldn't assist further.
Founder of Jadelight Studio, Developer of Libertas Aedifex, regular C2 Help contributor and fan of ambient music and Star Wars.
B
12
S
4
Posts: 255
Reputation: 2,008

Post » Thu Mar 31, 2016 10:16 pm

Sorry to necro this thread but I'm looking at a similar issue. Wouldn't it be possible to do this with blend effects? I'm just trying to figure out which effects to use. I have 3 parts of the object: Background, filler, and foreground. Essentially I want only the filler part inside of the foreground to appear, shouldn't this be possible using destination in or something? http://puu.sh/o1fWB/b23dcf61dc.png
B
72
S
24
G
11
Posts: 452
Reputation: 12,385

Post » Sat Apr 02, 2016 2:05 am

Bump
B
72
S
24
G
11
Posts: 452
Reputation: 12,385


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 2 guests