Skip to content

Add schema for saving controls #7

@Geokureli

Description

@Geokureli

A compact way to serialize and deserialize the input mappings of a FlxControl instance

  1. controls.saveMappings: Returns a string representing that input layout
  2. controls.loadMappings: Takes a mapping string and replaces the current mapping, entirely
  3. mappings constructor arg: Prevents creation of the default mappings and goes straight to the mappings provided
    • How will this work with multiple players sharing a keyboard?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions