HaxeFlixel / HaxeFlixel/flixel
Lock Screen From FlxBasePreloader Doesn't Have Spaces In The siteLockBodyText.
Open
Nobody has claimed this yet.
- Dominant language
- Haxe
- Stars
- 2.2k
- Forks
- 522
- Avg merge
- 34m
- Merged PRs (30d)
- 1
Description
- Haxe version: 4.3.0-rc.1+5e0a029
- Flixel version: 4.10.0
- OpenFL version: 9.1.0-LqBuHo
- Lime version: 7.9.0
- Affected targets: Web
Code snippet reproducing the issue:
import flixel.system.FlxBasePreloader;
import flixel.system.FlxPreloader;
class Preloader extends FlxPreloader
{
override public function new(MinDisplayTime:Float = 0, ?AllowedURLs:Array<String>):Void
{
super(0, ["https://rafplayz69yt.itch.io/trash-hook"]);
siteLockTitleText = "Not poggers :(";
siteLockBodyText = "Ok this is not epic as you did a not pog move there partner.\n I will cancel you on my twitter.com and you will suffer by the hands of the world.\nGood luck.\n also here is the link so you can be poggers :)";
}
}
Observed behavior:

Expected behavior:
I expected the words to have spaces between them.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at FlxBasePreloader and the siteLockBodyText rendering path, using the supplied FlxPreloader subclass to reproduce the problem on the Web target. Done means the lock-screen message preserves spaces and line breaks as entered in the example.
Written by the indexing model from the issue text.
Assessment
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100