PirateTreasureHunt/scenes/TestScenes/PlayerCoin.tscn

17 lines
599 B
Plaintext
Raw Permalink Normal View History

2022-08-02 16:26:23 +02:00
[gd_scene load_steps=4 format=2]
[ext_resource path="res://scenes/Coin.tscn" type="PackedScene" id=1]
[ext_resource path="res://scenes/Player.tscn" type="PackedScene" id=2]
[ext_resource path="res://scenes/TestScenes/PlayerCoin.gd" type="Script" id=3]
[node name="Node2D" type="Node2D"]
script = ExtResource( 3 )
[node name="PlayerChar" parent="." instance=ExtResource( 2 )]
position = Vector2( 276, 241 )
[node name="Coin" parent="." instance=ExtResource( 1 )]
position = Vector2( 436, 266 )
[connection signal="coin_collected" from="PlayerChar" to="." method="_on_PlayerChar_coin_collected"]