Files
godot-demo-projects/viewport/split_screen_input
A Thousand Ships 0343cedd48 General proofreading (#1262)
* General proofreading for grammar and spelling
* General formatting
* Addition of appropriate literals where appropriate, i.e. `&"foo"` for `StringName` cases and `^"foo/bar"` for `NodePath` cases
2025-10-11 01:39:59 -07:00
..
2025-10-11 01:39:59 -07:00
2025-10-11 01:39:59 -07:00

Split Screen Input

A demo showing a Split Screen GUI and input handling for local multiplayer using viewports.

It demonstrates:

  • Single World2D, that is shared among many Viewports
  • Simplified Input Map, that uses the same Actions for all Split Screens
  • Input event routing to different viewports based on joypad device id and dedicated keyboard keys
  • Dynamic keybinding adjustment for each Split Screen

Language: GDScript

Renderer: Compatibility

Screenshots

Screenshot