diff --git a/godot/Assets/fonts/NotoSansDisplay-Black.ttf b/godot/Assets/fonts/NotoSansDisplay-Black.ttf new file mode 100644 index 0000000..8bd1ef3 Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-Black.ttf differ diff --git a/godot/Assets/fonts/NotoSansDisplay-BlackItalic.ttf b/godot/Assets/fonts/NotoSansDisplay-BlackItalic.ttf new file mode 100644 index 0000000..bd088bb Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-BlackItalic.ttf differ diff --git a/godot/Assets/fonts/NotoSansDisplay-Bold.ttf b/godot/Assets/fonts/NotoSansDisplay-Bold.ttf new file mode 100644 index 0000000..03af09d Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-Bold.ttf differ diff --git a/godot/Assets/fonts/NotoSansDisplay-BoldItalic.ttf b/godot/Assets/fonts/NotoSansDisplay-BoldItalic.ttf new file mode 100644 index 0000000..e859fff Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-BoldItalic.ttf differ diff --git a/godot/Assets/fonts/NotoSansDisplay-ExtraBold.ttf b/godot/Assets/fonts/NotoSansDisplay-ExtraBold.ttf new file mode 100644 index 0000000..7b2b969 Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-ExtraBold.ttf differ diff --git a/godot/Assets/fonts/NotoSansDisplay-ExtraBoldItalic.ttf b/godot/Assets/fonts/NotoSansDisplay-ExtraBoldItalic.ttf new file mode 100644 index 0000000..70f251c Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-ExtraBoldItalic.ttf differ diff --git a/godot/Assets/fonts/NotoSansDisplay-ExtraLight.ttf b/godot/Assets/fonts/NotoSansDisplay-ExtraLight.ttf new file mode 100644 index 0000000..18d8403 Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-ExtraLight.ttf differ diff --git a/godot/Assets/fonts/NotoSansDisplay-ExtraLightItalic.ttf b/godot/Assets/fonts/NotoSansDisplay-ExtraLightItalic.ttf new file mode 100644 index 0000000..0b79142 Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-ExtraLightItalic.ttf differ diff --git a/godot/Assets/fonts/NotoSansDisplay-Italic.ttf b/godot/Assets/fonts/NotoSansDisplay-Italic.ttf new file mode 100644 index 0000000..486993e Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-Italic.ttf differ diff --git a/godot/Assets/fonts/NotoSansDisplay-Light.ttf b/godot/Assets/fonts/NotoSansDisplay-Light.ttf new file mode 100644 index 0000000..91de23f Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-Light.ttf differ diff --git a/godot/Assets/fonts/NotoSansDisplay-LightItalic.ttf b/godot/Assets/fonts/NotoSansDisplay-LightItalic.ttf new file mode 100644 index 0000000..a4a13aa Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-LightItalic.ttf differ diff --git a/godot/Assets/fonts/NotoSansDisplay-Medium.ttf b/godot/Assets/fonts/NotoSansDisplay-Medium.ttf new file mode 100644 index 0000000..aa84482 Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-Medium.ttf differ diff --git a/godot/Assets/fonts/NotoSansDisplay-MediumItalic.ttf b/godot/Assets/fonts/NotoSansDisplay-MediumItalic.ttf new file mode 100644 index 0000000..393d288 Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-MediumItalic.ttf differ diff --git a/godot/Assets/fonts/NotoSansDisplay-Regular.ttf b/godot/Assets/fonts/NotoSansDisplay-Regular.ttf new file mode 100644 index 0000000..7ba68cb Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-Regular.ttf differ diff --git a/godot/Assets/fonts/NotoSansDisplay-SemiBold.ttf b/godot/Assets/fonts/NotoSansDisplay-SemiBold.ttf new file mode 100644 index 0000000..881df17 Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-SemiBold.ttf differ diff --git a/godot/Assets/fonts/NotoSansDisplay-SemiBoldItalic.ttf b/godot/Assets/fonts/NotoSansDisplay-SemiBoldItalic.ttf new file mode 100644 index 0000000..779ea0c Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-SemiBoldItalic.ttf differ diff --git a/godot/Assets/fonts/NotoSansDisplay-Thin.ttf b/godot/Assets/fonts/NotoSansDisplay-Thin.ttf new file mode 100644 index 0000000..061a29a Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-Thin.ttf differ diff --git a/godot/Assets/fonts/NotoSansDisplay-ThinItalic.ttf b/godot/Assets/fonts/NotoSansDisplay-ThinItalic.ttf new file mode 100644 index 0000000..b180dc5 Binary files /dev/null and b/godot/Assets/fonts/NotoSansDisplay-ThinItalic.ttf differ diff --git a/godot/Assets/fonts/noto_sans_display.ttf b/godot/Assets/fonts/noto_sans_display.ttf new file mode 100644 index 0000000..679878b Binary files /dev/null and b/godot/Assets/fonts/noto_sans_display.ttf differ diff --git a/godot/Assets/fonts/noto_sans_display_bold.ttf b/godot/Assets/fonts/noto_sans_display_bold.ttf new file mode 100644 index 0000000..03af09d Binary files /dev/null and b/godot/Assets/fonts/noto_sans_display_bold.ttf differ diff --git a/godot/Assets/fonts/noto_sans_display_italic.ttf b/godot/Assets/fonts/noto_sans_display_italic.ttf new file mode 100644 index 0000000..071f123 Binary files /dev/null and b/godot/Assets/fonts/noto_sans_display_italic.ttf differ diff --git a/godot/Assets/icons/mac_icon.icns b/godot/Assets/icons/mac_icon.icns new file mode 100644 index 0000000..b31df17 Binary files /dev/null and b/godot/Assets/icons/mac_icon.icns differ diff --git a/godot/Assets/icons/main_icon.png b/godot/Assets/icons/main_icon.png new file mode 100644 index 0000000..c61bf28 Binary files /dev/null and b/godot/Assets/icons/main_icon.png differ diff --git a/godot/Assets/icons/main_icon_smaller.png b/godot/Assets/icons/main_icon_smaller.png new file mode 100644 index 0000000..8a86ee7 Binary files /dev/null and b/godot/Assets/icons/main_icon_smaller.png differ diff --git a/godot/Assets/photos/classroom-1910012.jpg b/godot/Assets/photos/classroom-1910012.jpg new file mode 100644 index 0000000..d9e1e10 Binary files /dev/null and b/godot/Assets/photos/classroom-1910012.jpg differ diff --git a/godot/Assets/photos/classroom-2093744.jpg b/godot/Assets/photos/classroom-2093744.jpg new file mode 100644 index 0000000..ca73aef Binary files /dev/null and b/godot/Assets/photos/classroom-2093744.jpg differ diff --git a/godot/Assets/photos/classroom-2093744_1920.jpg b/godot/Assets/photos/classroom-2093744_1920.jpg new file mode 100644 index 0000000..ef6d53e Binary files /dev/null and b/godot/Assets/photos/classroom-2093744_1920.jpg differ diff --git a/godot/Assets/photos/classroom-824120.jpg b/godot/Assets/photos/classroom-824120.jpg new file mode 100644 index 0000000..9f9c899 Binary files /dev/null and b/godot/Assets/photos/classroom-824120.jpg differ diff --git a/godot/Assets/photos/classroom-824120_1920.jpg b/godot/Assets/photos/classroom-824120_1920.jpg new file mode 100644 index 0000000..feb9ab0 Binary files /dev/null and b/godot/Assets/photos/classroom-824120_1920.jpg differ diff --git a/godot/Assets/photos/school-1974369.jpg b/godot/Assets/photos/school-1974369.jpg new file mode 100644 index 0000000..68ece8b Binary files /dev/null and b/godot/Assets/photos/school-1974369.jpg differ diff --git a/godot/Assets/photos/tablet-1910018.jpg b/godot/Assets/photos/tablet-1910018.jpg new file mode 100644 index 0000000..a318422 Binary files /dev/null and b/godot/Assets/photos/tablet-1910018.jpg differ diff --git a/godot/NameChangePanel.gd b/godot/NameChangePanel.gd new file mode 100644 index 0000000..74e43ff --- /dev/null +++ b/godot/NameChangePanel.gd @@ -0,0 +1,23 @@ +extends Panel + + +onready var global_ints = $"/root/GlobalInts" + + +func _ready() -> void: + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +#func _process(delta: float) -> void: +# pass + + +func _on_OkButton_pressed() -> void: + if $"%NameLine".text != "": + $"%InstructionPanel".visible = true + $"%NameChangePanel".visible = false + global_ints.observed_person_name = $"%NameLine".text + else: + $"%ObservedNameLabel".visible = false + $"%WarningLabel".visible = true diff --git a/godot/default_env.tres b/godot/default_env.tres new file mode 100644 index 0000000..20207a4 --- /dev/null +++ b/godot/default_env.tres @@ -0,0 +1,7 @@ +[gd_resource type="Environment" load_steps=2 format=2] + +[sub_resource type="ProceduralSky" id=1] + +[resource] +background_mode = 2 +background_sky = SubResource( 1 ) diff --git a/godot/global_ints.gd b/godot/global_ints.gd new file mode 100644 index 0000000..5263203 --- /dev/null +++ b/godot/global_ints.gd @@ -0,0 +1,8 @@ +extends Node + +var observation_minutes : int = 15 + +var observed_person_name : String + +var locked_observation_minutes : int +var locked_observation_intervals : int diff --git a/godot/icon.png b/godot/icon.png new file mode 100644 index 0000000..c98fbb6 Binary files /dev/null and b/godot/icon.png differ diff --git a/godot/main_screen.gd b/godot/main_screen.gd new file mode 100644 index 0000000..97d243c --- /dev/null +++ b/godot/main_screen.gd @@ -0,0 +1,48 @@ +extends CanvasLayer + + +var date_time +var check_time_var : int + + +onready var date_time_display = $"%CurrentTime" +onready var global_ints = $"/root/GlobalInts" +onready var minute_label = $"StartScreen/InstructionPanel/MinuteBox/MinuteLabel" + + +func _ready(): + minute_label.text = str(global_ints.observation_minutes) + global_ints.observed_person_name = "" + $"%NameChangePanel".visible = false + $"%WarningLabel".visible = false + + +func _process(_delta): + check_time_var += 1 + + if check_time_var == 10: + check_time_var = 0 + date_time = OS.get_time() + date_time_display.text = str(date_time.hour, ":", date_time.minute) + + +func _on_MinuteMinus_pressed() -> void: + if global_ints.observation_minutes >= 2: + global_ints.observation_minutes -= 1 + minute_label.text = str(global_ints.observation_minutes) + + +func _on_MinutePlus_pressed() -> void: + if global_ints.observation_minutes < 60: + global_ints.observation_minutes += 1 + minute_label.text = str(global_ints.observation_minutes) + + +func _on_Manual_pressed() -> void: + var _error = OS.shell_open("https://www.internationalsengroup.org/resources/time-sampling-form/") + + +func _on_PupilName_pressed() -> void: + $"%NameLine".text = global_ints.observed_person_name + $"%InstructionPanel".visible = false + $"%NameChangePanel".visible = true diff --git a/godot/main_screen.tscn b/godot/main_screen.tscn new file mode 100644 index 0000000..7310cc9 --- /dev/null +++ b/godot/main_screen.tscn @@ -0,0 +1,487 @@ +[gd_scene load_steps=12 format=2] + +[ext_resource path="res://wb_theme.tres" type="Theme" id=1] +[ext_resource path="res://main_screen.gd" type="Script" id=2] +[ext_resource path="res://Assets/photos/classroom-824120_1920.jpg" type="Texture" id=3] +[ext_resource path="res://NameChangePanel.gd" type="Script" id=4] +[ext_resource path="res://Assets/fonts/noto_sans_display.ttf" type="DynamicFontData" id=5] +[ext_resource path="res://Assets/fonts/NotoSansDisplay-Bold.ttf" type="DynamicFontData" id=6] + +[sub_resource type="StyleBoxFlat" id=2] +bg_color = Color( 0.952941, 0.933333, 0.847059, 1 ) + +[sub_resource type="StyleBoxFlat" id=1] +bg_color = Color( 1, 1, 1, 1 ) +corner_radius_top_left = 50 +corner_radius_top_right = 50 +shadow_offset = Vector2( 0, 4 ) + +[sub_resource type="DynamicFont" id=4] +font_data = ExtResource( 5 ) + +[sub_resource type="DynamicFont" id=5] +size = 24 +font_data = ExtResource( 6 ) + +[sub_resource type="DynamicFont" id=6] +size = 32 +font_data = ExtResource( 6 ) + +[node name="AppWindow" type="CanvasLayer"] +script = ExtResource( 2 ) + +[node name="Background" type="Panel" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +theme = ExtResource( 1 ) +custom_styles/panel = SubResource( 2 ) +__meta__ = { +"_edit_lock_": true +} + +[node name="ClassroomPhoto" type="Sprite" parent="."] +position = Vector2( 640, 204 ) +scale = Vector2( 0.67, 0.67 ) +texture = ExtResource( 3 ) +__meta__ = { +"_edit_lock_": true +} + +[node name="StartScreen" type="CanvasLayer" parent="."] + +[node name="InstructionPanel" type="Panel" parent="StartScreen"] +unique_name_in_owner = true +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -640.0 +margin_top = -171.0 +margin_right = 640.0 +margin_bottom = 359.0 +custom_styles/panel = SubResource( 1 ) +__meta__ = { +"_edit_lock_": true +} + +[node name="MinuteBox" type="HBoxContainer" parent="StartScreen/InstructionPanel"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -53.5 +margin_top = -159.0 +margin_right = 53.5 +margin_bottom = -119.0 + +[node name="MinuteMinus" type="Button" parent="StartScreen/InstructionPanel/MinuteBox"] +margin_right = 43.0 +margin_bottom = 40.0 +size_flags_horizontal = 3 +theme = ExtResource( 1 ) +text = "-" +__meta__ = { +"_edit_lock_": true +} + +[node name="MinuteLabel" type="Label" parent="StartScreen/InstructionPanel/MinuteBox"] +margin_left = 47.0 +margin_top = 3.0 +margin_right = 60.0 +margin_bottom = 37.0 +theme = ExtResource( 1 ) +text = "1" +__meta__ = { +"_edit_lock_": true +} + +[node name="MinutePlus" type="Button" parent="StartScreen/InstructionPanel/MinuteBox"] +margin_left = 64.0 +margin_right = 107.0 +margin_bottom = 40.0 +size_flags_horizontal = 3 +theme = ExtResource( 1 ) +text = "+" +__meta__ = { +"_edit_lock_": true +} + +[node name="CurrentTime" type="Label" parent="StartScreen/InstructionPanel"] +unique_name_in_owner = true +margin_left = 1200.0 +margin_top = 510.0 +margin_right = 1279.0 +margin_bottom = 533.0 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +custom_fonts/font = SubResource( 4 ) +text = "99:99" +align = 2 + +[node name="MinuteExplanation" type="Label" parent="StartScreen/InstructionPanel"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -322.5 +margin_top = -197.0 +margin_right = 322.5 +margin_bottom = -163.0 +theme = ExtResource( 1 ) +text = "How long is your observation? (in minutes)" +align = 1 + +[node name="ObservationItemsTitle" type="Label" parent="StartScreen/InstructionPanel"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -102.5 +margin_top = -97.0 +margin_right = 102.5 +margin_bottom = -63.0 +theme = ExtResource( 1 ) +custom_fonts/font = SubResource( 5 ) +text = "Observation Items" + +[node name="Title" type="Label" parent="StartScreen/InstructionPanel"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -172.5 +margin_top = -250.0 +margin_right = 172.5 +margin_bottom = -200.0 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +custom_fonts/font = SubResource( 6 ) +text = "Time Sampling Form" +align = 1 + +[node name="BottomButtons" type="HBoxContainer" parent="StartScreen/InstructionPanel"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -500.0 +margin_top = 180.0 +margin_right = 500.0 +margin_bottom = 240.0 + +[node name="Manual" type="Button" parent="StartScreen/InstructionPanel/BottomButtons"] +margin_right = 247.0 +margin_bottom = 60.0 +size_flags_horizontal = 3 +theme = ExtResource( 1 ) +text = "Manual" + +[node name="ChangeItems" type="Button" parent="StartScreen/InstructionPanel/BottomButtons"] +margin_left = 251.0 +margin_right = 498.0 +margin_bottom = 60.0 +size_flags_horizontal = 3 +theme = ExtResource( 1 ) +text = "Change Items" + +[node name="PupilName" type="Button" parent="StartScreen/InstructionPanel/BottomButtons"] +margin_left = 502.0 +margin_right = 749.0 +margin_bottom = 60.0 +size_flags_horizontal = 3 +theme = ExtResource( 1 ) +text = "Pupil Name" + +[node name="Start" type="Button" parent="StartScreen/InstructionPanel/BottomButtons"] +margin_left = 753.0 +margin_right = 1000.0 +margin_bottom = 60.0 +size_flags_horizontal = 3 +theme = ExtResource( 1 ) +text = "Start" + +[node name="GridObservations" type="GridContainer" parent="StartScreen/InstructionPanel"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -518.5 +margin_top = -57.0 +margin_right = 518.5 +margin_bottom = 129.0 +columns = 3 + +[node name="1Acronym" type="Label" parent="StartScreen/InstructionPanel/GridObservations"] +margin_right = 45.0 +margin_bottom = 34.0 +theme = ExtResource( 1 ) +text = "OnT" +__meta__ = { +"_edit_lock_": true +} + +[node name="1Item" type="Label" parent="StartScreen/InstructionPanel/GridObservations"] +margin_left = 49.0 +margin_right = 167.0 +margin_bottom = 34.0 +theme = ExtResource( 1 ) +text = "On Task" +__meta__ = { +"_edit_lock_": true +} + +[node name="1Explanation" type="Label" parent="StartScreen/InstructionPanel/GridObservations"] +margin_left = 171.0 +margin_right = 1037.0 +margin_bottom = 34.0 +theme = ExtResource( 1 ) +text = "The pupil is on task" +__meta__ = { +"_edit_lock_": true +} + +[node name="2Acronym" type="Label" parent="StartScreen/InstructionPanel/GridObservations"] +margin_top = 38.0 +margin_right = 45.0 +margin_bottom = 72.0 +theme = ExtResource( 1 ) +text = "Loo" +__meta__ = { +"_edit_lock_": true +} + +[node name="2Item" type="Label" parent="StartScreen/InstructionPanel/GridObservations"] +margin_left = 49.0 +margin_top = 38.0 +margin_right = 167.0 +margin_bottom = 72.0 +theme = ExtResource( 1 ) +text = "Looking" +__meta__ = { +"_edit_lock_": true +} + +[node name="2Explanation" type="Label" parent="StartScreen/InstructionPanel/GridObservations"] +margin_left = 171.0 +margin_top = 38.0 +margin_right = 1037.0 +margin_bottom = 72.0 +theme = ExtResource( 1 ) +text = " The pupil is looking around in a distracted manner or is staring into the distance" +__meta__ = { +"_edit_lock_": true +} + +[node name="3Acronym" type="Label" parent="StartScreen/InstructionPanel/GridObservations"] +margin_top = 76.0 +margin_right = 45.0 +margin_bottom = 110.0 +theme = ExtResource( 1 ) +text = "Dis" +__meta__ = { +"_edit_lock_": true +} + +[node name="3Item" type="Label" parent="StartScreen/InstructionPanel/GridObservations"] +margin_left = 49.0 +margin_top = 76.0 +margin_right = 167.0 +margin_bottom = 110.0 +theme = ExtResource( 1 ) +text = "Distracting" +__meta__ = { +"_edit_lock_": true +} + +[node name="3Explanation" type="Label" parent="StartScreen/InstructionPanel/GridObservations"] +margin_left = 171.0 +margin_top = 76.0 +margin_right = 1037.0 +margin_bottom = 110.0 +theme = ExtResource( 1 ) +text = "The pupil is distracting other pupils or talking to them" +__meta__ = { +"_edit_lock_": true +} + +[node name="4Acronym" type="Label" parent="StartScreen/InstructionPanel/GridObservations"] +margin_top = 114.0 +margin_right = 45.0 +margin_bottom = 148.0 +theme = ExtResource( 1 ) +text = "Wal" +__meta__ = { +"_edit_lock_": true +} + +[node name="4Item" type="Label" parent="StartScreen/InstructionPanel/GridObservations"] +margin_left = 49.0 +margin_top = 114.0 +margin_right = 167.0 +margin_bottom = 148.0 +theme = ExtResource( 1 ) +text = "Walking" +__meta__ = { +"_edit_lock_": true +} + +[node name="4Explanation" type="Label" parent="StartScreen/InstructionPanel/GridObservations"] +margin_left = 171.0 +margin_top = 114.0 +margin_right = 1037.0 +margin_bottom = 148.0 +theme = ExtResource( 1 ) +text = "The pupil is walking through the class" +__meta__ = { +"_edit_lock_": true +} + +[node name="5Acronym" type="Label" parent="StartScreen/InstructionPanel/GridObservations"] +margin_top = 152.0 +margin_right = 45.0 +margin_bottom = 186.0 +theme = ExtResource( 1 ) +text = "Oth" +__meta__ = { +"_edit_lock_": true +} + +[node name="5Item" type="Label" parent="StartScreen/InstructionPanel/GridObservations"] +margin_left = 49.0 +margin_top = 152.0 +margin_right = 167.0 +margin_bottom = 186.0 +theme = ExtResource( 1 ) +text = "Other" +__meta__ = { +"_edit_lock_": true +} + +[node name="5Explanation" type="Label" parent="StartScreen/InstructionPanel/GridObservations"] +margin_left = 171.0 +margin_top = 152.0 +margin_right = 1037.0 +margin_bottom = 186.0 +theme = ExtResource( 1 ) +text = "The pupil is otherwise distracted and not on task" +__meta__ = { +"_edit_lock_": true +} + +[node name="NameChangePanel" type="Panel" parent="StartScreen"] +unique_name_in_owner = true +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -640.0 +margin_top = -171.0 +margin_right = 640.0 +margin_bottom = 359.0 +custom_styles/panel = SubResource( 1 ) +script = ExtResource( 4 ) +__meta__ = { +"_edit_lock_": true +} + +[node name="NameContainer" type="VBoxContainer" parent="StartScreen/NameChangePanel"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -269.5 +margin_top = -103.0 +margin_right = 269.5 +margin_bottom = 7.0 + +[node name="ObservedNameLabel" type="Label" parent="StartScreen/NameChangePanel/NameContainer"] +unique_name_in_owner = true +margin_right = 539.0 +margin_bottom = 34.0 +theme = ExtResource( 1 ) +text = "Observed Individual Name:" + +[node name="WarningLabel" type="Label" parent="StartScreen/NameChangePanel/NameContainer"] +unique_name_in_owner = true +margin_top = 38.0 +margin_right = 539.0 +margin_bottom = 72.0 +theme = ExtResource( 1 ) +text = "You must enter a name in the field below!" + +[node name="NameLine" type="LineEdit" parent="StartScreen/NameChangePanel/NameContainer"] +unique_name_in_owner = true +margin_top = 76.0 +margin_right = 539.0 +margin_bottom = 110.0 +theme = ExtResource( 1 ) + +[node name="OkButton" type="Button" parent="StartScreen/NameChangePanel/NameContainer"] +margin_top = 114.0 +margin_right = 539.0 +margin_bottom = 148.0 +theme = ExtResource( 1 ) +text = "OK" + +[node name="ManualScreen" type="CanvasLayer" parent="."] +visible = false + +[node name="Panel" type="Panel" parent="ManualScreen"] +anchor_right = 1.0 +anchor_bottom = 1.0 +theme = ExtResource( 1 ) + +[node name="ProcedureLabel" type="Label" parent="ManualScreen"] +margin_left = 84.0 +margin_top = 76.0 +margin_right = 472.0 +margin_bottom = 90.0 +text = "Procedure +The best way to do a time sampling observation is: +A. After the teacher has given the assignment where pupils are expected to work independently, or +individual help to the pupil has finished, the observation begins. The stopwatch is started. The observer +waits 20 seconds. +B. The observer notes what the pupil is doing right that second. +C. The observer circles the category that best describes what the pupil is doing at that time: OnT, Loo, Dis, +Wal, Oth. +D. The observer waits until the timer hits 40 and repeats step B and C. +E. The observer waits until the timer hits 60 and repeats step B and C. +F. This procedure is repeated for as long as the observation is set to last. +G. The observer does not score those moments where the teacher & pupil are interacting with each other." + +[node name="GoalLabel" type="Label" parent="ManualScreen"] +margin_left = 84.0 +margin_top = 76.0 +margin_right = 472.0 +margin_bottom = 90.0 +text = "Instead of describing the “on task behaviour” of a pupil, the observer can instead use this form to sample and +quantify what it looks like. +The advantage is that this process objectifies and quantifies the observed behaviour. During a Time Sampling +observation, the observer - during a period of time where pupils are expected to work independently – notes +down every 20 second what a pupil is doing. In this manner they score three times a minute. Afterwards the +observer can calculate percentages to see how “on task” the pupil was. +For pupils without an Additional Support Need, as a rough guideline, you would expect them to be +independently “on task” for the length of time equal to their age. So an eight year old pupil would be expected to +be able to remain “on task” for eight minutes." + +[node name="ObservationWindow" type="CanvasLayer" parent="."] +visible = false + +[node name="Panel" type="Panel" parent="ObservationWindow"] +anchor_right = 1.0 +anchor_bottom = 1.0 +theme = ExtResource( 1 ) + +[node name="Timer" type="Timer" parent="ObservationWindow"] + +[node name="Results" type="CanvasLayer" parent="."] +visible = false + +[node name="Panel" type="Panel" parent="Results"] +anchor_right = 1.0 +anchor_bottom = 1.0 +theme = ExtResource( 1 ) + +[connection signal="pressed" from="StartScreen/InstructionPanel/MinuteBox/MinuteMinus" to="." method="_on_MinuteMinus_pressed"] +[connection signal="pressed" from="StartScreen/InstructionPanel/MinuteBox/MinutePlus" to="." method="_on_MinutePlus_pressed"] +[connection signal="pressed" from="StartScreen/InstructionPanel/BottomButtons/Manual" to="." method="_on_Manual_pressed"] +[connection signal="pressed" from="StartScreen/InstructionPanel/BottomButtons/PupilName" to="." method="_on_PupilName_pressed"] +[connection signal="pressed" from="StartScreen/NameChangePanel/NameContainer/OkButton" to="StartScreen/NameChangePanel" method="_on_OkButton_pressed"] diff --git a/godot/project.godot b/godot/project.godot new file mode 100644 index 0000000..4ff573d --- /dev/null +++ b/godot/project.godot @@ -0,0 +1,40 @@ +; Engine configuration file. +; It's best edited using the editor UI and not directly, +; since the parameters that go here are not all obvious. +; +; Format: +; [section] ; section goes between [] +; param=value ; assign values to parameters + +config_version=4 + +[application] + +config/name="On Task Tracker" +run/main_scene="res://main_screen.tscn" +run/low_processor_mode=true +config/icon="res://icon.png" + +[autoload] + +GlobalInts="*res://global_ints.gd" + +[display] + +window/size/width=1280 +window/size/height=720 +window/stretch/mode="2d" +window/stretch/aspect="keep" + +[gui] + +common/drop_mouse_on_gui_input_disabled=true + +[physics] + +common/enable_pause_aware_picking=true + +[rendering] + +2d/snapping/use_gpu_pixel_snap=true +environment/default_environment="res://default_env.tres" diff --git a/godot/wb_theme.tres b/godot/wb_theme.tres new file mode 100644 index 0000000..ff78e49 --- /dev/null +++ b/godot/wb_theme.tres @@ -0,0 +1,88 @@ +[gd_resource type="Theme" load_steps=14 format=2] + +[ext_resource path="res://Assets/fonts/noto_sans_display_bold.ttf" type="DynamicFontData" id=1] +[ext_resource path="res://Assets/fonts/noto_sans_display.ttf" type="DynamicFontData" id=2] + +[sub_resource type="DynamicFont" id=1] +size = 24 +font_data = ExtResource( 1 ) + +[sub_resource type="StyleBoxFlat" id=4] +bg_color = Color( 0.207843, 0.219608, 0.317647, 1 ) +corner_radius_top_left = 10 +corner_radius_top_right = 10 +corner_radius_bottom_right = 10 +corner_radius_bottom_left = 10 + +[sub_resource type="StyleBoxFlat" id=5] +bg_color = Color( 0.862745, 0.435294, 0.329412, 1 ) +corner_radius_top_left = 10 +corner_radius_top_right = 10 +corner_radius_bottom_right = 10 +corner_radius_bottom_left = 10 + +[sub_resource type="StyleBoxFlat" id=6] +bg_color = Color( 0.941176, 0.772549, 0.517647, 1 ) +corner_radius_top_left = 10 +corner_radius_top_right = 10 +corner_radius_bottom_right = 10 +corner_radius_bottom_left = 10 + +[sub_resource type="StyleBoxFlat" id=2] +bg_color = Color( 0.862745, 0.435294, 0.329412, 1 ) +corner_radius_top_left = 10 +corner_radius_top_right = 10 +corner_radius_bottom_right = 10 +corner_radius_bottom_left = 10 + +[sub_resource type="StyleBoxFlat" id=7] +bg_color = Color( 0.941176, 0.772549, 0.517647, 1 ) +corner_radius_top_left = 10 +corner_radius_top_right = 10 +corner_radius_bottom_right = 10 +corner_radius_bottom_left = 10 + +[sub_resource type="DynamicFont" id=3] +size = 24 +font_data = ExtResource( 2 ) + +[sub_resource type="DynamicFont" id=8] +size = 24 +font_data = ExtResource( 2 ) + +[sub_resource type="StyleBoxFlat" id=9] +content_margin_left = 15.0 +content_margin_right = 5.0 +bg_color = Color( 0.207843, 0.219608, 0.317647, 1 ) +corner_radius_top_left = 10 +corner_radius_top_right = 10 +corner_radius_bottom_right = 10 +corner_radius_bottom_left = 10 + +[sub_resource type="StyleBoxFlat" id=11] +bg_color = Color( 0.952941, 0.933333, 0.847059, 1 ) +border_width_left = 2 +border_width_top = 2 +border_width_right = 2 +border_width_bottom = 2 +border_color = Color( 0.207843, 0.219608, 0.317647, 1 ) +corner_radius_top_left = 10 +corner_radius_top_right = 10 +corner_radius_bottom_right = 10 +corner_radius_bottom_left = 10 + +[sub_resource type="StyleBoxEmpty" id=12] + +[resource] +Button/fonts/font = SubResource( 1 ) +Button/styles/disabled = SubResource( 4 ) +Button/styles/focus = SubResource( 5 ) +Button/styles/hover = SubResource( 6 ) +Button/styles/normal = SubResource( 2 ) +Button/styles/pressed = SubResource( 7 ) +Label/colors/font_color = Color( 0, 0, 0, 1 ) +Label/fonts/font = SubResource( 3 ) +LineEdit/fonts/font = SubResource( 8 ) +LineEdit/styles/normal = SubResource( 9 ) +Panel/styles/panel = SubResource( 11 ) +PanelContainer/styles/panel = SubResource( 12 )