I'm trying to make a gun system composed of variables and conditional branches to allow the player to use a gun and shoot enemies with it on the map.
Unfortunately, I've started working and it seems that my conditional branch involving a button being pressed doesn't really work.
There's a file I've attached here:
I have the revolver in my inventory, two of the same item once I playtested again to make sure it wasn't wrong, and I'm pressing down on Z. I tried pressing once and holding down on it, and it doesn't work. The character (Italy) doesn't jump, and the sound doesn't play, either.
This is just starting to get worked on, so I don't have the bullets or anything yet, either. .-. To think I've encountered a mistake/problem so early in my system is, well, pretty discouraging.
If anyone can help with this button problem, I'll be really grateful.
I'm trying to make a gun system composed of variables and conditional branches to allow the player to use a gun and shoot enemies with it on the map.
Unfortunately, I've started working and it seems that my conditional branch involving a button being pressed doesn't really work.
There's a file I've attached here:
I have the revolver in my inventory, two of the same item once I playtested again to make sure it wasn't wrong, and I'm pressing down on Z. I tried pressing once and holding down on it, and it doesn't work. The character (Italy) doesn't jump, and the sound doesn't play, either.
This is just starting to get worked on, so I don't have the bullets or anything yet, either. .-. To think I've encountered a mistake/problem so early in my system is, well, pretty discouraging.
If anyone can help with this button problem, I'll be really grateful.
Share this post
Link to post
Share on other sites