Hi everyone, I had a little problem with the game I was working on and I need a little help. I want to find a way to track inputs, but I haven't been able to figure it out. For the fighting game I'm working on, I want to make an in-game input tracker for the player., but to o avail. My programming skills are pretty basic with little bits and pieces of higher level stuff, but I don't know enough to learn how to track. Are there any videos that talk about this topic?

Can't you just add one to a variable when an input is called?

For a fighting game you might want to add each input into an Array. It should be a fixed size, maybe just storing the last 16 actions or something. You don't want to add every button press, as you will get like 100 (or more) of the same button, so you need to check for unique presses (like if the current button is different from the last) or only check for certain gestures you need in the game.

a year later