lokimckay / local-multiplayer

Godot plugin that facilitates local multiplayer controls management

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Local Multiplayer

Godot plugin that facilitates local multiplayer controls management.
Saves you having to manually create Input Map actions like move_forward_p1, move_forward_p2, and so on..

Usage

  1. Copy addons/local-multiplayer directory to the same location in your Godot project
  2. Enable the plugin via Project -> Project Settings -> Plugins -> local-multiplayer -> Enable
  3. Open the "Local Multiplayer" dock panel that appeared on the left side next to "Scene" and "Import" panels
  4. Click "Open JSON file" button to open the actions.json file
  5. Modify the "players" array as desired ("mouseAndKeyboard" / "joypad" are the valid options)
  6. Modify the "actions" dictionary to suit your game's controls
  7. Click the "Save actions to Godot's Project Settings" button

Actions configured in actions.json are saved across to your Project Settings for each player

Roadmap

  • Setup Project Settings input map using JSON file
  • Configure number of players and devices from UI instead of JSON file
  • Configure actions from UI instead of JSON file
  • Configure number of players and devices at runtime in addition to UI
  • Configure actions at runtime in addition to UI

Links

About

Godot plugin that facilitates local multiplayer controls management


Languages

Language:GDScript 100.0%