53 lines
1.3 KiB
Plaintext
53 lines
1.3 KiB
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://src/Main.gd" type="Script" id=1]
|
|
[ext_resource path="res://src/Taquin.tscn" type="PackedScene" id=2]
|
|
|
|
[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
|
|
|
|
[node name="Main" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( 1 )
|
|
|
|
[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
|
|
|
|
[node name="Taquin" parent="HSplitContainer" instance=ExtResource( 2 )]
|
|
margin_right = 540.0
|
|
margin_bottom = 560.0
|
|
rows = 4
|
|
columns = 4
|
|
|
|
[node name="VSplitContainer" type="VSplitContainer" parent="HSplitContainer"]
|
|
margin_left = 552.0
|
|
margin_right = 984.0
|
|
margin_bottom = 560.0
|
|
|
|
[node name="Button" type="Button" parent="HSplitContainer/VSplitContainer"]
|
|
margin_right = 432.0
|
|
margin_bottom = 560.0
|
|
text = "New game"
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
material = SubResource( 2 )
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
[connection signal="solved" from="HSplitContainer/Taquin" to="." method="_on_Taquin_solved"]
|