Im working on a keybind system for my game right now and im curious on whether it would make sense to keep it all in one script like i have it rn which can be easier at times like when using different states from other keybinds to make sure an action from another keybind doesnt conflict with it or if for orginization purposes i should put each keybind in its own script file i only ask cause right now it feels like im looking at a lot of gibberish and if statements even with all the commenting im doing to say what each line block does
#Keybind Script Management
1 messages · Page 1 of 1 (latest)
yeah no personally I wouldnt put each one in its own script
preciate the advice is there any way to make it organized better though like possibly making script files based on the category of action such as movement, combat, ect or should i just leave it alone and get using to seeing long lines of code?
Use a dictionary for functions to bind it to keys and like organize with folders under the main
like a table at the top of the script and then the functions and utilities under?
** You are now Level 4! **
Yeah som like that
It really doesn’t matter as long as it’s organized