Transitions fail to load built-in sprite graphics on HTML5 target
JesseTG opened this issue · 1 comments
JesseTG commented
On desktop, transitions work exactly as I would expect them to.
However, on web browsers, I get this:
Looking at the image cache, the transition tile sprites are loaded.
All of my states extend FlxTransitionableState
, and the code that specifies transition behavior is as follows:
FlxTransitionableState.defaultTransIn = new TransitionData().init(
color = 0xFFFFFFFF,
type = TransitionType.TILES,
direction = FlxPoint.get(1, 1),
duration = 0.25
);
FlxTransitionableState.defaultTransOut = FlxTransitionableState.defaultTransIn;
Other potentially useful information:
- There are no error messages
- Dead code elimination doesn't seem to be the culprit
Gama11 commented
The culprit is openfl/openfl#682.