This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

So I have an AnimationPlayer which animates the flash when i shoot in my game. The thing is i can shoot either bullets or rockets with left and right click on my mouse and sometimes when i push them together or one exaclty after the other one, a frame of the animation is stuck on screen and goes Away only if i press again one of the shooting buttons(clicks).
What is wrong?

enter image description here

enter image description here

enter image description here

Godot version v3.2.3 stable
in Engine by (12 points)

1 Answer

0 votes

is_shooting or can_shoot? I don't see why change the variable if it does nothing...

so, maybe that along with the can_shoot_rocket variable... and otherwise, maybe it just needs an intermediate/reset animation, or set animation frame to zero, or just stop the animation.

by (214 points)

hello, i just put another animation player on my player scene so one of them has the shoot animation and the other the rocket shoot animation and it fixed the problem. Thanks though.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.