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
36
S
9
G
2
Posts: 61
Reputation: 2,659

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
21
G
221
Posts: 3,649
Reputation: 124,227

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
36
S
9
G
2
Posts: 61
Reputation: 2,659

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
My Bitcoin address: 1NG9VKTZzA3patBrWySA4qRWcuKyYkhtfc
B
23
S
7
G
4
Posts: 320
Reputation: 3,839

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
21
G
221
Posts: 3,649
Reputation: 124,227

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.
My Bitcoin address: 1NG9VKTZzA3patBrWySA4qRWcuKyYkhtfc
B
23
S
7
G
4
Posts: 320
Reputation: 3,839

Post » Thu Jun 18, 2015 2:10 pm

Thanks so much for your replies, are very helpful.
Image
B
36
S
9
G
2
Posts: 61
Reputation: 2,659

Post » Fri Jun 19, 2015 1:59 am

@baks Np ^^ You can use "@" to mention people here.
My Bitcoin address: 1NG9VKTZzA3patBrWySA4qRWcuKyYkhtfc
B
23
S
7
G
4
Posts: 320
Reputation: 3,839


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests