Blocks like Super Mario

Get help using Construct 2

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
71
S
22
G
7
Posts: 827
Reputation: 10,177

Post » Fri Nov 11, 2011 1:48 pm

Yes Vtrix :)

Thats the way ;)

I just had to add 100 px to player.y so when he jumps he can stay on top, otherwise, as soon he jumped a single pixel he would be stuck inside a solid block.

Thanks man.

@Kyatric
do you want a Capx to add this question to the "how do i?" FAQ's?
B
18
S
4
G
5
Posts: 149
Reputation: 4,503

Post » Fri Nov 11, 2011 2:59 pm

Sure, it can always be helpful to others.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
296
S
119
G
96
Posts: 7,329
Reputation: 71,300

Post » Fri Nov 11, 2011 3:09 pm

Here it is.
http://dl.dropbox.com/u/1056957/N%C3%A3o%20apagar/block.capx

Inside I inserted a comment explaning the effect and things to considered. It's in a noob language, but it's all I can do for now LOL
B
18
S
4
G
5
Posts: 149
Reputation: 4,503

Previous

Return to How do I....?

Who is online

Users browsing this forum: dop2000, kurtbal and 8 guests