From e150d54ca90a8d1cc99ce4d1b8285f5ea971e279 Mon Sep 17 00:00:00 2001 From: Oxore Date: Sat, 2 Dec 2017 09:57:42 +0300 Subject: Yaml loader for text resources added, need to be involved --- dat/ya.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 dat/ya.yaml (limited to 'dat') diff --git a/dat/ya.yaml b/dat/ya.yaml new file mode 100644 index 0000000..b6882ce --- /dev/null +++ b/dat/ya.yaml @@ -0,0 +1,36 @@ +--- +- + type: "score" + scene: "game" + text: "Score: " + font: "Arial" + size: 20 + x: 270 + y: 10 + +- + type: "level" + scene: "game" + text: "Level: " + font: "Arial" + size: 20 + x: 270 + y: 44 + +- + type: + scene: "menu" + text: "TETRIS" + font: "Arial" + size: 36 + x: 290 + y: 100 + +- + type: "" + scene: "menu" + text: "Press \"S\" to start" + font: "Arial" + size: 36 + x: 266 + y: 200 -- cgit v1.2.3