2020-02-24 22:56:51 +01:00
|
|
|
[gd_scene load_steps=6 format=2]
|
2019-11-20 13:54:16 +01:00
|
|
|
|
2019-11-26 13:57:50 +01:00
|
|
|
[ext_resource path="res://src/Main.gd" type="Script" id=1]
|
|
|
|
[ext_resource path="res://src/Taquin.tscn" type="PackedScene" id=2]
|
2020-02-19 13:43:49 +01:00
|
|
|
[ext_resource path="res://assets/taqin_theme.tres" type="Theme" id=5]
|
2019-11-21 00:25:53 +01:00
|
|
|
|
2020-01-04 19:22:11 +01:00
|
|
|
[sub_resource type="Shader" id=1]
|
|
|
|
code = "shader_type canvas_item;
|
|
|
|
|
|
|
|
uniform float blur_amount : hint_range(0, 5);
|
|
|
|
|
|
|
|
void fragment() {
|
|
|
|
COLOR = textureLod(SCREEN_TEXTURE, SCREEN_UV, blur_amount);
|
|
|
|
}"
|
|
|
|
|
|
|
|
[sub_resource type="ShaderMaterial" id=2]
|
|
|
|
shader = SubResource( 1 )
|
|
|
|
shader_param/blur_amount = null
|
|
|
|
|
2019-11-21 00:25:53 +01:00
|
|
|
[node name="Main" type="Control"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2020-02-19 13:43:49 +01:00
|
|
|
theme = ExtResource( 5 )
|
2019-11-26 13:57:50 +01:00
|
|
|
script = ExtResource( 1 )
|
2020-02-07 13:39:41 +01:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2019-11-21 00:25:53 +01:00
|
|
|
|
2020-02-19 13:43:49 +01:00
|
|
|
[node name="Background" type="Panel" parent="."]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
theme = ExtResource( 5 )
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2019-12-10 13:55:03 +01:00
|
|
|
[node name="HSplitContainer" type="HSplitContainer" parent="."]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = 20.0
|
|
|
|
margin_top = 20.0
|
|
|
|
margin_right = -20.0
|
|
|
|
margin_bottom = -20.0
|
2020-02-07 13:39:41 +01:00
|
|
|
custom_constants/separation = 0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2019-12-10 13:55:03 +01:00
|
|
|
|
|
|
|
[node name="Taquin" parent="HSplitContainer" instance=ExtResource( 2 )]
|
|
|
|
margin_right = 540.0
|
|
|
|
margin_bottom = 560.0
|
2020-01-04 19:22:11 +01:00
|
|
|
rows = 4
|
|
|
|
columns = 4
|
2019-12-10 13:55:03 +01:00
|
|
|
|
2020-02-07 13:39:41 +01:00
|
|
|
[node name="VSplitContainer" type="VBoxContainer" parent="HSplitContainer"]
|
|
|
|
margin_left = 548.0
|
2019-12-10 13:55:03 +01:00
|
|
|
margin_right = 984.0
|
|
|
|
margin_bottom = 560.0
|
2020-02-07 13:39:41 +01:00
|
|
|
alignment = 1
|
2019-12-10 13:55:03 +01:00
|
|
|
|
2020-02-19 13:43:49 +01:00
|
|
|
[node name="New game" type="Button" parent="HSplitContainer/VSplitContainer"]
|
|
|
|
margin_top = 233.0
|
2020-02-07 13:39:41 +01:00
|
|
|
margin_right = 436.0
|
|
|
|
margin_bottom = 278.0
|
2020-02-19 13:43:49 +01:00
|
|
|
text = "NEW GAME"
|
2020-02-07 13:39:41 +01:00
|
|
|
|
|
|
|
[node name="Hints" type="Button" parent="HSplitContainer/VSplitContainer"]
|
|
|
|
margin_top = 282.0
|
|
|
|
margin_right = 436.0
|
2020-02-19 13:43:49 +01:00
|
|
|
margin_bottom = 327.0
|
|
|
|
text = "HINTS"
|
2020-01-04 19:22:11 +01:00
|
|
|
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
|
|
material = SubResource( 2 )
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2020-02-07 13:46:50 +01:00
|
|
|
margin_left = 0.510254
|
|
|
|
margin_right = 0.510254
|
2020-02-07 13:39:41 +01:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-02-24 22:56:51 +01:00
|
|
|
[connection signal="state_changed" from="HSplitContainer/Taquin" to="." method="_on_Taquin_state_changed"]
|