voltorb-flip-godot/card.tscn

22 lines
756 B
Plaintext
Raw Permalink Normal View History

2024-01-18 13:12:42 +00:00
[gd_scene load_steps=4 format=3 uid="uid://75dh4vq6py7c"]
[ext_resource type="Texture2D" uid="uid://0s1pbr2dehpj" path="res://sprites/cards.png" id="1_oqjnt"]
[ext_resource type="Script" path="res://card.gd" id="2_oclvx"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_pqyl8"]
size = Vector2(30, 30)
[node name="Card" type="Sprite2D"]
texture_filter = 1
texture = ExtResource("1_oqjnt")
hframes = 6
frame = 4
script = ExtResource("2_oclvx")
[node name="CharacterBody2D" type="CharacterBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="CharacterBody2D"]
shape = SubResource("RectangleShape2D_pqyl8")
[connection signal="input_event" from="CharacterBody2D" to="." method="_on_character_body_2d_input_event"]