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
61
S
19
G
6
Posts: 809
Reputation: 9,028

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,498

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
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

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,498

Previous

Return to How do I....?

Who is online

Users browsing this forum: BipolarMike, Televangelist, totoe and 21 guests