From 2898a7f81d6053f363dff9d63148b9424f801c7f Mon Sep 17 00:00:00 2001 From: Colin Okay Date: Thu, 18 Feb 2021 07:22:41 -0600 Subject: added instructions to splashscreen --- Source/Main.hx | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Source/Main.hx b/Source/Main.hx index d88b351..2da6db2 100644 --- a/Source/Main.hx +++ b/Source/Main.hx @@ -1094,7 +1094,16 @@ class SplashScreen extends Sprite w.y = wiggler.y * vertScale; addChild(w); } - + + var tf = new TextFormat("monospaced", 20, 0xFFFFFF, true); + var field1 = new TextField(); + field1.text = "Draw Shapes Then Watch Them Wiggle! Click to begin."; + field1.setTextFormat( tf ); + field1.width = field1.textWidth; + field1.height = field1.textHeight; + field1.y = stage.stageHeight - (field1.height + 10); + field1.x = (stage.stageWidth - field1.width) / 2; + addChild(field1); } } -- cgit v1.2.3