Files
JumpRopeOldTech/coin.tscn
T
2026-10-17 19:56:32 -05:00

33 lines
1.3 KiB
Plaintext

[gd_scene format=3 uid="uid://kstmxoa4dx55"]
[ext_resource type="Script" uid="uid://cvboxlqkhn1ef" path="res://coin.gd" id="1_0t63x"]
[ext_resource type="Texture2D" uid="uid://dftfxivu3peog" path="res://art/coin.png" id="1_d5gmh"]
[ext_resource type="AudioStream" uid="uid://f2xmq6cgiiwj" path="res://sound/coin.wav" id="3_v7riw"]
[ext_resource type="Texture2D" uid="uid://cr2wdd0yn1syy" path="res://art/coin_glow.png" id="4_pdq0q"]
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_6qpsl"]
height = 26.0
[node name="Coin" type="Node2D" unique_id=1739014101]
script = ExtResource("1_0t63x")
[node name="PointLight2D" type="PointLight2D" parent="." unique_id=2052227436]
color = Color(0, 0.5492828, 0.05646421, 1)
energy = 4.0
texture = ExtResource("4_pdq0q")
texture_scale = 1.3
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=813041394]
texture = ExtResource("1_d5gmh")
[node name="Area2D" type="Area2D" parent="." unique_id=170499029]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1865546056]
shape = SubResource("CapsuleShape2D_6qpsl")
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="." unique_id=1778061188]
stream = ExtResource("3_v7riw")
volume_db = 1.0
[connection signal="body_entered" from="Area2D" to="." method="on_contact"]