Problem with animations

Get help using Construct 2

Post » Mon Apr 04, 2016 1:44 pm

Hello :) So here's my problem:

My main character has some animations, like walking, jumping, default and stuff... that works fine.
If he finds a gun, I add 1 to my global variable "gun_ready". Then I made a event: If gun_ready = 1, set animation to 'Player with gun in his hands'.
Thats also working. But I have another animation for my main character, if gun_ready = 1 and the player presses left or right walking, the animation should change to the walking gun animation. I also made a screenshot, my english is not the best :/
http://www.pic-upload.de/view-30253436/ ... m.png.html
So the normal animations are working well but if he have a gun (gun_ready = 1) I can't change the player animations, why?
B
27
S
10
G
3
Posts: 76
Reputation: 3,068

Post » Mon Apr 04, 2016 2:21 pm

I have changed it a bit.
http://www.pic-upload.de/view-30253808/ ... n.png.html
Now everything works, just the walking animation with the gun is still not perfect. The right animation starts but just with the first frame.
The character starts to walk (walking animation) but just the first frame, then he stopps till I release the left or right key...
B
27
S
10
G
3
Posts: 76
Reputation: 3,068


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 22 guests