Frame-of-Mind/src/base_scenes/Card.tscn

42 lines
1.2 KiB
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://scripts/Card.gd" type="Script" id=1]
[ext_resource path="res://assets/textures/cards/card1.png" type="Texture" id=2]
[ext_resource path="res://assets/fonts/handwriting-theme.tres" type="Theme" id=3]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 221, 154 )
[node name="Card" type="Panel"]
self_modulate = Color( 1, 1, 1, 0 )
anchor_right = 1.0
anchor_bottom = 1.0
margin_right = -1920.0
margin_bottom = -1080.0
script = ExtResource( 1 )
texture_norm = ExtResource( 2 )
[node name="TextureButton" type="TextureButton" parent="."]
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource( 1 )
[node name="Label" type="Label" parent="."]
modulate = Color( 0.0431373, 0.105882, 0.278431, 0.776471 )
margin_left = -154.0
margin_top = -73.0
margin_right = 177.0
margin_bottom = 129.0
theme = ExtResource( 3 )
align = 1
autowrap = true
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
[connection signal="gui_input" from="." to="." method="_on_Card_gui_input"]