As I move from working in the test environment to developing the actual game demo, I've begun revising how the timekeeping system works by modifying the script I originally created to keep track of the time and the beats that have elapsed since the game has begun.
In the original script, the timekeeping system would use the specified BPM of the music to determine when the next beat will occur in the timeline and will check for the relevant input from the player if the game is currently within the beat/accuracy window before or after the exact time when the next tracked beat is supposed to be played.
Now, in the revised script, the BPM will still determine when the next beats occur, but the game will only check that the player has pressed one of the action buttons within the beat window at the point they press the button. This means that the script won't constantly be checking for input at each beat, and will only need to check the accuracy of the player's button presses and if they are on beat only when the player actually presses the button to attempt to preform an action.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.