[Resolved]"set animation" When Player pinned to sprite

Get help using Construct 2

Post » Tue Jun 28, 2016 12:21 am

Image

I am trying to solve the bug with my platformer that when he's moving it bobs up and down. So I have found this tutorial and set it up to look like this. It works great, but I want to add a duck animation but I'm assuming I'm either doing it wrong or missing something obvious. If someone could point me in the right direction that would be great!

To the best of my very limited knowledge, I think the BMPlayer Platform commands are overwriting the keyboard command for Brother Monkey to set a different animation.
I've tried several variations and google but can't seem to figure this one out.

I have a basic understanding of Construct2.

Thanks in advance!
Last edited by Emiloly on Tue Jun 28, 2016 11:50 am, edited 1 time in total.
B
8
S
1
Posts: 4
Reputation: 406

Post » Tue Jun 28, 2016 6:01 am

Its your platform speed =0 that overriding the animation. Can you redo it like this keyboard is pressed then move animation rather then platform speed. I have no idea why would anyone use the platform speed = 0 trick that would hinder your ability to expand animation and fluid-like games.

https://www.scirra.com/tutorials/828/ad ... ies/page-3

Check his code out that what im talking about.
B
51
S
24
G
6
Posts: 391
Reputation: 7,820

Post » Tue Jun 28, 2016 8:57 am

Thank you!!!!
B
8
S
1
Posts: 4
Reputation: 406

Post » Tue Jun 28, 2016 11:54 am

Image

YAY I figured it out! With some reading, and some backtracking. I was setting conflicting instructions!
B
8
S
1
Posts: 4
Reputation: 406


Return to How do I....?

Who is online

Users browsing this forum: Clark Thy Lord and 1 guest