Tough_Crowd/godot/scenes/crowd/person.tscn

33 lines
1.0 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://cl4fax7fbh2g7"]
[ext_resource type="Script" path="res://scenes/crowd/person.gd" id="1_mx0i8"]
[ext_resource type="Script" path="res://scenes/crowd/audience_profile.gd" id="2_bsodr"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_5rd5b"]
[node name="Person" type="Node2D" node_paths=PackedStringArray("head", "body", "profile")]
script = ExtResource("1_mx0i8")
head = NodePath("Head")
body = NodePath("Body")
profile = NodePath("Profile")
expression = 1
[node name="Body" type="Node2D" parent="."]
position = Vector2(0, 15)
scale = Vector2(0.3, 0.3)
[node name="Head" type="Node2D" parent="."]
position = Vector2(0, -16)
scale = Vector2(0.3, 0.3)
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
shape = SubResource("RectangleShape2D_5rd5b")
[node name="Profile" type="Node2D" parent="."]
script = ExtResource("2_bsodr")
[node name="Speaker" type="AudioStreamPlayer2D" parent="."]
bus = &"Sound"