From 0c74bbcc0768283d5f0c44f2d72c2e2504884977 Mon Sep 17 00:00:00 2001 From: Marvin Dalheimer Date: Fri, 26 Jan 2024 21:06:59 +0100 Subject: [PATCH] reorder tables --- godot/scenes/crowd/crowd.tscn | 36 +++++++++++++++++----------------- godot/scenes/crowd/person.tscn | 8 +++++++- 2 files changed, 25 insertions(+), 19 deletions(-) diff --git a/godot/scenes/crowd/crowd.tscn b/godot/scenes/crowd/crowd.tscn index c8b7808..40898f4 100644 --- a/godot/scenes/crowd/crowd.tscn +++ b/godot/scenes/crowd/crowd.tscn @@ -7,6 +7,24 @@ position = Vector2(240, 232) script = ExtResource("1_y7wyj") +[node name="Tables" type="Node" parent="."] + +[node name="Table_1" type="Sprite2D" parent="Tables"] +position = Vector2(170, 199) +texture = ExtResource("2_kf115") + +[node name="Table_2" type="Sprite2D" parent="Tables"] +position = Vector2(359, 138) +texture = ExtResource("2_kf115") + +[node name="Table_3" type="Sprite2D" parent="Tables"] +position = Vector2(203, 84) +texture = ExtResource("2_kf115") + +[node name="Table_4" type="Sprite2D" parent="Tables"] +position = Vector2(319, 230) +texture = ExtResource("2_kf115") + [node name="Seats" type="Node" parent="."] [node name="Seat_1" type="Node2D" parent="Seats"] @@ -56,21 +74,3 @@ position = Vector2(159, 79) [node name="Seat_11" type="Node2D" parent="Seats"] position = Vector2(401, 133) - -[node name="Tables" type="Node" parent="."] - -[node name="Table_1" type="Sprite2D" parent="Tables"] -position = Vector2(170, 199) -texture = ExtResource("2_kf115") - -[node name="Table_2" type="Sprite2D" parent="Tables"] -position = Vector2(359, 138) -texture = ExtResource("2_kf115") - -[node name="Table_3" type="Sprite2D" parent="Tables"] -position = Vector2(203, 84) -texture = ExtResource("2_kf115") - -[node name="Table_4" type="Sprite2D" parent="Tables"] -position = Vector2(319, 230) -texture = ExtResource("2_kf115") diff --git a/godot/scenes/crowd/person.tscn b/godot/scenes/crowd/person.tscn index 91cc48e..0ff6a26 100644 --- a/godot/scenes/crowd/person.tscn +++ b/godot/scenes/crowd/person.tscn @@ -1,7 +1,13 @@ -[gd_scene load_steps=2 format=3 uid="uid://cl4fax7fbh2g7"] +[gd_scene load_steps=3 format=3 uid="uid://cl4fax7fbh2g7"] + +[ext_resource type="PackedScene" uid="uid://bvc6fbd5cgb0i" path="res://scenes/faces/face_curly.tscn" id="1_jccgy"] [sub_resource type="PlaceholderTexture2D" id="PlaceholderTexture2D_kbo53"] size = Vector2(20, 30) [node name="Person" type="Sprite2D"] texture = SubResource("PlaceholderTexture2D_kbo53") + +[node name="FaceCurly" parent="." instance=ExtResource("1_jccgy")] +position = Vector2(0, -16) +scale = Vector2(0.3, 0.3)