Blocks like Super Mario

Get help using Construct 2

Post » Fri Nov 11, 2011 10:55 am

Hows possible to do a block like Super Mario, which you can pass through, but at the same time, if you jump to its top, youll stay there.

Like this green, pink and white blocks on this Super Mario 3 Video

He can pass trough, but also can stay on its top.

The most important, is that he can jump when hes inside the block to its top.

Thanks :)
AngeloFernandes2011-11-11 10:56:44
B
18
S
4
G
5
Posts: 149
Reputation: 4,498

Post » Fri Nov 11, 2011 12:06 pm

How do I FAQ

[quote]Jumping into and destroying blocks - LINK[/quote]
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Fri Nov 11, 2011 12:12 pm

sorry, but where exactly? I've searched the FAQ. I saw some Mario related questions, but none like this.
B
18
S
4
G
5
Posts: 149
Reputation: 4,498

Post » Fri Nov 11, 2011 12:13 pm

In the "Platformer behavior" next to the bottom of the list.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Fri Nov 11, 2011 12:21 pm

Sorry to insist, but the link you're referring is to Platformer standing on, picking, pushing and throwing physic objects around.

This question Ive got isnt solved in there.

All I want is that the player can pass through a block and if he stays inside it and jumps he can be on top of it.


B
18
S
4
G
5
Posts: 149
Reputation: 4,498

Post » Fri Nov 11, 2011 1:02 pm

@AngeloFernandes

[QUOTE=AngeloFernandes] Sorry to insist....
[/QUOTE]


'Insist' is a very strong word. No-one here (other than Tom and Ash) are affiliated with Scirra. We are all just users of the program and help out people if we can. Insisting is not very nice :(zenox982011-11-11 13:04:00
If your vision so exceeds your ability, then look to something closer.
Moderator
B
120
S
28
G
68
Posts: 4,842
Reputation: 48,285

Post » Fri Nov 11, 2011 1:06 pm

I know that @Zenox98. I said I'm sorry, if I wasnt I wouldnt have said it =)

And I know no one has responsibility over others, especially when helping others, like Kyatric does so often and well. He has solved millions of my problems and for that Im really thankful to him.

Im just in a deep end and if I cant solve this specific problem I cant move on because its capital for my level design.

I didnt mean to be rude or pushing the envelope for no one, especially someone who has been so much helpful :)AngeloFernandes2011-11-11 13:07:49
B
18
S
4
G
5
Posts: 149
Reputation: 4,498

Post » Fri Nov 11, 2011 1:26 pm

Starting from this post, the method described by SullytheStrange is the one to use.
Except in your case, the top detector won't have the finality to destroy the block, just allowing the player to go through it to stand on its top (the standing on is what you needed, right ?).

It's not a "step by step" explanation to answer specificaly your question, but at some point you have to "go over" the examples and understand and adapt them to your needs.Kyatric2011-11-11 13:26:26
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Fri Nov 11, 2011 1:33 pm

Thanks Kyatric. I'm really trying to adapt and to rewrite stuff I see on the forums to get independent with time, but sometimes it's quite difficult.
I'm hoping that in time I'll kick ass, but in meantime I still have all this doubts. Im still a noob.
On a related subject and just to be clear, I wasnt trying to be rude or whatever :)
Thanks a million, youre a true savior :)
B
18
S
4
G
5
Posts: 149
Reputation: 4,498

Post » Fri Nov 11, 2011 1:36 pm

i think this will help you on your quest..

for each platform (consisting of all the blocks that need this behavior)
if platform.y > player.y set platform solid behavior to not solid

then you can jump tru the platform, it will need more actions to hold player at the platform and when jump go over it, but i hope this helps you
ImageImage
B
61
S
19
G
6
Posts: 809
Reputation: 9,028

Next

Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], benajad, Braus, R0J0hound and 25 guests