Update BenchmarkState.hx
This commit is contained in:
@@ -3,7 +3,7 @@ package editors;
|
||||
import flixel.FlxG;
|
||||
import flixel.FlxState;
|
||||
import model.objects.flixel.Flixel;
|
||||
import flx3D.Flx3DUtil;
|
||||
import flixel.text.FlxText;
|
||||
import flixel.util.FlxDestroyUtil;
|
||||
|
||||
class BenchmarkState extends FlxState
|
||||
@@ -19,6 +19,15 @@ class BenchmarkState extends FlxState
|
||||
{
|
||||
super.create();
|
||||
|
||||
// TODO: add debug info and such
|
||||
final text:FlxText = new FlxText();
|
||||
text.text = 'Press ESCAPE to leave.';
|
||||
text.screenCenter(X);
|
||||
text.y = FlxG.height * 0.89;
|
||||
text.setFormat(Paths.font("vcr.ttf"), 16, FlxColor.WHITE, CENTER, OUTLINE, FlxColor.BLACK);
|
||||
text.borderSize = 2;
|
||||
add(text);
|
||||
|
||||
daFlixelLogo = new Flixel();
|
||||
add(daFlixelLogo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user