mirror of
https://github.com/Steffo99/swear-jar.git
synced 2024-11-21 23:34:18 +00:00
Delete empty script
This commit is contained in:
parent
823d237034
commit
293425a9ad
2 changed files with 1 additions and 30 deletions
|
@ -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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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="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://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="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"]
|
[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
|
contact_monitor = true
|
||||||
linear_damp = 0.1
|
linear_damp = 0.1
|
||||||
angular_damp = 0.1
|
angular_damp = 0.1
|
||||||
script = ExtResource("2_1r8w3")
|
|
||||||
|
|
||||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||||
scale = Vector2(2, 2)
|
scale = Vector2(2, 2)
|
||||||
|
|
Loading…
Reference in a new issue