Character is rotating while jumping

Discussion and feedback on Construct 2

Post » Sun May 26, 2013 10:30 am

Hello everyone,

I'm still a newbie here,

while I'm following a tutorial on "Building a platform game - a beginner's guide"
I'm able to make a character running, jumping, landing but while my character is jumping
he also rotating and landing with the same angle that he fall.

how can I fix this?

Thank you very much!!

B
4
Posts: 7
Reputation: 214

Post » Mon May 27, 2013 9:47 pm

Seeing your code or capx file would helps us help you :)
B
94
S
29
G
11
Posts: 1,545
Reputation: 20,993

Post » Mon May 27, 2013 10:18 pm

I had a similar problem.

Solved it by making all the platforming commands work on an invisible square sprite, and then pinning the actual player sprite (position only) to that square. Then don't issue any angle-changing commands to the square, and only rotate the player sprite when you need to.
B
5
Posts: 85
Reputation: 395

Post » Tue May 28, 2013 5:21 pm

Thank you for replied! I'll try that :D
B
4
Posts: 7
Reputation: 214

Post » Tue May 28, 2013 5:22 pm

Here's the script I followed so far ...



Thank you, again!!
B
4
Posts: 7
Reputation: 214


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests