How do I make background solid?

Get help using Construct 2

Post » Sun Aug 30, 2015 2:09 pm

hello to all

i did a background tunnel 12000px, in the midle is nothing its the place where the player can fly, the background is done in one piece, but how to tell to the sprite when he collide then he die because actually its not working
Image
http://s23.postimg.org/84fmp87ft/tunel.jpg
B
35
S
13
G
6
Posts: 1,645
Reputation: 8,792

Post » Sun Aug 30, 2015 2:34 pm

@imothep85 you could use smaller invisible sprites at different parts of the tunnel and check those for collisions or to give the player the ability to fly...
B
94
S
33
G
20
Posts: 438
Reputation: 17,615

Post » Sun Aug 30, 2015 2:48 pm

Firstly, that's just not how you would make a level. At the very least you need to split it into smaller chunks and combine them. A 12,000 pixel background is going to cause you all kinds of problems on many devices and later in development. You could then use collision polygons and the solid behavior on each section. Otherwise, invisible sprites with the solid behavior overlapped over the background.
B
103
S
38
G
19
Posts: 962
Reputation: 17,986


Return to How do I....?

Who is online

Users browsing this forum: mikehive, Yahoo [Bot] and 9 guests