From 47c2acdada9435202809219ebfc344fcdb3b2bf1 Mon Sep 17 00:00:00 2001 From: hpham474 Date: Mon, 22 Nov 2021 22:06:11 -0600 Subject: [PATCH] Added Credits Scene --- godot_ship/scenes/Credits.tscn | 179 +++++++++++++++++++++++++++++++++ 1 file changed, 179 insertions(+) create mode 100644 godot_ship/scenes/Credits.tscn diff --git a/godot_ship/scenes/Credits.tscn b/godot_ship/scenes/Credits.tscn new file mode 100644 index 0000000..161d504 --- /dev/null +++ b/godot_ship/scenes/Credits.tscn @@ -0,0 +1,179 @@ +[gd_scene load_steps=6 format=2] + +[ext_resource path="res://assets/font/Minecraft.ttf" type="DynamicFontData" id=1] +[ext_resource path="res://script/options/Options.gd" type="Script" id=2] +[ext_resource path="res://light_theme.tres" type="Theme" id=3] + +[sub_resource type="DynamicFont" id=1] +size = 44 +outline_size = 2 +outline_color = Color( 0, 0, 0, 1 ) +font_data = ExtResource( 1 ) + +[sub_resource type="DynamicFont" id=2] +outline_size = 1 +outline_color = Color( 0, 0, 0, 1 ) +font_data = ExtResource( 1 ) + +[node name="Credits" type="Control"] +anchor_right = 1.0 +anchor_bottom = 1.0 +theme = ExtResource( 3 ) +script = ExtResource( 2 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Credits Label" type="Label" parent="."] +anchor_left = 0.5 +anchor_right = 0.5 +margin_left = -82.0 +margin_top = 49.0 +margin_right = 82.0 +margin_bottom = 93.0 +custom_fonts/font = SubResource( 1 ) +custom_colors/font_color_shadow = Color( 0, 0, 0, 1 ) +custom_constants/shadow_offset_y = 8 +text = "Credits" +align = 1 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Programmer" type="Label" parent="."] +margin_right = 248.0 +margin_bottom = 16.0 +custom_fonts/font = SubResource( 2 ) +text = "Lead Programmer:" +align = 2 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Programmer Titles" type="VBoxContainer" parent="."] +margin_left = 64.0 +margin_top = 104.0 +margin_right = 312.0 +margin_bottom = 180.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Programmer" type="Label" parent="Programmer Titles"] +margin_right = 248.0 +margin_bottom = 16.0 +custom_fonts/font = SubResource( 2 ) +text = "Lead Programmer:" +align = 2 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Design" type="Label" parent="Programmer Titles"] +margin_top = 20.0 +margin_right = 248.0 +margin_bottom = 36.0 +custom_fonts/font = SubResource( 2 ) +text = "Project Design:" +align = 2 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Art" type="Label" parent="Programmer Titles"] +margin_top = 40.0 +margin_right = 248.0 +margin_bottom = 56.0 +custom_fonts/font = SubResource( 2 ) +text = "Artist:" +align = 2 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Sound" type="Label" parent="Programmer Titles"] +margin_top = 60.0 +margin_right = 248.0 +margin_bottom = 76.0 +custom_fonts/font = SubResource( 2 ) +text = "Sound Engineer:" +align = 2 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Programmer Name" type="VBoxContainer" parent="."] +margin_left = 328.0 +margin_top = 104.0 +margin_right = 576.0 +margin_bottom = 180.0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Programmer" type="Label" parent="Programmer Name"] +margin_right = 248.0 +margin_bottom = 16.0 +custom_fonts/font = SubResource( 2 ) +text = "John Breaux" +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Design" type="Label" parent="Programmer Name"] +margin_top = 20.0 +margin_right = 248.0 +margin_bottom = 36.0 +custom_fonts/font = SubResource( 2 ) +text = "Chance Atkinson" +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Art" type="Label" parent="Programmer Name"] +margin_top = 40.0 +margin_right = 248.0 +margin_bottom = 56.0 +custom_fonts/font = SubResource( 2 ) +text = "Tommy Ngo" +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Sound" type="Label" parent="Programmer Name"] +margin_top = 60.0 +margin_right = 248.0 +margin_bottom = 76.0 +custom_fonts/font = SubResource( 2 ) +text = "Hien Pham" +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="Back" type="Button" parent="."] +margin_left = 16.0 +margin_top = 16.0 +margin_right = 83.0 +margin_bottom = 40.0 +focus_neighbour_left = NodePath(".") +focus_neighbour_top = NodePath(".") +focus_neighbour_right = NodePath("../Sliders/SFX Setting/SFX Slider") +focus_neighbour_bottom = NodePath("../Buttons/Light") +focus_next = NodePath("../Sliders/SFX Setting/SFX Slider") +focus_previous = NodePath(".") +text = "Back" +__meta__ = { +"_edit_use_anchors_": false +} + +[connection signal="pressed" from="Back" to="." method="_on_Button_pressed"]