Compare commits
1 Commits
developmen
...
laurins-la
| Author | SHA1 | Date |
|---|---|---|
|
|
7982f97301 |
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 3.4 MiB |
|
|
@ -1,8 +1,8 @@
|
||||||
extends Station
|
extends Station
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
%PlayerDetect.body_entered.connect(func(body):
|
%PlayerDetect.body_entered.connect(func(body):
|
||||||
if visible and body is PlayerController:
|
if visible and body is PlayerController:
|
||||||
State.room.save_game.subway_burnout = true
|
State.room.save_game.subway_burnout = true
|
||||||
await Main.curtain.black()
|
await Main.curtain.black()
|
||||||
State.room.proceed.emit(Main.adulthood_room_path))
|
State.room.proceed.emit(Main.adulthood_room_path))
|
||||||
|
|
|
||||||
|
|
@ -251,109 +251,6 @@ autoplay = true
|
||||||
panning_strength = 0.5
|
panning_strength = 0.5
|
||||||
bus = &"sfx"
|
bus = &"sfx"
|
||||||
|
|
||||||
[node name="Collision" type="StaticBody3D" parent="Logic/Fahrplan/hirschfeld" unique_id=1981379044]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.015596004, -0.007891655, 0.018885009)
|
|
||||||
|
|
||||||
[node name="World Boundary (Floor)" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=836708414]
|
|
||||||
shape = SubResource("WorldBoundaryShape3D_rkl48")
|
|
||||||
debug_color = Color(0.5019608, 0.003921569, 0.9607843, 1)
|
|
||||||
|
|
||||||
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=1454083655]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.143, 1, -66.5)
|
|
||||||
shape = SubResource("BoxShape3D_yfan7")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D4" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=401580690]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.143, 1, 0.25)
|
|
||||||
shape = SubResource("BoxShape3D_yfan7")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D5" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=1029621015]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 1.8523458, 1, -1.1576476)
|
|
||||||
shape = SubResource("BoxShape3D_il5go")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D7" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=1662055133]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 1.567, 1.031, -2)
|
|
||||||
shape = SubResource("BoxShape3D_iq74k")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D8" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=402007193]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -1.567, 1.031, -2)
|
|
||||||
shape = SubResource("BoxShape3D_biibr")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D9" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=1576481142]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 1.031, -2)
|
|
||||||
shape = SubResource("BoxShape3D_rum2v")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D10" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=1452079625]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 2.5282154e-07, 1.031, -7.783883)
|
|
||||||
shape = SubResource("BoxShape3D_ii0j1")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D11" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=1008810294]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -9.45743)
|
|
||||||
shape = SubResource("BoxShape3D_ltric")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D12" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=541853028]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 2.5282154e-07, 1.031, -17.783882)
|
|
||||||
shape = SubResource("BoxShape3D_ii0j1")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D13" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=677607764]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -19.45743)
|
|
||||||
shape = SubResource("BoxShape3D_ltric")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D14" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=1293358347]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -16.102852)
|
|
||||||
shape = SubResource("BoxShape3D_ltric")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D15" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=985616557]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 2.5282154e-07, 1.031, -27.783882)
|
|
||||||
shape = SubResource("BoxShape3D_ii0j1")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D16" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=801985133]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -29.45743)
|
|
||||||
shape = SubResource("BoxShape3D_ltric")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D17" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=197748420]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -26.102852)
|
|
||||||
shape = SubResource("BoxShape3D_ltric")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D18" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=761326610]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 2.5282154e-07, 1.031, -37.783882)
|
|
||||||
shape = SubResource("BoxShape3D_ii0j1")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D19" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=1342889226]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -39.457428)
|
|
||||||
shape = SubResource("BoxShape3D_ltric")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D20" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=1047602758]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -36.10285)
|
|
||||||
shape = SubResource("BoxShape3D_ltric")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D21" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=1841460790]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 2.5282154e-07, 1.031, -47.783882)
|
|
||||||
shape = SubResource("BoxShape3D_ii0j1")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D22" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=312700908]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -49.457428)
|
|
||||||
shape = SubResource("BoxShape3D_ltric")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D23" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=1015805918]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -46.10285)
|
|
||||||
shape = SubResource("BoxShape3D_ltric")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D24" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=1122736393]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 2.5282154e-07, 1.031, -57.783882)
|
|
||||||
shape = SubResource("BoxShape3D_ii0j1")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D26" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=2021914520]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -56.10285)
|
|
||||||
shape = SubResource("BoxShape3D_ltric")
|
|
||||||
|
|
||||||
[node name="CollisionShape3D6" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=458997453]
|
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -1.8618617, 1, -1.1576476)
|
|
||||||
shape = SubResource("BoxShape3D_il5go")
|
|
||||||
|
|
||||||
[node name="train" type="CollisionShape3D" parent="Logic/Fahrplan/hirschfeld/Collision" unique_id=595610224]
|
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.0680046, -0.24993896, -32.189793)
|
|
||||||
shape = SubResource("BoxShape3D_rcbu2")
|
|
||||||
|
|
||||||
[node name="uni_mensa" parent="Logic/Fahrplan" unique_id=304084571 instance=ExtResource("9_bdj4u")]
|
[node name="uni_mensa" parent="Logic/Fahrplan" unique_id=304084571 instance=ExtResource("9_bdj4u")]
|
||||||
visible = false
|
visible = false
|
||||||
script = ExtResource("10_iq74k")
|
script = ExtResource("10_iq74k")
|
||||||
|
|
@ -547,6 +444,108 @@ render_target_update_mode = 4
|
||||||
|
|
||||||
[node name="SubwayMap" parent="Logic/Fahrplan/parity_square/SubwayMap3D/MapViewport" unique_id=118012432 instance=ExtResource("8_rcbu2")]
|
[node name="SubwayMap" parent="Logic/Fahrplan/parity_square/SubwayMap3D/MapViewport" unique_id=118012432 instance=ExtResource("8_rcbu2")]
|
||||||
|
|
||||||
|
[node name="Collision" type="StaticBody3D" parent="Logic" unique_id=1981379044]
|
||||||
|
|
||||||
|
[node name="World Boundary (Floor)" type="CollisionShape3D" parent="Logic/Collision" unique_id=836708414]
|
||||||
|
shape = SubResource("WorldBoundaryShape3D_rkl48")
|
||||||
|
debug_color = Color(0.5019608, 0.003921569, 0.9607843, 1)
|
||||||
|
|
||||||
|
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Logic/Collision" unique_id=1454083655]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.143, 1, -66.5)
|
||||||
|
shape = SubResource("BoxShape3D_yfan7")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D4" type="CollisionShape3D" parent="Logic/Collision" unique_id=401580690]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.143, 1, 0.25)
|
||||||
|
shape = SubResource("BoxShape3D_yfan7")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D5" type="CollisionShape3D" parent="Logic/Collision" unique_id=1029621015]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 1.8523458, 1, -1.1576476)
|
||||||
|
shape = SubResource("BoxShape3D_il5go")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D7" type="CollisionShape3D" parent="Logic/Collision" unique_id=1662055133]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 1.567, 1.031, -2)
|
||||||
|
shape = SubResource("BoxShape3D_iq74k")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D8" type="CollisionShape3D" parent="Logic/Collision" unique_id=402007193]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -1.567, 1.031, -2)
|
||||||
|
shape = SubResource("BoxShape3D_biibr")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D9" type="CollisionShape3D" parent="Logic/Collision" unique_id=1576481142]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, 1.031, -2)
|
||||||
|
shape = SubResource("BoxShape3D_rum2v")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D10" type="CollisionShape3D" parent="Logic/Collision" unique_id=1452079625]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 2.5282154e-07, 1.031, -7.783883)
|
||||||
|
shape = SubResource("BoxShape3D_ii0j1")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D11" type="CollisionShape3D" parent="Logic/Collision" unique_id=1008810294]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -9.45743)
|
||||||
|
shape = SubResource("BoxShape3D_ltric")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D12" type="CollisionShape3D" parent="Logic/Collision" unique_id=541853028]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 2.5282154e-07, 1.031, -17.783882)
|
||||||
|
shape = SubResource("BoxShape3D_ii0j1")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D13" type="CollisionShape3D" parent="Logic/Collision" unique_id=677607764]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -19.45743)
|
||||||
|
shape = SubResource("BoxShape3D_ltric")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D14" type="CollisionShape3D" parent="Logic/Collision" unique_id=1293358347]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -16.102852)
|
||||||
|
shape = SubResource("BoxShape3D_ltric")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D15" type="CollisionShape3D" parent="Logic/Collision" unique_id=985616557]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 2.5282154e-07, 1.031, -27.783882)
|
||||||
|
shape = SubResource("BoxShape3D_ii0j1")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D16" type="CollisionShape3D" parent="Logic/Collision" unique_id=801985133]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -29.45743)
|
||||||
|
shape = SubResource("BoxShape3D_ltric")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D17" type="CollisionShape3D" parent="Logic/Collision" unique_id=197748420]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -26.102852)
|
||||||
|
shape = SubResource("BoxShape3D_ltric")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D18" type="CollisionShape3D" parent="Logic/Collision" unique_id=761326610]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 2.5282154e-07, 1.031, -37.783882)
|
||||||
|
shape = SubResource("BoxShape3D_ii0j1")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D19" type="CollisionShape3D" parent="Logic/Collision" unique_id=1342889226]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -39.457428)
|
||||||
|
shape = SubResource("BoxShape3D_ltric")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D20" type="CollisionShape3D" parent="Logic/Collision" unique_id=1047602758]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -36.10285)
|
||||||
|
shape = SubResource("BoxShape3D_ltric")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D21" type="CollisionShape3D" parent="Logic/Collision" unique_id=1841460790]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 2.5282154e-07, 1.031, -47.783882)
|
||||||
|
shape = SubResource("BoxShape3D_ii0j1")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D22" type="CollisionShape3D" parent="Logic/Collision" unique_id=312700908]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -49.457428)
|
||||||
|
shape = SubResource("BoxShape3D_ltric")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D23" type="CollisionShape3D" parent="Logic/Collision" unique_id=1015805918]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -46.10285)
|
||||||
|
shape = SubResource("BoxShape3D_ltric")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D24" type="CollisionShape3D" parent="Logic/Collision" unique_id=1122736393]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 2.5282154e-07, 1.031, -57.783882)
|
||||||
|
shape = SubResource("BoxShape3D_ii0j1")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D26" type="CollisionShape3D" parent="Logic/Collision" unique_id=2021914520]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 3.259746e-07, 0.29198635, -56.10285)
|
||||||
|
shape = SubResource("BoxShape3D_ltric")
|
||||||
|
|
||||||
|
[node name="CollisionShape3D6" type="CollisionShape3D" parent="Logic/Collision" unique_id=458997453]
|
||||||
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -1.8618617, 1, -1.1576476)
|
||||||
|
shape = SubResource("BoxShape3D_il5go")
|
||||||
|
|
||||||
|
[node name="train" type="CollisionShape3D" parent="Logic/Collision" unique_id=595610224]
|
||||||
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.0680046, -0.24993896, -32.189793)
|
||||||
|
shape = SubResource("BoxShape3D_rcbu2")
|
||||||
|
|
||||||
[node name="MapViewport" type="SubViewport" parent="Logic" unique_id=1028638766]
|
[node name="MapViewport" type="SubViewport" parent="Logic" unique_id=1028638766]
|
||||||
disable_3d = true
|
disable_3d = true
|
||||||
size = Vector2i(2896, 2048)
|
size = Vector2i(2896, 2048)
|
||||||
|
|
|
||||||
BIN
src/base-environments/volunteer_room/import/textures/neuroaffirmative-poster_de.png (Stored with Git LFS)
Normal file
BIN
src/base-environments/volunteer_room/import/textures/neuroaffirmative-poster_de.png (Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,42 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://3x75d7dnaw5q"
|
||||||
|
path.s3tc="res://.godot/imported/neuroaffirmative-poster_de.png-b14fdb30a66b2514e648382474f368a9.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/neuroaffirmative-poster_de.png-b14fdb30a66b2514e648382474f368a9.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://base-environments/volunteer_room/import/textures/neuroaffirmative-poster_de.png"
|
||||||
|
dest_files=["res://.godot/imported/neuroaffirmative-poster_de.png-b14fdb30a66b2514e648382474f368a9.s3tc.ctex", "res://.godot/imported/neuroaffirmative-poster_de.png-b14fdb30a66b2514e648382474f368a9.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
||||||
BIN
src/base-environments/volunteer_room/import/textures/neuroaffirmative-poster_en.png (Stored with Git LFS)
Normal file
BIN
src/base-environments/volunteer_room/import/textures/neuroaffirmative-poster_en.png (Stored with Git LFS)
Normal file
Binary file not shown.
|
|
@ -0,0 +1,42 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="CompressedTexture2D"
|
||||||
|
uid="uid://0mnrbw1klw4c"
|
||||||
|
path.s3tc="res://.godot/imported/neuroaffirmative-poster_en.png-6613dea6fa9d8f6192386183dec2d118.s3tc.ctex"
|
||||||
|
path.etc2="res://.godot/imported/neuroaffirmative-poster_en.png-6613dea6fa9d8f6192386183dec2d118.etc2.ctex"
|
||||||
|
metadata={
|
||||||
|
"imported_formats": ["s3tc_bptc", "etc2_astc"],
|
||||||
|
"vram_texture": true
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://base-environments/volunteer_room/import/textures/neuroaffirmative-poster_en.png"
|
||||||
|
dest_files=["res://.godot/imported/neuroaffirmative-poster_en.png-6613dea6fa9d8f6192386183dec2d118.s3tc.ctex", "res://.godot/imported/neuroaffirmative-poster_en.png-6613dea6fa9d8f6192386183dec2d118.etc2.ctex"]
|
||||||
|
|
||||||
|
[params]
|
||||||
|
|
||||||
|
compress/mode=2
|
||||||
|
compress/high_quality=false
|
||||||
|
compress/lossy_quality=0.7
|
||||||
|
compress/uastc_level=0
|
||||||
|
compress/rdo_quality_loss=0.0
|
||||||
|
compress/hdr_compression=1
|
||||||
|
compress/normal_map=0
|
||||||
|
compress/channel_pack=0
|
||||||
|
mipmaps/generate=true
|
||||||
|
mipmaps/limit=-1
|
||||||
|
roughness/mode=0
|
||||||
|
roughness/src_normal=""
|
||||||
|
process/channel_remap/red=0
|
||||||
|
process/channel_remap/green=1
|
||||||
|
process/channel_remap/blue=2
|
||||||
|
process/channel_remap/alpha=3
|
||||||
|
process/fix_alpha_border=true
|
||||||
|
process/premult_alpha=false
|
||||||
|
process/normal_map_invert_y=false
|
||||||
|
process/hdr_as_srgb=false
|
||||||
|
process/hdr_clamp_exposure=false
|
||||||
|
process/size_limit=0
|
||||||
|
detect_3d/compress_to=0
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=49 format=3 uid="uid://flisupth27th"]
|
[gd_scene format=3 uid="uid://flisupth27th"]
|
||||||
|
|
||||||
[ext_resource type="PackedScene" uid="uid://dwbhei5kywqbd" path="res://volunteer_room_visuals.tscn" id="1_ln5pp"]
|
[ext_resource type="PackedScene" uid="uid://dwbhei5kywqbd" path="res://volunteer_room_visuals.tscn" id="1_ln5pp"]
|
||||||
[ext_resource type="Script" uid="uid://wiw2j1gw230e" path="res://base-environments/volunteer_room/volunteer_room.gd" id="1_wdfvq"]
|
[ext_resource type="Script" uid="uid://wiw2j1gw230e" path="res://base-environments/volunteer_room/volunteer_room.gd" id="1_wdfvq"]
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
[ext_resource type="PackedScene" uid="uid://b2fqh0xl224jc" path="res://base-environments/volunteer_room/scenes/burnout.tscn" id="11_kmoh8"]
|
[ext_resource type="PackedScene" uid="uid://b2fqh0xl224jc" path="res://base-environments/volunteer_room/scenes/burnout.tscn" id="11_kmoh8"]
|
||||||
[ext_resource type="PackedScene" uid="uid://bacg6w3wjgrrx" path="res://base-environments/volunteer_room/scenes/eating_challenges.tscn" id="12_6rb4d"]
|
[ext_resource type="PackedScene" uid="uid://bacg6w3wjgrrx" path="res://base-environments/volunteer_room/scenes/eating_challenges.tscn" id="12_6rb4d"]
|
||||||
[ext_resource type="PackedScene" uid="uid://r8gjxitlwd1f" path="res://base-environments/volunteer_room/scenes/self_advocacy.tscn" id="13_5s6pb"]
|
[ext_resource type="PackedScene" uid="uid://r8gjxitlwd1f" path="res://base-environments/volunteer_room/scenes/self_advocacy.tscn" id="13_5s6pb"]
|
||||||
|
[ext_resource type="Texture2D" uid="uid://3x75d7dnaw5q" path="res://base-environments/volunteer_room/import/textures/neuroaffirmative-poster_de.png" id="13_upyac"]
|
||||||
[ext_resource type="PackedScene" uid="uid://5dkocippxkwv" path="res://base-environments/volunteer_room/scenes/therapy_uni.tscn" id="14_upyac"]
|
[ext_resource type="PackedScene" uid="uid://5dkocippxkwv" path="res://base-environments/volunteer_room/scenes/therapy_uni.tscn" id="14_upyac"]
|
||||||
[ext_resource type="PackedScene" uid="uid://b8iaixkhsnahi" path="res://base-environments/volunteer_room/scenes/therapy_volunteer.tscn" id="15_ci4rn"]
|
[ext_resource type="PackedScene" uid="uid://b8iaixkhsnahi" path="res://base-environments/volunteer_room/scenes/therapy_volunteer.tscn" id="15_ci4rn"]
|
||||||
[ext_resource type="Script" uid="uid://bexqccvdqi7ad" path="res://base-environments/volunteer_room/volunteer_scene_players.gd" id="16_5s6pb"]
|
[ext_resource type="Script" uid="uid://bexqccvdqi7ad" path="res://base-environments/volunteer_room/volunteer_scene_players.gd" id="16_5s6pb"]
|
||||||
|
|
@ -147,7 +148,6 @@ glow_levels/7 = 2.0
|
||||||
glow_intensity = 0.4
|
glow_intensity = 0.4
|
||||||
glow_strength = 0.7
|
glow_strength = 0.7
|
||||||
glow_bloom = 0.13
|
glow_bloom = 0.13
|
||||||
glow_blend_mode = 1
|
|
||||||
glow_hdr_threshold = 0.46
|
glow_hdr_threshold = 0.46
|
||||||
fog_enabled = true
|
fog_enabled = true
|
||||||
fog_light_color = Color(0.141176, 0.133333, 0.301961, 1)
|
fog_light_color = Color(0.141176, 0.133333, 0.301961, 1)
|
||||||
|
|
@ -199,197 +199,204 @@ func _on_environment_settings_update():
|
||||||
environment.sdfgi_enabled = State.sdfgi_enable
|
environment.sdfgi_enabled = State.sdfgi_enable
|
||||||
"
|
"
|
||||||
|
|
||||||
[node name="SharedFlat" type="Node3D"]
|
[node name="SharedFlat" type="Node3D" unique_id=1702831157]
|
||||||
script = ExtResource("1_wdfvq")
|
script = ExtResource("1_wdfvq")
|
||||||
id = 3
|
id = 3
|
||||||
|
|
||||||
[node name="PlayerController" parent="." instance=ExtResource("2_upyac")]
|
[node name="PlayerController" parent="." unique_id=226213093 instance=ExtResource("2_upyac")]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 2.2023005, 0, 0.7319784)
|
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, 2.2023005, 0, 0.7319784)
|
||||||
|
|
||||||
[node name="Camera3D" parent="PlayerController/Yaw/Pitch/Mount" index="0"]
|
[node name="Camera3D" parent="PlayerController/Yaw/Pitch/Mount" index="0"]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1.0000006, 0, 0, 0, 1.0000006, 0, 0.202, 0.157)
|
transform = Transform3D(1, 0, 0, 0, 1.0000006, 0, 0, 0, 1.0000006, 0, 0.202, 0.157)
|
||||||
|
|
||||||
[node name="volunteer_room" parent="." instance=ExtResource("1_ln5pp")]
|
[node name="PlayerAnimationPlayer" parent="PlayerController" index="3"]
|
||||||
|
autoplay = &"RESET"
|
||||||
|
|
||||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="volunteer_room"]
|
[node name="volunteer_room" parent="." unique_id=654506214 instance=ExtResource("1_ln5pp")]
|
||||||
|
|
||||||
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="volunteer_room" unique_id=1452610856]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.39256942, 0, 2.4170494)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.39256942, 0, 2.4170494)
|
||||||
mesh = SubResource("BoxMesh_tmbwx")
|
mesh = SubResource("BoxMesh_tmbwx")
|
||||||
|
|
||||||
[node name="bed_crouch" type="Area3D" parent="volunteer_room"]
|
[node name="bed_crouch" type="Area3D" parent="volunteer_room" unique_id=301777367]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.4831846, 0, 2.44453)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.4831846, 0, 2.44453)
|
||||||
collision_layer = 2
|
collision_layer = 2
|
||||||
collision_mask = 2
|
collision_mask = 2
|
||||||
script = ExtResource("3_fli74")
|
script = ExtResource("3_fli74")
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="volunteer_room/bed_crouch"]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="volunteer_room/bed_crouch" unique_id=1268867577]
|
||||||
transform = Transform3D(0.995341, 0.096419, 0, 4.21461e-09, -4.35077e-08, -1, -0.096419, 0.995341, -4.37114e-08, 0.107988, 1.56575e-08, -0.358201)
|
transform = Transform3D(0.995341, 0.096419, 0, 4.21461e-09, -4.35077e-08, -1, -0.096419, 0.995341, -4.37114e-08, 0.107988, 1.56575e-08, -0.358201)
|
||||||
shape = SubResource("CapsuleShape3D_2fihi")
|
shape = SubResource("CapsuleShape3D_2fihi")
|
||||||
|
|
||||||
[node name="Collectables" type="Node3D" parent="."]
|
[node name="Collectables" type="Node3D" parent="." unique_id=1120302453]
|
||||||
|
|
||||||
[node name="KitchenInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
|
[node name="KitchenInteractable" parent="Collectables" unique_id=1682263431 instance=ExtResource("5_my8p4")]
|
||||||
transform = Transform3D(0.999999, 0, 0, 0, 1, 0, 0, 0, 0.999999, 0.8310573, 1.0068259, -2.7083611)
|
transform = Transform3D(0.999999, 0, 0, 0, 1, 0, 0, 0, 0.999999, 0.8310573, 1.0068259, -2.7083611)
|
||||||
interaction = ExtResource("12_6rb4d")
|
interaction = ExtResource("12_6rb4d")
|
||||||
|
|
||||||
[node name="BurnoutInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
|
[node name="BurnoutInteractable" parent="Collectables" unique_id=474055088 instance=ExtResource("5_my8p4")]
|
||||||
transform = Transform3D(0.32358676, 0, -0.94619733, 0, 1, 0, 0.94619733, 0, 0.32358676, -2.1812932, 0.8092947, 5.313688)
|
transform = Transform3D(0.32358676, 0, -0.94619733, 0, 1, 0, 0.94619733, 0, 0.32358676, -2.1812932, 0.8092947, 5.313688)
|
||||||
interaction = ExtResource("11_kmoh8")
|
interaction = ExtResource("11_kmoh8")
|
||||||
|
|
||||||
[node name="DiceInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
|
[node name="DiceInteractable" parent="Collectables" unique_id=960316357 instance=ExtResource("5_my8p4")]
|
||||||
transform = Transform3D(0.7071059, 0, -0.7071061, 0, 1, 0, 0.7071061, 0, 0.7071059, -2.07945, 0.5828748, 3.3940656)
|
transform = Transform3D(0.7071059, 0, -0.7071061, 0, 1, 0, 0.7071061, 0, 0.7071059, -2.07945, 0.5828748, 3.3940656)
|
||||||
interaction = ExtResource("16_e1uao")
|
interaction = ExtResource("16_e1uao")
|
||||||
|
|
||||||
[node name="VoluntaryInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
|
[node name="VoluntaryInteractable" parent="Collectables" unique_id=1328796377 instance=ExtResource("5_my8p4")]
|
||||||
transform = Transform3D(-4.3711346e-08, 0, 0.999999, 0, 1, 0, -0.999999, 0, -4.3711346e-08, 0.36332494, 1.2541859, 4.9624853)
|
transform = Transform3D(-4.3711346e-08, 0, 0.999999, 0, 1, 0, -0.999999, 0, -4.3711346e-08, 0.36332494, 1.2541859, 4.9624853)
|
||||||
interaction = ExtResource("17_my8p4")
|
interaction = ExtResource("17_my8p4")
|
||||||
billboard = false
|
billboard = false
|
||||||
|
|
||||||
[node name="TherapyVoluntaryInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
|
[node name="TherapyVoluntaryInteractable" parent="Collectables" unique_id=1031853373 instance=ExtResource("5_my8p4")]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
transform = Transform3D(0.999999, 0, 0, 0, 1, 0, 0, 0, 0.999999, 0.399901, 1.21835, 1.29166)
|
transform = Transform3D(0.999999, 0, 0, 0, 1, 0, 0, 0, 0.999999, 0.399901, 1.21835, 1.29166)
|
||||||
interaction = ExtResource("15_ci4rn")
|
interaction = ExtResource("15_ci4rn")
|
||||||
billboard = false
|
billboard = false
|
||||||
|
|
||||||
[node name="TherapyUniInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
|
[node name="TherapyUniInteractable" parent="Collectables" unique_id=1407119871 instance=ExtResource("5_my8p4")]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
transform = Transform3D(0.999999, 0, 0, 0, 1, 0, 0, 0, 0.999999, 0.399901, 1.21835, 1.29166)
|
transform = Transform3D(0.999999, 0, 0, 0, 1, 0, 0, 0, 0.999999, 0.399901, 1.21835, 1.29166)
|
||||||
interaction = ExtResource("14_upyac")
|
interaction = ExtResource("14_upyac")
|
||||||
billboard = false
|
billboard = false
|
||||||
|
|
||||||
[node name="UniversityInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
|
[node name="UniversityInteractable" parent="Collectables" unique_id=395244586 instance=ExtResource("5_my8p4")]
|
||||||
transform = Transform3D(-4.371135e-08, 0, -0.9999991, 0, 1, 0, 0.9999991, 0, -4.371135e-08, -2.7745893, 1.4022808, -3.0279322)
|
transform = Transform3D(-4.371135e-08, 0, -0.9999991, 0, 1, 0, 0.9999991, 0, -4.371135e-08, -2.7745893, 1.4022808, -3.0279322)
|
||||||
interaction = ExtResource("13_5s6pb")
|
interaction = ExtResource("13_5s6pb")
|
||||||
billboard = false
|
billboard = false
|
||||||
|
|
||||||
[node name="OldThougtsInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
|
[node name="Sprite3D" type="Sprite3D" parent="Collectables/UniversityInteractable" unique_id=1734059198]
|
||||||
|
transform = Transform3D(-0.9999998, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -0.9999998, 0.11135745, 0.18555701, 0.06345248)
|
||||||
|
pixel_size = 0.00035
|
||||||
|
shaded = true
|
||||||
|
texture = ExtResource("13_upyac")
|
||||||
|
|
||||||
|
[node name="OldThougtsInteractable" parent="Collectables" unique_id=2053837286 instance=ExtResource("5_my8p4")]
|
||||||
transform = Transform3D(-4.3711346e-08, 0, -0.999999, 0, 1, 0, 0.999999, 0, -4.3711346e-08, -2.40979, 0.41340256, 0.403546)
|
transform = Transform3D(-4.3711346e-08, 0, -0.999999, 0, 1, 0, 0.999999, 0, -4.3711346e-08, -2.40979, 0.41340256, 0.403546)
|
||||||
interaction = ExtResource("17_my8p4")
|
interaction = ExtResource("17_my8p4")
|
||||||
|
|
||||||
[node name="AutismInteractable" parent="Collectables" instance=ExtResource("5_my8p4")]
|
[node name="AutismInteractable" parent="Collectables" unique_id=1846146632 instance=ExtResource("5_my8p4")]
|
||||||
transform = Transform3D(-0.75470823, 0, -0.65605795, 0, 1, 0, 0.65605795, 0, -0.75470823, -1.8407239, 1.0439266, -3.8908288)
|
transform = Transform3D(-0.75470823, 0, -0.65605795, 0, 1, 0, 0.65605795, 0, -0.75470823, -1.8407239, 1.0439266, -3.8908288)
|
||||||
interaction = ExtResource("10_gcdra")
|
interaction = ExtResource("10_gcdra")
|
||||||
|
|
||||||
[node name="Board" parent="Collectables" instance=ExtResource("5_my8p4")]
|
[node name="Board" parent="Collectables" unique_id=863651288 instance=ExtResource("5_my8p4")]
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -2.7652016, 1.2894461, 4.522677)
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, -2.7652016, 1.2894461, 4.522677)
|
||||||
interaction = ExtResource("19_ci4rn")
|
interaction = ExtResource("19_ci4rn")
|
||||||
billboard = false
|
billboard = false
|
||||||
|
|
||||||
[node name="DoorInteractable" type="Node3D" parent="Collectables"]
|
[node name="DoorInteractable" type="Node3D" parent="Collectables" unique_id=537791538]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
|
|
||||||
[node name="VoxelGI" type="VoxelGI" parent="."]
|
[node name="VoxelGI" type="VoxelGI" parent="." unique_id=751798188]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.08276367, 1.3269348, 0.09955597)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.08276367, 1.3269348, 0.09955597)
|
||||||
size = Vector3(6.132324, 2.9212036, 12.147232)
|
size = Vector3(6.132324, 2.9212036, 12.147232)
|
||||||
data = ExtResource("8_fli74")
|
data = ExtResource("8_fli74")
|
||||||
|
|
||||||
[node name="Collision" type="Node3D" parent="."]
|
[node name="Collision" type="Node3D" parent="." unique_id=1578510043]
|
||||||
|
|
||||||
[node name="StaticBody" type="StaticBody3D" parent="Collision"]
|
[node name="StaticBody" type="StaticBody3D" parent="Collision" unique_id=777978985]
|
||||||
|
|
||||||
[node name="WorldBoundary (Floor)" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="WorldBoundary (Floor)" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=115662814]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.25, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.25, 0)
|
||||||
shape = SubResource("WorldBoundaryShape3D_5s6pb")
|
shape = SubResource("WorldBoundaryShape3D_5s6pb")
|
||||||
|
|
||||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D2" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=1427136793]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.0295625, 0.43548584, -1.5359472)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.0295625, 0.43548584, -1.5359472)
|
||||||
shape = SubResource("BoxShape3D_my8p4")
|
shape = SubResource("BoxShape3D_my8p4")
|
||||||
|
|
||||||
[node name="CollisionShape3D14" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D14" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=935506047]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.473804, 0.43548584, -5.2581515)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.473804, 0.43548584, -5.2581515)
|
||||||
shape = SubResource("BoxShape3D_my8p4")
|
shape = SubResource("BoxShape3D_my8p4")
|
||||||
|
|
||||||
[node name="CollisionShape3D15" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D15" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=1268533005]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5582857, 0.43548584, -4.6777506)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5582857, 0.43548584, -4.6777506)
|
||||||
shape = SubResource("BoxShape3D_my8p4")
|
shape = SubResource("BoxShape3D_my8p4")
|
||||||
|
|
||||||
[node name="CollisionShape3D18" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D18" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=354479084]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.318601, 0.43548584, 5.4479933)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.318601, 0.43548584, 5.4479933)
|
||||||
shape = SubResource("BoxShape3D_my8p4")
|
shape = SubResource("BoxShape3D_my8p4")
|
||||||
|
|
||||||
[node name="CollisionShape3D20" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D20" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=1864451038]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.3467457, 0.91555786, 3.809821)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.3467457, 0.91555786, 3.809821)
|
||||||
shape = SubResource("BoxShape3D_ri8p0")
|
shape = SubResource("BoxShape3D_ri8p0")
|
||||||
|
|
||||||
[node name="CollisionShape3D23" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D23" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=832906330]
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0.28132415, 0.91555786, -4.867077)
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0.28132415, 0.91555786, -4.867077)
|
||||||
shape = SubResource("BoxShape3D_ri8p0")
|
shape = SubResource("BoxShape3D_ri8p0")
|
||||||
|
|
||||||
[node name="CollisionShape3D22" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D22" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=1938334641]
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0.17872827, 0.43548584, 2.4474537)
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0.17872827, 0.43548584, 2.4474537)
|
||||||
shape = SubResource("BoxShape3D_ri8p0")
|
shape = SubResource("BoxShape3D_ri8p0")
|
||||||
|
|
||||||
[node name="CollisionShape3D19" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D19" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=2052544249]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.02912116, 0.43548584, 5.6458735)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.02912116, 0.43548584, 5.6458735)
|
||||||
shape = SubResource("SphereShape3D_br20t")
|
shape = SubResource("SphereShape3D_br20t")
|
||||||
|
|
||||||
[node name="CollisionShape3D21" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D21" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=2117877049]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.3792989, 0.43548584, 3.8899004)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.3792989, 0.43548584, 3.8899004)
|
||||||
shape = SubResource("SphereShape3D_br20t")
|
shape = SubResource("SphereShape3D_br20t")
|
||||||
|
|
||||||
[node name="CollisionShape3D16" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D16" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=2115752331]
|
||||||
transform = Transform3D(0.99368984, 0, 0.11216268, 0, 1, 0, -0.11216268, 0, 0.99368984, -2.8277857, 0.43548584, -0.90668166)
|
transform = Transform3D(0.99368984, 0, 0.11216268, 0, 1, 0, -0.11216268, 0, 0.99368984, -2.8277857, 0.43548584, -0.90668166)
|
||||||
shape = SubResource("BoxShape3D_my8p4")
|
shape = SubResource("BoxShape3D_my8p4")
|
||||||
|
|
||||||
[node name="CollisionShape3D17" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D17" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=767852886]
|
||||||
transform = Transform3D(0.9997138, 0, -0.023926191, 0, 1, 0, 0.023926191, 0, 0.9997138, 0.20360646, 0.43548584, -1.0235084)
|
transform = Transform3D(0.9997138, 0, -0.023926191, 0, 1, 0, 0.023926191, 0, 0.9997138, 0.20360646, 0.43548584, -1.0235084)
|
||||||
shape = SubResource("BoxShape3D_sunku")
|
shape = SubResource("BoxShape3D_sunku")
|
||||||
|
|
||||||
[node name="CollisionShape3D8" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D8" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=244544311]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5631266, 2, -0.06579882)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.5631266, 2, -0.06579882)
|
||||||
shape = SubResource("BoxShape3D_mumj5")
|
shape = SubResource("BoxShape3D_mumj5")
|
||||||
|
|
||||||
[node name="CollisionShape3D10" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D10" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=2043069071]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.0312304, 2, -0.06579882)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.0312304, 2, -0.06579882)
|
||||||
shape = SubResource("BoxShape3D_pdgua")
|
shape = SubResource("BoxShape3D_pdgua")
|
||||||
|
|
||||||
[node name="CollisionShape3D11" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D11" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=258617250]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.1283288, 2, 1.3899179)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.1283288, 2, 1.3899179)
|
||||||
shape = SubResource("BoxShape3D_0bxa6")
|
shape = SubResource("BoxShape3D_0bxa6")
|
||||||
|
|
||||||
[node name="CollisionShape3D12" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D12" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=1259710936]
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0.50890803, 2, -1.4181784)
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0.50890803, 2, -1.4181784)
|
||||||
shape = SubResource("BoxShape3D_0bxa6")
|
shape = SubResource("BoxShape3D_0bxa6")
|
||||||
|
|
||||||
[node name="CollisionShape3D13" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D13" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=1222020782]
|
||||||
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0.50890803, 2, -4.862812)
|
transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0.50890803, 2, -4.862812)
|
||||||
shape = SubResource("BoxShape3D_0bxa6")
|
shape = SubResource("BoxShape3D_0bxa6")
|
||||||
|
|
||||||
[node name="CollisionShape3D9" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D9" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=1809548028]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.6831162, 2, 1.4073527)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.6831162, 2, 1.4073527)
|
||||||
shape = SubResource("BoxShape3D_mumj5")
|
shape = SubResource("BoxShape3D_mumj5")
|
||||||
|
|
||||||
[node name="CollisionShape3D7" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D7" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=527840404]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.981, 2, 3.8725982)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.981, 2, 3.8725982)
|
||||||
shape = SubResource("BoxShape3D_3k3rl")
|
shape = SubResource("BoxShape3D_3k3rl")
|
||||||
|
|
||||||
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D3" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=335777215]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.197, 2, -2.25)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.197, 2, -2.25)
|
||||||
shape = SubResource("BoxShape3D_rwcbo")
|
shape = SubResource("BoxShape3D_rwcbo")
|
||||||
|
|
||||||
[node name="CollisionShape3D4" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D4" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=91328867]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.2058272, 2, 0.12251377)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.2058272, 2, 0.12251377)
|
||||||
shape = SubResource("BoxShape3D_7klvh")
|
shape = SubResource("BoxShape3D_7klvh")
|
||||||
|
|
||||||
[node name="CollisionShape3D5" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D5" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=2045599969]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0043058395, 2, 6.437253)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0043058395, 2, 6.437253)
|
||||||
shape = SubResource("BoxShape3D_2ixm0")
|
shape = SubResource("BoxShape3D_2ixm0")
|
||||||
|
|
||||||
[node name="CollisionShape3D6" type="CollisionShape3D" parent="Collision/StaticBody"]
|
[node name="CollisionShape3D6" type="CollisionShape3D" parent="Collision/StaticBody" unique_id=572737944]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0043058395, 2, -6.174767)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0043058395, 2, -6.174767)
|
||||||
shape = SubResource("BoxShape3D_2ixm0")
|
shape = SubResource("BoxShape3D_2ixm0")
|
||||||
|
|
||||||
[node name="Scenes" type="Node3D" parent="."]
|
[node name="Scenes" type="Node3D" parent="." unique_id=511338775]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.4831846, 0, 2.44453)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.4831846, 0, 2.44453)
|
||||||
|
|
||||||
[node name="SceneAnimationPlayer" type="AnimationPlayer" parent="Scenes"]
|
[node name="SceneAnimationPlayer" type="AnimationPlayer" parent="Scenes" unique_id=1736621374]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
libraries = {
|
libraries/ = SubResource("AnimationLibrary_br20t")
|
||||||
&"": SubResource("AnimationLibrary_br20t")
|
|
||||||
}
|
|
||||||
script = ExtResource("16_5s6pb")
|
script = ExtResource("16_5s6pb")
|
||||||
|
|
||||||
[node name="UI" type="Control" parent="."]
|
[node name="UI" type="Control" parent="." unique_id=1633530859]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
layout_mode = 3
|
layout_mode = 3
|
||||||
anchors_preset = 15
|
anchors_preset = 15
|
||||||
|
|
@ -399,18 +406,18 @@ grow_horizontal = 2
|
||||||
grow_vertical = 2
|
grow_vertical = 2
|
||||||
mouse_filter = 1
|
mouse_filter = 1
|
||||||
|
|
||||||
[node name="Picker" parent="UI" groups=["scene_actors"] instance=ExtResource("18_upyac")]
|
[node name="Picker" parent="UI" unique_id=105123417 groups=["scene_actors"] instance=ExtResource("18_upyac")]
|
||||||
unique_name_in_owner = true
|
unique_name_in_owner = true
|
||||||
visible = false
|
visible = false
|
||||||
layout_mode = 1
|
layout_mode = 1
|
||||||
|
|
||||||
[node name="ending" parent="UI" instance=ExtResource("20_e1uao")]
|
[node name="ending" parent="UI" unique_id=1267531870 instance=ExtResource("20_e1uao")]
|
||||||
visible = false
|
visible = false
|
||||||
layout_mode = 1
|
layout_mode = 1
|
||||||
mouse_filter = 2
|
mouse_filter = 2
|
||||||
script = SubResource("GDScript_ri8p0")
|
script = SubResource("GDScript_ri8p0")
|
||||||
|
|
||||||
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1472023246]
|
||||||
environment = SubResource("Environment_pdgua")
|
environment = SubResource("Environment_pdgua")
|
||||||
camera_attributes = SubResource("CameraAttributesPractical_0bxa6")
|
camera_attributes = SubResource("CameraAttributesPractical_0bxa6")
|
||||||
script = SubResource("GDScript_3k3rl")
|
script = SubResource("GDScript_3k3rl")
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -12,7 +12,7 @@ signal closed
|
||||||
is_memory_board = is_memory
|
is_memory_board = is_memory
|
||||||
if is_node_ready():
|
if is_node_ready():
|
||||||
%CardboardBox.visible = is_memory
|
%CardboardBox.visible = is_memory
|
||||||
|
|
||||||
|
|
||||||
var all_names : Array[StringName] = []
|
var all_names : Array[StringName] = []
|
||||||
var notes : Array[StickyNote] = []
|
var notes : Array[StickyNote] = []
|
||||||
|
|
@ -167,14 +167,14 @@ func _ensure_unique(items: Array[StringName]) -> Array[StringName]:
|
||||||
if item not in result: result.append(item)
|
if item not in result: result.append(item)
|
||||||
else: push_warning("card-board.gd: ", "discarding non-unique item ", item)
|
else: push_warning("card-board.gd: ", "discarding non-unique item ", item)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
## Spawn Cards and Post-Its
|
## Spawn Cards and Post-Its
|
||||||
# TODO: rename to "add to board"
|
# TODO: rename to "add to board"
|
||||||
func populate_board(names: Array[StringName]):
|
func populate_board(names: Array[StringName]):
|
||||||
mementos_collected += 1
|
mementos_collected += 1
|
||||||
|
|
||||||
names = _ensure_unique(names)
|
names = _ensure_unique(names)
|
||||||
|
|
||||||
var all_new:Dictionary = HardCards.get_cards_by_name_array(names)
|
var all_new:Dictionary = HardCards.get_cards_by_name_array(names)
|
||||||
all_names.append_array(all_new.keys())
|
all_names.append_array(all_new.keys())
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@ shape = SubResource("RectangleShape2D_mai6h")
|
||||||
scale = Vector2(0.6, 0.6)
|
scale = Vector2(0.6, 0.6)
|
||||||
sprite_frames = ExtResource("2_mai6h")
|
sprite_frames = ExtResource("2_mai6h")
|
||||||
animation = &"youth"
|
animation = &"youth"
|
||||||
|
autoplay = "youth"
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="." unique_id=1847219475]
|
[node name="Label" type="Label" parent="." unique_id=1847219475]
|
||||||
anchors_preset = 15
|
anchors_preset = 15
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ position = Vector2(99.5, 0)
|
||||||
scale = Vector2(0.65, 0.65)
|
scale = Vector2(0.65, 0.65)
|
||||||
sprite_frames = ExtResource("2_260t4")
|
sprite_frames = ExtResource("2_260t4")
|
||||||
animation = &"youth"
|
animation = &"youth"
|
||||||
|
autoplay = "youth"
|
||||||
|
|
||||||
[node name="Label" type="Label" parent="Content" unique_id=1176239183]
|
[node name="Label" type="Label" parent="Content" unique_id=1176239183]
|
||||||
anchors_preset = 8
|
anchors_preset = 8
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene format=3 uid="uid://b1pv7j1hag5m3"]
|
[gd_scene load_steps=11 format=3 uid="uid://b1pv7j1hag5m3"]
|
||||||
|
|
||||||
[ext_resource type="FontFile" uid="uid://bdkb43smt08c0" path="res://import/fonts/Ubuntu-B.ttf" id="1_1f64j"]
|
[ext_resource type="FontFile" uid="uid://bdkb43smt08c0" path="res://import/fonts/Ubuntu-B.ttf" id="1_1f64j"]
|
||||||
[ext_resource type="FontFile" uid="uid://bmh8v44f6txfo" path="res://import/fonts/Ubuntu-RI.ttf" id="2_n65mw"]
|
[ext_resource type="FontFile" uid="uid://bmh8v44f6txfo" path="res://import/fonts/Ubuntu-RI.ttf" id="2_n65mw"]
|
||||||
|
|
@ -29,20 +29,24 @@ VBoxContainer/constants/separation = 9
|
||||||
script = ExtResource("5_1hd2w")
|
script = ExtResource("5_1hd2w")
|
||||||
text = "Sorry"
|
text = "Sorry"
|
||||||
time_string = "This is smol."
|
time_string = "This is smol."
|
||||||
|
is_own_message = false
|
||||||
metadata/_custom_type_script = "uid://be16bo6mf4kqu"
|
metadata/_custom_type_script = "uid://be16bo6mf4kqu"
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_1hd2w"]
|
[sub_resource type="Resource" id="Resource_1hd2w"]
|
||||||
script = ExtResource("5_1hd2w")
|
script = ExtResource("5_1hd2w")
|
||||||
text = "I never knew what to say. Can I write instead?"
|
text = "I never knew what to say. Can I write instead?"
|
||||||
|
time_string = ""
|
||||||
|
is_own_message = false
|
||||||
metadata/_custom_type_script = "uid://be16bo6mf4kqu"
|
metadata/_custom_type_script = "uid://be16bo6mf4kqu"
|
||||||
|
|
||||||
[sub_resource type="Resource" id="Resource_w8y7q"]
|
[sub_resource type="Resource" id="Resource_w8y7q"]
|
||||||
script = ExtResource("5_1hd2w")
|
script = ExtResource("5_1hd2w")
|
||||||
text = "🙄"
|
text = "🙄"
|
||||||
|
time_string = ""
|
||||||
is_own_message = true
|
is_own_message = true
|
||||||
metadata/_custom_type_script = "uid://be16bo6mf4kqu"
|
metadata/_custom_type_script = "uid://be16bo6mf4kqu"
|
||||||
|
|
||||||
[node name="Control" type="Control" unique_id=306300003]
|
[node name="Control" type="Control"]
|
||||||
layout_mode = 3
|
layout_mode = 3
|
||||||
anchors_preset = 15
|
anchors_preset = 15
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
|
|
@ -51,7 +55,7 @@ grow_horizontal = 2
|
||||||
grow_vertical = 2
|
grow_vertical = 2
|
||||||
theme = SubResource("Theme_w8y7q")
|
theme = SubResource("Theme_w8y7q")
|
||||||
|
|
||||||
[node name="ScrollContainer" type="ScrollContainer" parent="." unique_id=124411261]
|
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
||||||
layout_mode = 0
|
layout_mode = 0
|
||||||
offset_right = 582.0
|
offset_right = 582.0
|
||||||
offset_bottom = 1082.0
|
offset_bottom = 1082.0
|
||||||
|
|
@ -59,18 +63,18 @@ theme = SubResource("Theme_w8y7q")
|
||||||
script = ExtResource("4_n65mw")
|
script = ExtResource("4_n65mw")
|
||||||
messages = Array[ExtResource("5_1hd2w")]([SubResource("Resource_iwd5k"), SubResource("Resource_1hd2w"), SubResource("Resource_w8y7q")])
|
messages = Array[ExtResource("5_1hd2w")]([SubResource("Resource_iwd5k"), SubResource("Resource_1hd2w"), SubResource("Resource_w8y7q")])
|
||||||
|
|
||||||
[node name="Template" type="ScrollContainer" parent="." unique_id=1981714851]
|
[node name="Template" type="ScrollContainer" parent="."]
|
||||||
layout_mode = 0
|
layout_mode = 2
|
||||||
offset_left = 1061.0
|
offset_left = 1061.0
|
||||||
offset_top = 78.0
|
offset_top = 78.0
|
||||||
offset_right = 1643.0
|
offset_right = 1643.0
|
||||||
offset_bottom = 702.0
|
offset_bottom = 702.0
|
||||||
|
|
||||||
[node name="VBoxContainer" type="VBoxContainer" parent="Template" unique_id=1303301180]
|
[node name="VBoxContainer" type="VBoxContainer" parent="Template"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
|
|
||||||
[node name="RichTextLabel2" type="RichTextLabel" parent="Template/VBoxContainer" unique_id=1558665125]
|
[node name="RichTextLabel2" type="RichTextLabel" parent="Template/VBoxContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_horizontal = 0
|
size_flags_horizontal = 0
|
||||||
theme = SubResource("Theme_w8y7q")
|
theme = SubResource("Theme_w8y7q")
|
||||||
|
|
@ -83,7 +87,7 @@ fit_content = true
|
||||||
scroll_active = false
|
scroll_active = false
|
||||||
autowrap_mode = 0
|
autowrap_mode = 0
|
||||||
|
|
||||||
[node name="RichTextLabel3" type="RichTextLabel" parent="Template/VBoxContainer" unique_id=1220988641]
|
[node name="RichTextLabel3" type="RichTextLabel" parent="Template/VBoxContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme = SubResource("Theme_w8y7q")
|
theme = SubResource("Theme_w8y7q")
|
||||||
bbcode_enabled = true
|
bbcode_enabled = true
|
||||||
|
|
@ -91,7 +95,7 @@ text = "Dies ist eine Telegram-Message
|
||||||
[i]8:12 PM[/i]"
|
[i]8:12 PM[/i]"
|
||||||
fit_content = true
|
fit_content = true
|
||||||
|
|
||||||
[node name="RichTextLabel4" type="RichTextLabel" parent="Template/VBoxContainer" unique_id=443052553]
|
[node name="RichTextLabel4" type="RichTextLabel" parent="Template/VBoxContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme = SubResource("Theme_w8y7q")
|
theme = SubResource("Theme_w8y7q")
|
||||||
bbcode_enabled = true
|
bbcode_enabled = true
|
||||||
|
|
@ -99,7 +103,7 @@ text = "Dies ist eine Telegram-Message
|
||||||
[i]8:12 PM[/i]"
|
[i]8:12 PM[/i]"
|
||||||
fit_content = true
|
fit_content = true
|
||||||
|
|
||||||
[node name="RichTextLabel5" type="RichTextLabel" parent="Template/VBoxContainer" unique_id=1955305073]
|
[node name="RichTextLabel5" type="RichTextLabel" parent="Template/VBoxContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme = SubResource("Theme_w8y7q")
|
theme = SubResource("Theme_w8y7q")
|
||||||
bbcode_enabled = true
|
bbcode_enabled = true
|
||||||
|
|
@ -108,7 +112,7 @@ text = "Dies ist eine Telegram-Message
|
||||||
fit_content = true
|
fit_content = true
|
||||||
horizontal_alignment = 2
|
horizontal_alignment = 2
|
||||||
|
|
||||||
[node name="RichTextLabel6" type="RichTextLabel" parent="Template/VBoxContainer" unique_id=1577640143]
|
[node name="RichTextLabel6" type="RichTextLabel" parent="Template/VBoxContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
theme = SubResource("Theme_w8y7q")
|
theme = SubResource("Theme_w8y7q")
|
||||||
bbcode_enabled = true
|
bbcode_enabled = true
|
||||||
|
|
@ -116,7 +120,7 @@ text = "Dies ist eine Telegram-Message
|
||||||
[i]8:12 PM[/i]"
|
[i]8:12 PM[/i]"
|
||||||
fit_content = true
|
fit_content = true
|
||||||
|
|
||||||
[node name="RichTextLabel" type="RichTextLabel" parent="Template/VBoxContainer" unique_id=1513469081]
|
[node name="RichTextLabel" type="RichTextLabel" parent="Template/VBoxContainer"]
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
size_flags_horizontal = 3
|
size_flags_horizontal = 3
|
||||||
theme = SubResource("Theme_w8y7q")
|
theme = SubResource("Theme_w8y7q")
|
||||||
|
|
|
||||||
|
|
@ -8,23 +8,23 @@ func _ready() -> void:
|
||||||
v_box = VBoxContainer.new()
|
v_box = VBoxContainer.new()
|
||||||
add_child(v_box, false, Node.INTERNAL_MODE_BACK)
|
add_child(v_box, false, Node.INTERNAL_MODE_BACK)
|
||||||
rebuild()
|
rebuild()
|
||||||
|
|
||||||
func rebuild():
|
func rebuild():
|
||||||
for child in v_box.get_children():
|
for child in v_box.get_children():
|
||||||
child.free()
|
child.free()
|
||||||
|
|
||||||
var text_server: = TextServerManager.get_primary_interface()
|
var text_server: = TextServerManager.get_primary_interface()
|
||||||
|
|
||||||
for message in messages:
|
for message in messages:
|
||||||
var shaped_tex: RID = text_server.create_shaped_text(TextServer.DIRECTION_AUTO, TextServer.ORIENTATION_HORIZONTAL)
|
var shaped_tex: RID = text_server.create_shaped_text(TextServer.DIRECTION_AUTO, TextServer.ORIENTATION_HORIZONTAL)
|
||||||
text_server.shaped_text_add_string(shaped_tex, message.text, [theme.default_font.get_rid()], theme.default_base_scale)
|
text_server.shaped_text_add_string(shaped_tex, message.text, [theme.default_font.get_rid()], theme.default_base_scale)
|
||||||
|
|
||||||
text_server.shaped_text_fit_to_width(shaped_tex, size.x)
|
text_server.shaped_text_fit_to_width(shaped_tex, size.x)
|
||||||
|
|
||||||
var label: = RichTextLabel.new()
|
var label: = RichTextLabel.new()
|
||||||
label.custom_minimum_size = text_server.shaped_text_get_size(shaped_tex) + Vector2( 16, 16 )
|
label.custom_minimum_size = text_server.shaped_text_get_size(shaped_tex) + Vector2( 16, 16 )
|
||||||
|
|
||||||
label.text = message.text
|
label.text = message.text
|
||||||
label.size_flags_horizontal = Control.SIZE_SHRINK_END if message.is_own_message else Control.SIZE_SHRINK_BEGIN
|
label.size_flags_horizontal = Control.SIZE_SHRINK_END if message.is_own_message else Control.SIZE_SHRINK_BEGIN
|
||||||
|
|
||||||
v_box.add_child(label)
|
v_box.add_child(label)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue