-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfurniture.tscn
32 lines (24 loc) · 1.11 KB
/
furniture.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
29
30
31
32
[gd_scene load_steps=6 format=3 uid="uid://hipogrh7cmda"]
[ext_resource type="Script" path="res://throwable.gd" id="1_55yym"]
[ext_resource type="PhysicsMaterial" uid="uid://c0p4l1b2om5c6" path="res://physics_materials/bouncy.tres" id="1_xjgeg"]
[ext_resource type="Texture2D" uid="uid://b448fbkgq0mwq" path="res://assets/items/furniture.png" id="2_q5epb"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_to6r7"]
size = Vector2(16, 16)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_6meqe"]
size = Vector2(16, 16)
[node name="Furniture" type="RigidBody2D"]
z_index = -10
collision_layer = 4
inertia = 3.0
physics_material_override = ExtResource("1_xjgeg")
linear_damp = 4.0
angular_damp = 4.0
script = ExtResource("1_55yym")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_q5epb")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_to6r7")
[node name="Area2D" type="Area2D" parent="."]
collision_mask = 2
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("RectangleShape2D_6meqe")