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

46 lines
1.2 KiB (Stored with Git LFS)
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://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 )
[node name="TextureRect" type="TextureRect" parent="."]
margin_left = -233.0
margin_top = -177.0
margin_right = 367.0
margin_bottom = 263.0
rect_scale = Vector2( 0.8, 0.8 )
texture = ExtResource( 2 )
stretch_mode = 6
[node name="Area2D" type="Area2D" parent="."]
visible = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2( 222, 154 )
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 )
text = "I never put in much effort for shool "
align = 1
autowrap = true
[connection signal="gui_input" from="." to="." method="_on_Card_gui_input"]