Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/update scenes #91

Merged
merged 2 commits into from
Dec 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions frontend/Saver-22b-godot/main_scene.tscn

This file was deleted.

5 changes: 3 additions & 2 deletions frontend/Saver-22b-godot/project.godot
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@ config_version=5
[application]

config/name="Saver-22b-godot"
run/main_scene="res://main_scene.tscn"
run/main_scene="res://scenes/main.tscn"
config/features=PackedStringArray("4.2", "GL Compatibility")
boot_splash/bg_color=Color(0.141176, 0.141176, 0.141176, 1)
config/icon="res://icon.svg"

[display]

window/size/viewport_width=1920
window/size/viewport_height=1080
window/stretch/mode="viewport"
window/stretch/mode="canvas_items"

[dotnet]

Expand Down
96 changes: 96 additions & 0 deletions frontend/Saver-22b-godot/scenes/intro.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
[gd_scene format=3 uid="uid://cg773cnsx4rb0"]

[node name="Intro" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="Background" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -1.0
offset_bottom = -1.0
grow_horizontal = 2
grow_vertical = 2

[node name="Title" type="ColorRect" parent="."]
custom_minimum_size = Vector2(800, 250)
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -400.0
offset_top = -240.0
offset_right = 400.0
offset_bottom = 10.0005
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 1)

[node name="Label" type="Label" parent="Title"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 70
text = "SAVER 22B"
horizontal_alignment = 1
vertical_alignment = 1

[node name="QuitButtonContainer" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 100.0
offset_top = -280.0
offset_right = 600.0
offset_bottom = -160.0
grow_vertical = 0
color = Color(0, 0, 0, 1)

[node name="Button" type="Button" parent="QuitButtonContainer"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_type_variation = &"FlatButton"
theme_override_font_sizes/font_size = 70
text = "Quit"

[node name="PlayButtonContainer" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -600.0
offset_top = -280.0
offset_right = -100.0
offset_bottom = -160.0
grow_horizontal = 0
grow_vertical = 0
color = Color(0, 0, 0, 1)

[node name="Button" type="Button" parent="PlayButtonContainer"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_type_variation = &"FlatButton"
theme_override_font_sizes/font_size = 70
text = "Play"
7 changes: 7 additions & 0 deletions frontend/Saver-22b-godot/scenes/main.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[gd_scene load_steps=2 format=3 uid="uid://cjvywwt132ot5"]

[ext_resource type="PackedScene" uid="uid://cg773cnsx4rb0" path="res://scenes/intro.tscn" id="1_hqty0"]

[node name="Main" type="Node"]

[node name="Intro" parent="." instance=ExtResource("1_hqty0")]
19 changes: 19 additions & 0 deletions frontend/Saver-22b-godot/scenes/select_village.tscn
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[gd_scene format=3 uid="uid://cl8vvgnebwyi1"]

[node name="SelectVillage" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="Background" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -1.0
offset_bottom = -1.0
grow_horizontal = 2
grow_vertical = 2
Loading