Help with charge shooting
Using the Games Factory 2
Hello,
Im working on a project where a player can shoot with the spacebar, and if they hold down the shooting button (Spacebar) they can charge their shot.The idea is after 25 frames of the "shooting" animation play, the animation loops back to the 20th frame. Frames 1-20 animate "stand pose-to-shooting pose" and the additional 5 frames are a little electrical effect that indicates the gun is ready to blast a loaded charge.
I've tried all manner of methods, ranging from procedurally activating and shutting off flags in an effort to change states, "when animation is finished" commands in an effort to trigger events, messed with the "repeat while spacebar is held" and the "Upon Spacebar being pressed" and I've come close but not working right. Can someone out there please show me a good way to do a charged shot with this program?
Slam