You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is in following: default camera's screen:FlxSprite have the same size and color, so this newly created sprite and camera's screen will share the same pixels BitmapData.
Possible solution for this issue is to replace lines from FlxCamera:
screen = new FlxSprite();
screen.makeGraphic(width,height,0,true);
screen.setOriginToCorner();
buffer = screen.pixels;
with
buffer = new BitmapData(width,height,true,0);
screen = new FlxSprite();
screen.pixels = buffer;
The text was updated successfully, but these errors were encountered:
It may appear if you create:
The problem is in following: default camera's screen:FlxSprite have the same size and color, so this newly created sprite and camera's screen will share the same pixels BitmapData.
Possible solution for this issue is to replace lines from FlxCamera:
with
The text was updated successfully, but these errors were encountered: