Skip to content

Highlight colours in player-facing text #268

Open

Description

@lexisother

Look into using https://github.com/redstonekasi/cc-textparser/ to highlight text in fields that the player can eventually see in-game. Kasi's implementation example was this:

you'd overlap a text area and the rendered output over each other and then just run cc-textparser over the input when text changes (probably debounced a bit)

An example of a text colouring implementation can be found here:
https://github.com/redstonekasi/cc-textparser/blob/main/examples/markup.ts

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions