Coming soon - Get a detailed view of why an account is flagged as spam!
view details

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.

5
Two Player Split Screen UI Controls
Post Body

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?

Author
Account Strength
90%
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,621
Link Karma
176
Comment Karma
1,445
Profile updated: 4 days ago
Posts updated: 4 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago