This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I'm working on a local multiplayer game. In this project, I've been able to create a system where players determine their control (keyboard vs one of multiple game pads) without hardcoding a particular player to a particular input. this works smoothly for game objects... but I'm just starting to look at doing the same thing in the UI.
I'd like to display two UI (one on the left and one on the right) where player 1 only controls the UI on the left and player 2 only controls the UI on the right, but they should both be able to control their respective UI at the same time. Furthermore, the UI wouldn't be able to know which device either player is using until runtime.
Any ideas for this? As far as I can tell, Godot's UI is very nearly hardcoded to use the UI* input actions... which means either everyone shares controls, or only one person has control... Can this be changed?
Subreddit
Post Details
- Posted
- 2 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/godot/comme...