-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinteractable.tscn
28 lines (21 loc) · 1.12 KB
/
interactable.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[gd_scene load_steps=6 format=3 uid="uid://bwhd123es6ekd"]
[ext_resource type="Script" path="res://interacteable_script.gd" id="1_rh5s0"]
[ext_resource type="Shader" path="res://world.gdshader" id="2_bc2de"]
[ext_resource type="Texture2D" uid="uid://bqvrvx2s3vn2y" path="res://graphics/Top-Down Retro Interior/Shelf.png" id="3_d43ae"]
[sub_resource type="CircleShape2D" id="CircleShape2D_qjmeg"]
radius = 19.0263
[sub_resource type="ShaderMaterial" id="ShaderMaterial_64oay"]
shader = ExtResource("2_bc2de")
shader_parameter/outline_color = Color(1, 1, 1, 1)
shader_parameter/outline_enabled = false
[node name="reusable" type="Area2D"]
script = ExtResource("1_rh5s0")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_qjmeg")
[node name="object" type="Sprite2D" parent="."]
material = SubResource("ShaderMaterial_64oay")
position = Vector2(-4.76837e-07, -4.76837e-07)
scale = Vector2(0.369565, 0.356383)
texture = ExtResource("3_d43ae")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="body_exited" from="." to="." method="_on_body_exited"]