Coin state machines archives created but not functional

This commit is contained in:
2022-05-24 23:17:16 -04:00
parent a079d8aa37
commit 20e2fafcf4
5 changed files with 116 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
[gd_scene load_steps=7 format=2]
[gd_scene load_steps=6 format=2]
[ext_resource path="res://assets/coin.png" type="Texture" id=1]
[ext_resource path="res://Collectables/Coin/Coin.gd" type="Script" id=2]
[sub_resource type="CircleShape2D" id=1]
radius = 6.0
@@ -24,7 +23,6 @@ animations = [ {
[node name="coin" type="Area2D"]
collision_layer = 4
script = ExtResource( 2 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2( 9, 9 )
@@ -35,5 +33,3 @@ frames = SubResource( 4 )
frame = 1
playing = true
centered = false
[connection signal="body_entered" from="." to="." method="_on_coin_body_entered"]