2020-10-14 00:27:37 +02:00
|
|
|
[gd_scene load_steps=6 format=2]
|
2020-10-13 13:04:12 +02:00
|
|
|
|
|
|
|
[ext_resource path="res://card.gd" type="Script" id=1]
|
2020-10-13 14:16:36 +02:00
|
|
|
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=2]
|
2020-10-13 13:04:12 +02:00
|
|
|
|
2020-10-14 00:27:37 +02:00
|
|
|
[sub_resource type="StyleBoxFlat" id=1]
|
|
|
|
bg_color = Color( 0.45098, 0.584314, 0.843137, 1 )
|
2020-10-14 00:04:47 +02:00
|
|
|
border_color = Color( 0.0627451, 0.141176, 0.176471, 1 )
|
|
|
|
corner_radius_top_left = 10
|
|
|
|
corner_radius_top_right = 10
|
|
|
|
corner_radius_bottom_right = 10
|
|
|
|
corner_radius_bottom_left = 10
|
|
|
|
shadow_color = Color( 0, 0, 0, 0.392157 )
|
|
|
|
shadow_size = 4
|
|
|
|
shadow_offset = Vector2( -2, 2 )
|
|
|
|
|
2020-10-14 00:27:37 +02:00
|
|
|
[sub_resource type="RectangleShape2D" id=2]
|
2020-10-13 13:04:12 +02:00
|
|
|
extents = Vector2( 105.74, 143.46 )
|
|
|
|
|
2020-10-14 00:27:37 +02:00
|
|
|
[sub_resource type="StyleBoxFlat" id=3]
|
|
|
|
bg_color = Color( 1, 1, 1, 0.243137 )
|
|
|
|
corner_radius_top_left = 10
|
|
|
|
corner_radius_top_right = 10
|
|
|
|
corner_radius_bottom_right = 10
|
|
|
|
corner_radius_bottom_left = 10
|
|
|
|
|
2020-10-13 18:13:42 +02:00
|
|
|
[node name="Card" type="Node2D" groups=[
|
|
|
|
"cards",
|
|
|
|
]]
|
2020-10-13 13:04:12 +02:00
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
2020-10-14 00:04:47 +02:00
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
|
|
margin_left = -105.0
|
|
|
|
margin_top = -291.0
|
|
|
|
margin_right = 104.0
|
|
|
|
margin_bottom = -2.0
|
|
|
|
mouse_filter = 2
|
2020-10-14 00:27:37 +02:00
|
|
|
custom_styles/panel = SubResource( 1 )
|
2020-10-14 00:04:47 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-10-13 14:16:36 +02:00
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
2020-10-14 00:04:47 +02:00
|
|
|
visible = false
|
2020-10-13 14:16:36 +02:00
|
|
|
margin_left = -103.0
|
2020-10-13 18:58:30 +02:00
|
|
|
margin_top = -290.336
|
2020-10-13 14:16:36 +02:00
|
|
|
margin_right = 103.0
|
2020-10-13 18:58:30 +02:00
|
|
|
margin_bottom = -1.33582
|
2020-10-13 14:16:36 +02:00
|
|
|
mouse_filter = 2
|
|
|
|
color = Color( 0.105882, 0.67451, 0.847059, 1 )
|
2020-10-13 13:04:12 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-10-13 14:16:36 +02:00
|
|
|
[node name="Area2D" type="Area2D" parent="."]
|
2020-10-13 18:58:30 +02:00
|
|
|
position = Vector2( 0, -145.336 )
|
2020-10-13 14:16:36 +02:00
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
|
|
|
position = Vector2( -6.10352e-05, 0.00012207 )
|
2020-10-14 00:27:37 +02:00
|
|
|
shape = SubResource( 2 )
|
2020-10-13 14:16:36 +02:00
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="."]
|
2020-10-13 18:13:42 +02:00
|
|
|
margin_left = -89.0
|
2020-10-14 00:27:37 +02:00
|
|
|
margin_top = -276.0
|
2020-10-13 18:13:42 +02:00
|
|
|
margin_right = 85.0
|
2020-10-14 00:27:37 +02:00
|
|
|
margin_bottom = -185.0
|
|
|
|
custom_fonts/font = ExtResource( 2 )
|
|
|
|
custom_colors/font_color = Color( 0, 0, 0, 1 )
|
|
|
|
text = "Name"
|
|
|
|
autowrap = true
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="ColorRect2" type="Panel" parent="."]
|
|
|
|
margin_left = -97.0
|
|
|
|
margin_top = -169.0
|
|
|
|
margin_right = 94.0
|
|
|
|
margin_bottom = -10.0
|
|
|
|
mouse_filter = 2
|
|
|
|
custom_styles/panel = SubResource( 3 )
|
2020-10-14 00:46:41 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-10-14 00:27:37 +02:00
|
|
|
|
|
|
|
[node name="Description" type="Label" parent="."]
|
|
|
|
margin_left = -92.0
|
|
|
|
margin_top = -164.0
|
|
|
|
margin_right = 133.0
|
|
|
|
margin_bottom = 23.0
|
|
|
|
rect_scale = Vector2( 0.75, 0.75 )
|
2020-10-13 14:16:36 +02:00
|
|
|
custom_fonts/font = ExtResource( 2 )
|
|
|
|
custom_colors/font_color = Color( 0, 0, 0, 1 )
|
2020-10-14 00:27:37 +02:00
|
|
|
text = "Description"
|
2020-10-13 18:13:42 +02:00
|
|
|
autowrap = true
|
2020-10-13 14:16:36 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
[connection signal="mouse_entered" from="Area2D" to="." method="_mouse_entered"]
|
|
|
|
[connection signal="mouse_exited" from="Area2D" to="." method="_mouse_exited"]
|