We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
example
var monospaceLetters:String = " !\"#$%&'()*+,-.\\0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[/]^_`abcdefghijklmnopqrstuvwxyz{|}~"; var charSize = FlxPoint.get(7, 10); var fontMonospace = FlxBitmapFont.fromMonospace("assets/images/RetroMedievalV3.png", monospaceLetters, charSize); var text:FlxBitmapText = new FlxBitmapText(fontMonospace); text.scrollFactor.set(0, 0); text.setPosition(0, 100); text.autoSize = false; text.width = text.fieldWidth = 84; text.letterSpacing = -1; text.multiLine = true; text.text = "The quick brown fox jumps over the lazy dog, supercalaphra\ngalisticexpia\nladocious"; add(text);
font (hard to see on night mode):
How it appears:
when wrapByWord is false:
How the original code should look by default:
We should add a new field called something like wrapLongWords, or maybe make wordWrap an enum
wrapLongWords
enum abstract WordWrap(Int) { var CHAR; var WORD_SPLIT_LONG; var WORD; }
found by @chosencharacters
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
example
font (hard to see on night mode):
How it appears:
when wrapByWord is false:
How the original code should look by default:
We should add a new field called something like
wrapLongWords
, or maybe make wordWrap an enumfound by @chosencharacters
The text was updated successfully, but these errors were encountered: