Files
Embodiment/coin.tscn
tiffanyfrias10 85ee3e7a07 Coin + Countdown Timer
Added a coin for player to pick up and a countdown timer
2021-11-23 11:27:33 -06:00

21 lines
597 B
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://Sprites/coin.png" type="Texture" id=1]
[ext_resource path="res://coin.gd" type="Script" id=2]
[sub_resource type="CircleShape2D" id=1]
radius = 6.38067
[node name="Node2D" type="Area2D"]
script = ExtResource( 2 )
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 28.3217, 41.6257 )
texture = ExtResource( 1 )
[node name="Collision" type="CollisionShape2D" parent="."]
position = Vector2( 28.4389, 40.6703 )
shape = SubResource( 1 )
[connection signal="body_entered" from="." to="." method="_on_Node2D_body_entered"]