button?
This commit is contained in:
17
entities/button/button.tscn
Normal file
17
entities/button/button.tscn
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://q3f3j7p3t43w"]
|
||||
|
||||
[ext_resource type="SpriteFrames" uid="uid://b31mdngbhms7k" path="res://entities/button/button.aseprite" id="1_4tlb3"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_4tlb3"]
|
||||
radius = 13.0
|
||||
|
||||
[node name="Button" type="Node2D"]
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = ExtResource("1_4tlb3")
|
||||
animation = &"Press"
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
shape = SubResource("CircleShape2D_4tlb3")
|
||||
Reference in New Issue
Block a user