Make a Infinite Jumper

Get help using Construct 2

Post » Wed Jun 17, 2015 3:32 pm

Hi, I´m trying to make a infinite jumper using the example template, but i don´t know why, when you jump a few times, the player collide with a invisible barrier. Here is my capx https://www.dropbox.com/s/ifjtt295e9553e1/Endless%20Jumper.capx?dl=0

Thanks for your help
Image
B
38
S
10
G
2
Posts: 66
Reputation: 2,823

Post » Wed Jun 17, 2015 4:02 pm

You've got Bound-to-layout turned on. It's hitting the top of the layout and stopping. Place a new sprite at the top of the layout and you'll see what I mean. Get rid of BTL.
ImageImageImage
B
71
S
22
G
249
Posts: 3,763
Reputation: 138,577

Post » Wed Jun 17, 2015 4:29 pm

blackhornet wrote:You've got Bound-to-layout turned on. It's hitting the top of the layout and stopping. Place a new sprite at the top of the layout and you'll see what I mean. Get rid of BTL.


Oh, i saw it! Thanks so much, how can i make a lateral bound to layout but not in the top?
Image
B
38
S
10
G
2
Posts: 66
Reputation: 2,823

Post » Thu Jun 18, 2015 2:03 am

Simple,
1- In Windows: Make an image of 1 pixel in Paint;
2- In any program/web service that can do this: Apply transparency to this referred image (You can use the program Gif Movie Gear or the web server Zamba, as my suggestion);
3- In Construct 2: Insert an "Tiled Background"; load your transparent image for this tiled background, resize your "Tiled Background" and paste in laterals; attach the "Solid" behavior to this tiled background.

Note: The ball will need to have the "Solid" behavior, too. Good luck :D
Liked something I say?
Tip. My Bitcoin address: 1PLaeKmXQ8vEdGGJqXMq3KyB8hxeddxeSv
B
26
S
8
G
4
Posts: 336
Reputation: 4,050

Post » Thu Jun 18, 2015 4:11 am

It's just a variation on the original's wrap code, only you don't wrap. I've altered the template:
www.blackhornettechnologies.com/Constru ... uncer.capx
ImageImageImage
B
71
S
22
G
249
Posts: 3,763
Reputation: 138,577

Post » Thu Jun 18, 2015 5:02 am

If you're following my tips, don't forget to create an layer with name "UI" (or from your preferrence) and set his paralax to "0,0", and move the Tiled Background to this referred layer. Or if you prefer, you can only add the "Scroll To" behavior on these Tiled Backgrounds.
Liked something I say?
Tip. My Bitcoin address: 1PLaeKmXQ8vEdGGJqXMq3KyB8hxeddxeSv
B
26
S
8
G
4
Posts: 336
Reputation: 4,050

Post » Thu Jun 18, 2015 2:10 pm

Thanks so much for your replies, are very helpful.
Image
B
38
S
10
G
2
Posts: 66
Reputation: 2,823

Post » Fri Jun 19, 2015 1:59 am

@baks Np ^^ You can use "@" to mention people here.
Liked something I say?
Tip. My Bitcoin address: 1PLaeKmXQ8vEdGGJqXMq3KyB8hxeddxeSv
B
26
S
8
G
4
Posts: 336
Reputation: 4,050


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 28 guests