When the player hit the z key on the keyboard then I deactivate all the groups and activate the group Throw Knife. The object start to play the animation Launching. I want to launch the knife when image 4 is playing.
When I run the game and hit the z key then I see that the animation launching begin to play. But the knife will not appear when frame 4 is playing. When the lauching animations is over I deactivate the group Throw knife and activate the other groups.
Then something strange happens. The animation Stopped is playing and when frame 4 is playing the object throw the knife.
What is wrong with my code?
Can someone look at the code and look what I did wrong?