37 lines
1.5 KiB
Plaintext
37 lines
1.5 KiB
Plaintext
|
[gd_scene load_steps=7 format=3 uid="uid://cgltpx2pqqn2y"]
|
||
|
|
||
|
[ext_resource type="Script" uid="uid://crnunnenua5d3" path="res://Scripts/Card.gd" id="1_0qqmn"]
|
||
|
[ext_resource type="Texture2D" uid="uid://2okarpdi5eb4" path="res://Assets/Sprites/洋葱.png" id="1_3p273"]
|
||
|
[ext_resource type="Texture2D" uid="uid://c4alegnua0t02" path="res://Assets/Sprites/白菜.png" id="1_h8wm0"]
|
||
|
[ext_resource type="FontFile" uid="uid://bnipxsg3yhkk8" path="res://Assets/Fonts/文字主题.ttf" id="3_3m7nw"]
|
||
|
[ext_resource type="Texture2D" uid="uid://ehvjk6ocgrra" path="res://Assets/Sprites/胡萝卜.png" id="4_wejov"]
|
||
|
[ext_resource type="Texture2D" uid="uid://4ou015x3wv70" path="res://Assets/Sprites/菜篮.png" id="5_c6tr3"]
|
||
|
|
||
|
[node name="Card" type="TextureButton"]
|
||
|
offset_left = -24.0
|
||
|
offset_top = -32.0
|
||
|
offset_right = 24.0
|
||
|
offset_bottom = 32.0
|
||
|
texture_normal = ExtResource("1_3p273")
|
||
|
script = ExtResource("1_0qqmn")
|
||
|
onion_texture = ExtResource("1_3p273")
|
||
|
cabbage_texture = ExtResource("1_h8wm0")
|
||
|
carrot_texture = ExtResource("4_wejov")
|
||
|
bucket_texture = ExtResource("5_c6tr3")
|
||
|
|
||
|
[node name="Value" type="Label" parent="."]
|
||
|
layout_mode = 0
|
||
|
offset_left = 15.0
|
||
|
offset_top = 3.0
|
||
|
offset_right = 33.0
|
||
|
offset_bottom = 17.0
|
||
|
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
||
|
theme_override_fonts/font = ExtResource("3_3m7nw")
|
||
|
theme_override_font_sizes/font_size = 12
|
||
|
text = "0"
|
||
|
horizontal_alignment = 1
|
||
|
vertical_alignment = 1
|
||
|
|
||
|
[connection signal="button_down" from="." to="." method="_on_button_down"]
|
||
|
[connection signal="button_up" from="." to="." method="_on_button_up"]
|