Player Movement Control issue

Discussion and feedback on Construct 2

Post » Sat Sep 03, 2016 5:57 am

Message: qaisarehman can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
Hi Guys!

I am very new to construct 2! I am facing a weird issue! I created a player movement by following a tutorial.
the issue im facing is when I press the left Arrow when im standing next to left wall! my screen start shaking! its like im force my player to go left and he cant!! but when i press right Arrow when im next to right wall! this dont happen! which is perfect! the code for both control are the same!!

please if some one how can I fix the left control, I will very thank full!

here is the code screen shot!

https://drive.google.com/open?id = 0B4tU9OQ9BvVUMHJYajFWTGM3SjQ
B
22
S
6
G
1
Posts: 11
Reputation: 1,772

Post » Tue Sep 06, 2016 8:21 am

can you elaborate the Animation Event group and send a screenshot of it ..
B
9
S
4
G
1
Posts: 89
Reputation: 1,498

Post » Thu Sep 08, 2016 5:35 am

Message: qaisarehman can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
prashant3999 wrote:can you elaborate the Animation Event group and send a screenshot of it ..


hi thanks for the reply! here is the screen short of the full group. I also notice that on the right side the screen shake is very minor! but if player collide with left wall the screen shake is more strong!!

https://drive.google.com/open?id = 0B4tU9OQ9BvVUN2tIYlFsaDlmM3c

is it something to do with the player collision shape?

thanks
B
22
S
6
G
1
Posts: 11
Reputation: 1,772

Post » Thu Sep 08, 2016 7:08 am

qaisarehman wrote:is it something to do with the player collision shape?
thanks

Sounds like it. Can you share your capx? Or a simplified version of it?
B
135
S
33
G
17
Posts: 1,557
Reputation: 20,717

Post » Thu Sep 08, 2016 1:10 pm

I fixed it guys! it was the collision shape! my idle and walk animation had different size of collision shapes! it was causing the problem! now its fixed :) thanks
B
22
S
6
G
1
Posts: 11
Reputation: 1,772


Return to Construct 2 General

Who is online

Users browsing this forum: Euduardo and 16 guests