Coin + Countdown Timer

Added a coin for player to pick up and a countdown timer
This commit is contained in:
tiffanyfrias10
2021-11-23 11:27:33 -06:00
parent d4302081be
commit 85ee3e7a07
7 changed files with 154 additions and 1 deletions

20
coin.tscn Normal file
View File

@@ -0,0 +1,20 @@
[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"]