diff --git a/engine/environment.tscn b/engine/environment.tscn index d244f47..a325213 100644 --- a/engine/environment.tscn +++ b/engine/environment.tscn @@ -1,3 +1,106 @@ -[gd_scene format=3 uid="uid://b827xc3j75sb6"] +[gd_scene load_steps=2 format=3 uid="uid://b827xc3j75sb6"] + +[sub_resource type="Theme" id="Theme_1d1pm"] [node name="Node3D" type="Node3D"] + +[node name="Camera3D" type="Camera3D" parent="."] + +[node name="CanvasLayer" type="CanvasLayer" parent="Camera3D"] + +[node name="Disclaimer" type="Label" parent="Camera3D/CanvasLayer"] +offset_right = 1151.0 +offset_bottom = 650.0 +text = "RTR +Early Prototype +All Content Subject to Change." +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Button_Container" type="Control" parent="Camera3D/CanvasLayer"] +layout_mode = 3 +anchors_preset = 0 +offset_left = 304.5 +offset_top = 450.0 +offset_right = 847.5 +offset_bottom = 481.0 + +[node name="Continue" type="Button" parent="Camera3D/CanvasLayer/Button_Container"] +offset_right = 79.0 +offset_bottom = 31.0 +theme = SubResource("Theme_1d1pm") +disabled = true +toggle_mode = true +text = "Continue" + +[node name="New_Game" type="Button" parent="Camera3D/CanvasLayer/Button_Container"] +offset_left = 150.0 +offset_right = 243.0 +offset_bottom = 31.0 +theme = SubResource("Theme_1d1pm") +toggle_mode = true +text = "New Game" + +[node name="Options" type="Button" parent="Camera3D/CanvasLayer/Button_Container"] +offset_left = 300.0 +offset_right = 393.0 +offset_bottom = 31.0 +theme = SubResource("Theme_1d1pm") +toggle_mode = true +text = "Options" + +[node name="Quit" type="Button" parent="Camera3D/CanvasLayer/Button_Container"] +layout_mode = 1 +anchors_preset = 1 +anchor_left = 1.0 +anchor_right = 1.0 +offset_left = -93.0 +offset_bottom = 31.0 +grow_horizontal = 0 +theme = SubResource("Theme_1d1pm") +toggle_mode = true +text = "Quit" + +[node name="Copyright" type="Label" parent="Camera3D/CanvasLayer"] +anchors_preset = 7 +anchor_left = 0.5 +anchor_top = 1.0 +anchor_right = 0.5 +anchor_bottom = 1.0 +offset_left = -250.0 +offset_top = -45.0 +offset_right = 250.0 +grow_horizontal = 2 +grow_vertical = 0 +text = "Copyright © 2024 Aidan Mullen" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="Version" type="Label" parent="Camera3D/CanvasLayer"] +anchors_preset = 3 +anchor_left = 1.0 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_left = -100.0 +offset_top = -45.0 +grow_horizontal = 0 +grow_vertical = 0 +text = "v0.1.0-a.1" +horizontal_alignment = 1 +vertical_alignment = 1 + +[node name="To-Do" type="Label" parent="Camera3D/CanvasLayer"] +offset_right = 500.0 +offset_bottom = 45.0 +text = "To-Do: + - Title-screen background + - 3D environment modeled in Blender. + - Texture will have to be baked and exported at various resolutions. + - Create shader to apply gaussian blur to a rectangle to place in front of the viewport; blurring the background. +- Create theme for UI. + - Fade animations for buttons. + - Possibly have no background for the buttons; instead having an outline that changes. + - View Fontforge to create custom fonts. +- Use C/C++ API to implement functions for each button." +vertical_alignment = 1 diff --git a/engine/project.godot b/engine/project.godot index e3c7b88..e3aedc9 100644 --- a/engine/project.godot +++ b/engine/project.godot @@ -13,4 +13,12 @@ config_version=5 config/name="RTR" run/main_scene="res://environment.tscn" config/features=PackedStringArray("4.2", "Forward Plus") +boot_splash/bg_color=Color(0, 0, 0, 1) +boot_splash/show_image=false config/icon="res://icon.svg" + +[display] + +window/size/mode=4 +window/stretch/mode="canvas_items" +window/stretch/aspect="expand"