[Movement] Block the path of player

Get help using Construct 2

Post » Tue Jul 23, 2013 8:52 am

Hi,
i will use sprites to block the path of player. The player can move all the cells, but they must stop before sprites (the red blocks in example). Can anyone help me to fix the problem? Thank you for answers!

Here is the *.capx file:
https://www.dropbox.com/s/s5f3na3ao6mf655/MapBlocker_Test.capx

Best regards,
wossiwossi2013-07-23 10:09:48
B
7
S
2
Posts: 84
Reputation: 754

Post » Tue Jul 23, 2013 1:25 pm

This is one way to do it:

improved *.capx
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Tue Jul 23, 2013 1:45 pm

Thank you for your help. It's a good solution and its work for me! :)
B
7
S
2
Posts: 84
Reputation: 754

Post » Tue Jul 23, 2013 5:25 pm

...i'm very confused. I would rebuild your *.capx file but it dosen't work. The player stops one cell before the blocker?!

Here is the link to unfinished rebuild:
https://www.dropbox.com/s/5x689hf7h8x7ppd/mapblocker-rebuild.capx
B
7
S
2
Posts: 84
Reputation: 754

Post » Tue Jul 23, 2013 5:27 pm

The problem is the colission-polygon of your blocks. Make them a bit smaller and it will work..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Tue Jul 23, 2013 7:20 pm

Ahhh, ok... now it's work. Thank you very much. But i have a second question. It is possible to make a smoother transition? Actually jumps the player from cell to cell. Can you help me again my friend?! :[
Thanks a lot!

Best regards,
wossiwossi2013-07-23 19:21:31
B
7
S
2
Posts: 84
Reputation: 754


Return to How do I....?

Who is online

Users browsing this forum: angryvel760, chrislechat, eryson27, ismael123 and 3 guests