Gap in the loop

Just started using Construct 2? Post your questions here

Post » Fri Feb 28, 2014 7:33 am

Hello Everyone! I'm making a racing game and I can't seem to get the road to close the gap in the loop. Does anyone have any ideas on how to close the gap? Attached is the capx.

Thanks!
dropbox.com/s/81ocart6432gt0t/race%20game.capx
B
5
Posts: 3
Reputation: 273

Post » Fri Feb 28, 2014 8:42 am

Here try this mate
You do not have the required permissions to view the files attached to this post.
B
9
S
2
Posts: 26
Reputation: 586

Post » Fri Feb 28, 2014 8:50 am

Just noticed after a while it forms a gap.. :)

To fix, just adjust the heights of the road sprite and overlap the ends at the top of your layout just a bit, if you don't like the dark grey overlaps on the side of the road then you'll probably need to make the grey parts of your road solid not semi transparent
B
9
S
2
Posts: 26
Reputation: 586

Post » Fri Feb 28, 2014 3:37 pm

Thanks Ometheu! This works out great!
B
5
Posts: 3
Reputation: 273

Post » Fri Feb 28, 2014 4:51 pm

Unfortunately I still can't get rid of the gap, it's a lot smaller but it still won't close, any thoughts? Here's the updated capx.

Thanks Again!

dropbox.com/s/81ocart6432gt0t/race%20game.capx
B
5
Posts: 3
Reputation: 273

Post » Fri Feb 28, 2014 7:16 pm

Instead of using the warp behavior do an event like this:
Bkgd_road: Y>480
--- Bkgd_road: move 480*2 pixels at angle 270
B
92
S
32
G
107
Posts: 5,280
Reputation: 69,971

Post » Fri Feb 28, 2014 10:48 pm

ahh that's much better!
B
9
S
2
Posts: 26
Reputation: 586


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests