update to godot v4
This commit is contained in:
parent
95c7976f14
commit
67e71181f6
35 changed files with 795 additions and 494 deletions
|
@ -1,85 +1,64 @@
|
|||
[gd_scene load_steps=6 format=2]
|
||||
[gd_scene load_steps=6 format=3 uid="uid://cj4uqgtnylppu"]
|
||||
|
||||
[ext_resource path="res://src/Main.gd" type="Script" id=1]
|
||||
[ext_resource path="res://src/Taquin.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://src/NewGamePanel.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://src/DepthButton.tscn" type="PackedScene" id=4]
|
||||
[ext_resource path="res://assets/taqin_theme.tres" type="Theme" id=5]
|
||||
[ext_resource type="Script" path="res://src/Main.gd" id="1"]
|
||||
[ext_resource type="PackedScene" path="res://src/Taquin.tscn" id="2"]
|
||||
[ext_resource type="PackedScene" path="res://src/NewGamePanel.tscn" id="3"]
|
||||
[ext_resource type="PackedScene" path="res://src/DepthButton.tscn" id="4"]
|
||||
[ext_resource type="Theme" path="res://assets/taqin_theme.tres" id="5"]
|
||||
|
||||
[node name="Main" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource( 5 )
|
||||
script = ExtResource( 1 )
|
||||
theme = ExtResource("5")
|
||||
script = ExtResource("1")
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Background" type="Panel" parent="."]
|
||||
layout_mode = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
theme = ExtResource( 5 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
theme = ExtResource("5")
|
||||
|
||||
[node name="GridContainer" type="GridContainer" parent="."]
|
||||
layout_mode = 0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 20.0
|
||||
margin_top = 20.0
|
||||
margin_right = -20.0
|
||||
margin_bottom = -20.0
|
||||
offset_left = 20.0
|
||||
offset_top = 20.0
|
||||
offset_right = -20.0
|
||||
offset_bottom = -20.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
custom_constants/vseparation = 10
|
||||
custom_constants/hseparation = 10
|
||||
theme_override_constants/h_separation = 10
|
||||
theme_override_constants/v_separation = 10
|
||||
columns = 2
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Taquin" parent="GridContainer" groups=[
|
||||
"Persist",
|
||||
] instance=ExtResource( 2 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_right = 540.0
|
||||
margin_bottom = 560.0
|
||||
[node name="Taquin" parent="GridContainer" groups=["Persist"] instance=ExtResource("2")]
|
||||
layout_mode = 2
|
||||
autoload_fresh_game = false
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="GridContainer"]
|
||||
margin_left = 550.0
|
||||
margin_right = 984.0
|
||||
margin_bottom = 560.0
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
alignment = 1
|
||||
|
||||
[node name="New Game" parent="GridContainer/VBoxContainer" instance=ExtResource( 4 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 206.0
|
||||
margin_right = 434.0
|
||||
margin_bottom = 276.0
|
||||
rect_min_size = Vector2( 0, 70 )
|
||||
[node name="New Game" parent="GridContainer/VBoxContainer" instance=ExtResource("4")]
|
||||
custom_minimum_size = Vector2(0, 70)
|
||||
layout_mode = 2
|
||||
text = "New Game"
|
||||
|
||||
[node name="Hints" parent="GridContainer/VBoxContainer" instance=ExtResource( 4 )]
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 284.0
|
||||
margin_right = 434.0
|
||||
margin_bottom = 354.0
|
||||
rect_min_size = Vector2( 0, 70 )
|
||||
[node name="Hints" parent="GridContainer/VBoxContainer" instance=ExtResource("4")]
|
||||
custom_minimum_size = Vector2(0, 70)
|
||||
layout_mode = 2
|
||||
text = "Hints"
|
||||
|
||||
[node name="NewGamePanel" parent="." instance=ExtResource( 3 )]
|
||||
rect_pivot_offset = Vector2( 4, 4 )
|
||||
[connection signal="state_changed" from="GridContainer/Taquin" to="." method="_on_Taquin_state_changed"]
|
||||
[connection signal="pressed" from="GridContainer/VBoxContainer/New Game" to="." method="_on_New_game_pressed"]
|
||||
[connection signal="button_down" from="GridContainer/VBoxContainer/Hints" to="GridContainer/Taquin" method="_on_Hints_button_down"]
|
||||
[connection signal="button_up" from="GridContainer/VBoxContainer/Hints" to="GridContainer/Taquin" method="_on_Hints_button_up"]
|
||||
[connection signal="about_to_show" from="NewGamePanel" to="." method="_on_NewGamePanel_about_to_show"]
|
||||
[node name="NewGamePanel" parent="." instance=ExtResource("3")]
|
||||
pivot_offset = Vector2(4, 4)
|
||||
|
||||
[connection signal="about_to_popup" from="NewGamePanel" to="." method="_on_NewGamePanel_about_to_show"]
|
||||
[connection signal="popup_hide" from="NewGamePanel" to="." method="_on_NewGamePanel_popup_hide"]
|
||||
[connection signal="start_triggered" from="NewGamePanel" to="GridContainer/Taquin" method="_on_NewGamePanel_start_triggered"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue