diff --git a/entity/coin_copper/coin_copper.gd b/entity/coin_copper/coin_copper.gd deleted file mode 100644 index c31701b..0000000 --- a/entity/coin_copper/coin_copper.gd +++ /dev/null @@ -1,27 +0,0 @@ -#extends RigidBody2D -# -#@export var sound_touch: AudioStreamPlayer -# -#var touched=false -#var was_sleeping: bool = false -# -#func set_touched(): -# touched=true -# -#func _on_sleeping_state_changed(): -# was_sleeping = true -# -#func _on_body_entered(body): -# if not was_sleeping: -# if touched==false and $Timer.is_stopped(): -# #$sound_touch.play() -# $Timer.start() -# var other_node=body -# if other_node.has_method("set_touched"): -# other_node.set_touched() -# -#func _on_body_exited(body): -# touched=false - - - diff --git a/entity/coin_copper/coin_copper.tscn b/entity/coin_copper/coin_copper.tscn index 3b9924f..99d56e2 100644 --- a/entity/coin_copper/coin_copper.tscn +++ b/entity/coin_copper/coin_copper.tscn @@ -1,7 +1,6 @@ -[gd_scene load_steps=9 format=3 uid="uid://c3kitncwpi42j"] +[gd_scene load_steps=8 format=3 uid="uid://c3kitncwpi42j"] [ext_resource type="PhysicsMaterial" uid="uid://c6kn1an85lccr" path="res://entity/coin_physics_material.tres" id="1_1fypc"] -[ext_resource type="Script" path="res://entity/coin_copper/coin_copper.gd" id="2_1r8w3"] [ext_resource type="Texture2D" uid="uid://dbdkb4vt7dh85" path="res://entity/coin_copper/coin_copper_4.png" id="2_4pvkj"] [ext_resource type="Texture2D" uid="uid://2vtvoj6ua3cb" path="res://entity/coin_copper/coin_copper_outline_2.png" id="3_dq1f7"] [ext_resource type="PackedScene" uid="uid://bk1vvq5rug01m" path="res://collector/collectible.tscn" id="4_npwn2"] @@ -21,7 +20,6 @@ max_contacts_reported = 1 contact_monitor = true linear_damp = 0.1 angular_damp = 0.1 -script = ExtResource("2_1r8w3") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] scale = Vector2(2, 2)