1.0.6 • Published 2 years ago

rm-rich v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

rm-rich

RichText library for RPG Maker

Usage

const RichText = require('rm-rich');

const label = new RichText("Test <red>red text</red>", new PIXI.TextStyle({
    fontFamily: 'Arial',
    fill: ['#000000'],
    stroke: '#004620',
    fontSize: 16,
    fontWeight: 'lighter',
    lineJoin: 'round',
    strokeThickness: 1,
    stroke: '0x222222',
    wordWrap: true,
    wordWrapWidth: options.width,
}), {
    red: {
        fill: "#ff0000"
    }
});
this.addChild(label);
1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago