diff options
author | Colin Okay <okay@toyful.space> | 2021-02-18 07:22:41 -0600 |
---|---|---|
committer | Colin Okay <okay@toyful.space> | 2021-02-18 07:22:41 -0600 |
commit | 2898a7f81d6053f363dff9d63148b9424f801c7f (patch) | |
tree | e4cd6c08a017930023a90dfb36f6977af1c484a3 | |
parent | 4fd317f0cb96966500bcff88704c7e8054493ba6 (diff) |
added instructions to splashscreen
-rw-r--r-- | Source/Main.hx | 11 |
1 files changed, 10 insertions, 1 deletions
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); } } |