You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doing input in Godot is nice and simple, but I found myself having issues once the inclusion of multiple controllers is involved. I don't exactly have a project of sort that involves multiple controllers, but I always liked to experiment with it, and I wish there was a feature to streamline the addition of multiple controllers to easily scale input.
Say you have a 2-player game but want to expand to 4 players? You'll have to duplicate the actions and add all possible events for each controller which ends up being a bit tedious, and now you have to take that into account for every individual controller. There's definitely a way to check for the input device number doing certain actions, but then you'll have to rework systems in your code to fit these somewhat simple needs. It's definitely possible and not the most tedious thing in the world, but it makes setup a bit more long.
I wish there was a way to streamline this and make local multiplayer a lot more easy to implement without having to overcomplicate the base input system. I think the best way to do it would be to make input maps modular, allowing for new controllers to instantiate their own version of input maps and change their binds to their needs, and save them as presets. Just a thought, but I wonder what everyone else thinks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Doing input in Godot is nice and simple, but I found myself having issues once the inclusion of multiple controllers is involved. I don't exactly have a project of sort that involves multiple controllers, but I always liked to experiment with it, and I wish there was a feature to streamline the addition of multiple controllers to easily scale input.
Say you have a 2-player game but want to expand to 4 players? You'll have to duplicate the actions and add all possible events for each controller which ends up being a bit tedious, and now you have to take that into account for every individual controller. There's definitely a way to check for the input device number doing certain actions, but then you'll have to rework systems in your code to fit these somewhat simple needs. It's definitely possible and not the most tedious thing in the world, but it makes setup a bit more long.
I wish there was a way to streamline this and make local multiplayer a lot more easy to implement without having to overcomplicate the base input system. I think the best way to do it would be to make input maps modular, allowing for new controllers to instantiate their own version of input maps and change their binds to their needs, and save them as presets. Just a thought, but I wonder what everyone else thinks.
Beta Was this translation helpful? Give feedback.
All reactions