crash on story menu

This commit is contained in:
Brandon
2020-11-07 00:05:58 -05:00
parent 673ed0d7fd
commit 602cf4c574
6 changed files with 14 additions and 7 deletions

View File

@ -29,7 +29,7 @@ class Preloader extends FlxBasePreloader
this._width = Lib.current.stage.stageWidth;
this._height = Lib.current.stage.stageHeight;
var ratio:Float = this._width / 800; //This allows us to scale assets depending on the size of the screen.
var ratio:Float = this._width / 1920; //This allows us to scale assets depending on the size of the screen.
logo = new Sprite();
logo.addChild(new Bitmap(new LogoImage(0,0))); //Sets the graphic of the sprite to a Bitmap object, which uses our embedded BitmapData class.