Immovable sprite moving another immovable sprite

Get help using Construct 2

Post » Mon Jun 03, 2013 10:44 am

Hi,

I'm having trouble with a sprite, which is both player controlled and AI with no X movement, only Y. When it collides with an immovable solid wall. It stars to move towards X position. I've tried with some collision actions against each other with no results.

Please enlighten me.

Here's the script:



Project demo:

https://dl.dropboxusercontent.com/u/62131673/Zumo/index.html

Project file:

https://dl.dropboxusercontent.com/u/62131673/Zumo/zumo%20construct.ziplonrot2013-06-03 10:45:26
B
4
S
1
G
1
Posts: 53
Reputation: 858

Post » Mon Jun 03, 2013 11:12 am

[QUOTE=Sollaano] @lonrot

I fixed your problem with changing the shape of collision polygon. Download the fixed version from here.[/QUOTE]


Thank you Sollano, for some reason the left player still moves to the right if you keep pressed the UP key.
B
4
S
1
G
1
Posts: 53
Reputation: 858

Post » Mon Jun 03, 2013 11:14 am

@lonrot

I'm fixing it right now
B
16
S
5
G
4
Posts: 74
Reputation: 3,301

Post » Mon Jun 03, 2013 11:25 am

@lonrot

Now it should work. I removed walls and used bound to layout instead. Download from here.Sollaano2013-06-03 11:34:17
B
16
S
5
G
4
Posts: 74
Reputation: 3,301

Post » Mon Jun 03, 2013 6:35 pm

[QUOTE=Sollaano] @lonrot

Now it should work. I removed walls and used bound to layout instead. Download from here.[/QUOTE]

Thank you! I will keep using BoundtoLayout, it's very useful.
B
4
S
1
G
1
Posts: 53
Reputation: 858


Return to How do I....?

Who is online

Users browsing this forum: ankas, Baidu [Spider], iBarin, whitephon, WhosWho and 17 guests