From ed592a068824a54d1d088db8517c411c588e9f36 Mon Sep 17 00:00:00 2001 From: Jaap Marsman Date: Sun, 18 Dec 2022 10:46:51 +0100 Subject: [PATCH] some more basics in place --- flashmaths/notes/main_ideas.md | 18 ++++++++++++++++- flashmaths/project.godot | 1 + flashmaths/start_scene.tscn | 35 ++++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+), 1 deletion(-) diff --git a/flashmaths/notes/main_ideas.md b/flashmaths/notes/main_ideas.md index 985342d..c87a748 100644 --- a/flashmaths/notes/main_ideas.md +++ b/flashmaths/notes/main_ideas.md @@ -19,4 +19,20 @@ 1. Build out the web version first 2. Local, user version will allow persistent data storage. -3. This brings with it the option to develop an algorithm for spaced repetition (similar to Anki) \ No newline at end of file +3. This brings with it the option to develop an algorithm for spaced repetition (similar to Anki) + +## Screens + +1. Main start screen + - Length of time + - Name + +2. Card Pack Selection + - Addition to 10 + - Subtraction below 10 + - Addition and Subtraction 0-10 + - Addition crossing 10 (up to 20) + - Subtraction crossing 10 (up to 20) + +3. Card-going-through screen +4. Evaluation Screen \ No newline at end of file diff --git a/flashmaths/project.godot b/flashmaths/project.godot index 9b34eeb..f2ed8e0 100644 --- a/flashmaths/project.godot +++ b/flashmaths/project.godot @@ -11,6 +11,7 @@ config_version=4 [application] config/name="FlashMaths" +run/main_scene="res://start_scene.tscn" config/icon="res://icon.png" [gui] diff --git a/flashmaths/start_scene.tscn b/flashmaths/start_scene.tscn index 53068dc..8b40f7e 100644 --- a/flashmaths/start_scene.tscn +++ b/flashmaths/start_scene.tscn @@ -1,3 +1,38 @@ [gd_scene format=2] [node name="StartScreen" type="CanvasLayer"] + +[node name="Panel" type="Panel" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +__meta__ = { +"_edit_lock_": true +} + +[node name="Label" type="Label" parent="Panel"] +margin_left = 400.0 +margin_top = 22.0 +margin_right = 642.0 +margin_bottom = 36.0 +text = "How long are wer practising for today?" + +[node name="5MinPlayTIme" type="Button" parent="Panel"] +margin_left = 161.0 +margin_top = 162.0 +margin_right = 237.0 +margin_bottom = 182.0 +text = "5 Minutes" + +[node name="10MinPlayTIme" type="Button" parent="Panel"] +margin_left = 318.0 +margin_top = 179.0 +margin_right = 402.0 +margin_bottom = 199.0 +text = "10 Minutes" + +[node name="15MinPlayTIme" type="Button" parent="Panel"] +margin_left = 484.0 +margin_top = 178.0 +margin_right = 568.0 +margin_bottom = 198.0 +text = "15 Minutes"