Hi,
I’m making a banking game, and I have a section where you empty your money into a safe. The mechanics I have are a checker that runs when you press the button, which checks if you have any cash. If you do, then it runs the check again, takes one cash away from you and increments a counter, which updates a property that I’m using for scoring. I’ve checked over it and all my channels seem to be in order, and theoretically it should work, but when I play, either it only adds 1 to the property when I look at the leaderboard even though I deposited 5 cash, or it only deposits 2 cash at a time and when I’ve deposited it all, it shows a ridiculously high number on the leaderboard for some random reason. I don’t know whether this is just a glitch or an actual fault (I’ve got the sentry glitch where sentries don’t appear at the moment, so it stands to reason that it’s just a GKC buggy moment), but I’m pretty sure it’s not a glitch. Can someone help?
A picture of my setup:
No, they’re all connected with channels. I haven’t used any wires in the game, plus you have to use channels to do the checker repeat thing so I kinda have to use channels.
I’ve playtested this part 3 times now. The first time, it only added 1 to the property, but the second and third times, I had to put my cash in bit by bit, and for some random reason it added 302 to the property even though I only deposited 5 cash.
That helped a bit, but it’s still glitching slightly - it doesn’t do the weird thing where it adds 302 to the score, but it’s still only adding 3 instead of 5 after I changed it to ‘greater than 0’. That helped though!
Do you mean I should run it when it’s equal to it, or when it’s less than it? Sorry, I’m just a bit confused… I have tinkered with that part of the mechanism though, and it seems to have improved it - it takes all the money at once now, and doesn’t add a ridiculous amount to the property any more, it just only adds half for some reason.
Basically, if it works then I add to the property and take 1 cash away from the player. I don’t want the loop to stop if there’s more than one, I want it to continue because then I can check if they have any more cash to put in the safe.