rexrainbow / phaser3-rex-notes

Notes of phaser3 engine
MIT License
1.22k stars 263 forks source link

setResolution for TagText #184

Closed SolidTears closed 3 years ago

SolidTears commented 3 years ago

Phaser 3 have really bad behaviour with scale manager, especially with text, i usually fix it with

.setResolution(2)); added on each text component

and it works fine and well for based text, i wish this functionality also added for TagText

rexrainbow commented 3 years ago

tagText.setResolution(value) was added to class of TagText/BBCodeText already. But I did not add it to document or test it before, will do that these days.

SolidTears commented 3 years ago

tagText.setResolution(value) was added to class of TagText/BBCodeText already. But I did not add it to document or test it before, will do that these days.

is it possible it might be because i use the TS definition ?, since it said its not available there, hopefully its also updated

rexrainbow commented 3 years ago

Add a test for resolution, also update the document and ts define. NPM package will be upgraded next week.

SolidTears commented 3 years ago

Add a test for resolution, also update the document and ts define. NPM package will be upgraded next week.

awesome !, thanks for the fast response !

rexrainbow commented 3 years ago

How to improve text's display quality via set higher resoluition? In my test, resolution = 1 has best display quality.

rexrainbow commented 3 years ago

NPM package released, issue closed.