issue with a sprite

Get help using Construct 2

Post » Sat Mar 16, 2013 3:56 am

hi, i am new in the forums and in construct 2, so i need help with the behavior of my cheff sprite, if u are below him the green box will try to focus u and the sprite will act like crazy, u can see it in the capx.

https://www.dropbox.com/s/54ilfgme8vbt1xz/cosa.capx

someone could help me to fix that?, please.
pd: sorry for my bad english
B
17
S
2
G
2
Posts: 82
Reputation: 1,712

Post » Sat Mar 16, 2013 7:36 am

btw i fix the problem in his animation cycle you just need to change the next platform speed to less then 0 to idle and where the System check special "true" add in the action set Global variable to idle.

As far as behavior I havent cracked it yet
B
7
S
2
G
3
Posts: 58
Reputation: 2,284

Post » Sat Mar 16, 2013 8:04 am

hey I saw how you did the jump guide just make a fall through guide one in placement according to Y axis This would solve it pretty much.
B
7
S
2
G
3
Posts: 58
Reputation: 2,284

Post » Sat Mar 16, 2013 8:09 am

[QUOTE=haifisch] hi, i am new in the forums and in construct 2, so i need help with the behavior of my cheff sprite, if u are below him the green box will try to focus u and the sprite will act like crazy, u can see it in the capx.

https://www.dropbox.com/s/54ilfgme8vbt1xz/cosa.capx

someone could help me to fix that?, please.
pd: sorry for my bad english[/QUOTE]

This should solve the problem:



Notice how I removed few events, I believe they were unnecessary. :) I also added the '+5' to movement checks, so chef now has a little deadzone where he doesn't try to turn towards player. Smaller value will work as well.
B
24
S
8
G
7
Posts: 756
Reputation: 7,202

Post » Sat Mar 16, 2013 7:30 pm

thanks a lot for helping me guys y appreciate that, i have noticed another bug with the player sprite, when you press right and then press left holding the right button and release the left key the sprite of the player would face the wrong direction anyone knows how to fix this?.
thanks again.
B
17
S
2
G
2
Posts: 82
Reputation: 1,712


Return to How do I....?

Who is online

Users browsing this forum: Kagubro and 20 guests