How do I make a platform movement (like Super Mario World)?

Get help using Construct 2

Post » Tue Oct 21, 2014 2:06 am

Hi guys

I'm developing a platform game and I have the following question:

I'm pretty sure all of you know Super Mario World. Well, do you remember these worlds?

Roy's Castle
Image

Larry's Castle
Image

Vanilla Dome 3
Image

Video
http://youtu.be/h7i0tTS1Qv4?t=1m

I would like to have platforms with that kind of movement but I'm not able to do it

This is what I have
Image

As you can see there is a little space between the blocks
The project is attached, any advice?

Thank you!
You do not have the required permissions to view the files attached to this post.
Last edited by Iolva on Mon Jan 04, 2016 2:41 am, edited 3 times in total.
B
86
S
25
G
11
Posts: 652
Reputation: 11,047

Post » Tue Oct 21, 2014 3:55 pm

Hello @Iolva ,

This is a tough cookie for my programing level. I am sure that there is a clever way to achieve the same result. However, here is a layman's way to do it. It has some flaws but in general it works. Perhaps you can improve it ;)
You do not have the required permissions to view the files attached to this post.
composer - multimedia artist
www.eli0s.com/en/
B
69
S
26
G
5
Posts: 1,146
Reputation: 9,829

Post » Tue Oct 21, 2014 4:03 pm

Wow. I'm checking it right now!
B
86
S
25
G
11
Posts: 652
Reputation: 11,047

Post » Tue Oct 21, 2014 5:03 pm

I don't have C2 around to double check, but have you tried using the pin behavior to pin the platforms together in sequence using the bar type pin (to keep all the platforms the same distance from eachother), then just move the lead platform?
That should work for the skull boat type movement. The way the blocks appear in the first two examples would take a bit more work.
When I get home from work I'll try to come up with something, if you haven't figured it out by then. :)
Be sure to check out my Metroidvania game, A Hole in the Earth
B
59
S
24
G
3
Posts: 359
Reputation: 5,683

Post » Tue Oct 21, 2014 9:55 pm

I realized that the third level (the one with the sculls) has a different kind of platform. Here is a capx tackling that. As ryanrybot suggested, this one uses the "Pin" behavior set to rope style to do the trick.
You do not have the required permissions to view the files attached to this post.
Last edited by eli0s on Sun Jan 03, 2016 11:59 am, edited 1 time in total.
composer - multimedia artist
www.eli0s.com/en/
B
69
S
26
G
5
Posts: 1,146
Reputation: 9,829

Post » Tue Oct 21, 2014 10:03 pm

Here is one example using rexrainbows moveto behavior. https://www.scirra.com/forum/behavior-moveto_t63156

Edit:Small improvement and character
You do not have the required permissions to view the files attached to this post.
B
34
S
9
G
3
Posts: 517
Reputation: 5,226

Post » Sun Jan 03, 2016 10:54 am

eli0s wrote:I realized that the third level (the one with the sculls) has a different kind of platform. Here is a capx tacking that. As ryanrybot suggested, this one uses the "Pin" behavior set to rope style to do the trick.


Thanks, man! You rules!!! :D
B
6
S
2
Posts: 10
Reputation: 862

Post » Sun Jan 03, 2016 3:17 pm

@rigar , you are welcome! :)
composer - multimedia artist
www.eli0s.com/en/
B
69
S
26
G
5
Posts: 1,146
Reputation: 9,829


Return to How do I....?

Who is online

Users browsing this forum: Laura_D, plinkie and 21 guests