#Rpg Input
1 messages · Page 1 of 1 (latest)
Wdym?
Like with customisable keysets?
I would just have 2 tables, such that in one table you have all the actions in there, and then another table with an Enum.KeyCode for the corresponding action in the actiontable
Then when input has gotten, use actionsTable[table.find(inputTable)] to get the action.
i'd say this is the best way to do inputs for any game, but it's not released yet https://devforum.roblox.com/t/studio-beta-new-input-action-system/3656214
Hi Creators! We’re thrilled to bring you our new abstract Input Action System (IAS)! This new approach to input provides you with several new instances you can use to connect to input actions and arrange bindings across platforms at edit time. Those, combined with contexts, allows you to easily configure and edit an input system in your game ...