0.3.18 • Published 10 months ago

react-three-yarnspinner-dialogue v0.3.18

Weekly downloads
-
License
MIT License
Repository
github
Last release
10 months ago

React Three Fiber YarnSpinner Dialogue Box

A text scrolling dialog box for story-game-style dialog or narration.

Installation

 npm i react-three-yarnspinner-dialogue
 # or
 yarn add react-three-yarnspinner-dialogue

Usage

<YarnDialogue\/>

  • TBD: add props

Example

  <YarnDialogue
    yarn={exampleYarn}
    width="70%"
    height={150}
    transform={[0.5, 0]}
    padding={10}
    bottom={40}
    skippable
    getCharacterLabelAttributes={({character}) => {
      if(character === 'Companion') {
        return {
          labelColor: 'red',
        }
      }
    }}
  />
0.3.18

10 months ago

0.3.17

10 months ago

0.3.16

10 months ago

0.3.15

10 months ago

0.3.14

10 months ago

0.3.13

10 months ago

0.3.12

10 months ago

0.3.11

10 months ago

0.3.10

10 months ago

0.3.9

10 months ago

0.3.8

10 months ago

0.3.7

10 months ago

0.3.6

10 months ago

0.3.5

10 months ago

0.3.4

10 months ago

0.3.3

10 months ago

0.3.2

10 months ago

0.3.1

10 months ago

0.3.0

10 months ago

0.2.2

10 months ago

0.2.1

10 months ago

0.2.0

10 months ago

0.1.0

10 months ago