1
Fork 0
mirror of https://github.com/Steffo99/cinnos.git synced 2024-11-24 09:04:21 +00:00
This commit is contained in:
Steffo 2023-11-25 20:55:31 +01:00
parent 4bde9d3163
commit fd0db1476b
3 changed files with 108 additions and 7 deletions

112
Root.tscn
View file

@ -163,7 +163,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.5331, 0.927202, 7.01927)
collision_layer = 5
script = ExtResource("1_wt4gx")
input_accel = 8.0
jump_impulse = Vector3(0, 10, 0)
jump_impulse = Vector3(0, 12, 0)
friction = 0.98
[node name="Man" type="CollisionShape3D" parent="Player"]
@ -211,7 +211,7 @@ mesh_library = SubResource("MeshLibrary_hklma")
cell_size = Vector3(16, 2, 16)
cell_scale = 8.0
data = {
"cells": PackedInt32Array(65535, 0, 3, 0, 0, 3, 0, 65535, 3, 65535, 65535, 3, 1, 65535, 3, 0, 1, 3, 65535, 1, 3, 1, 0, 3, 1, 1, 3, 65534, 65534, 0, 65534, 65535, 0, 65534, 0, 0, 65534, 1, 0, 65534, 2, 0, 65535, 2, 0, 0, 2, 0, 1, 2, 0, 2, 2, 0, 2, 1, 0, 2, 0, 0, 3, 65535, 0, 3, 65534, 0, 2, 65534, 0, 2, 65535, 0, 3, 0, 0, 3, 1, 0, 3, 2, 0, 2, 3, 0, 3, 3, 0, 1, 3, 1441792, 0, 3, 1441792, 65535, 3, 1441792, 65534, 3, 1441792, 65533, 3, 1441792, 65533, 2, 1441792, 65533, 1, 1441792, 65533, 0, 1441792, 65533, 65535, 1441792, 65533, 65534, 1441792, 65534, 65533, 1441792, 65533, 65533, 1441792, 2, 65533, 1441792, 3, 65533, 1441792, 1, 65533, 1441792, 1, 65534, 1441792, 65535, 65533, 1441792, 65535, 65534, 1441792, 0, 65534, 655361, 0, 65533, 655361, 0, 65532, 655361)
"cells": PackedInt32Array(65535, 0, 3, 0, 0, 3, 0, 65535, 3, 65535, 65535, 3, 1, 65535, 3, 0, 1, 3, 65535, 1, 3, 1, 0, 3, 1, 1, 3, 65534, 65534, 655360, 65534, 65535, 0, 65534, 0, 0, 65534, 1, 0, 65534, 2, 0, 65535, 2, 0, 0, 2, 0, 1, 2, 0, 2, 2, 0, 2, 1, 0, 2, 0, 0, 3, 65535, 0, 3, 65534, 0, 2, 65534, 0, 2, 65535, 0, 3, 0, 0, 3, 1, 0, 3, 2, 0, 2, 3, 0, 3, 3, 0, 1, 3, 1441792, 0, 3, 1441792, 65535, 3, 1441792, 65534, 3, 1441792, 65533, 3, 1441792, 65533, 2, 1441792, 65533, 1, 1441792, 65533, 0, 1441792, 65533, 65535, 1441792, 65533, 65534, 655360, 65534, 65533, 655360, 65533, 65533, 655360, 2, 65533, 655360, 3, 65533, 1441792, 1, 65533, 1441792, 1, 65534, 1441792, 65535, 65533, 1441792, 65535, 65534, 1441792, 0, 65534, 655361, 0, 65533, 655361, 0, 65532, 655361, 0, 65531, 655361, 0, 65530, 655361, 0, 65529, 655361, 0, 65528, 655361, 0, 65527, 655361, 0, 65526, 655361, 0, 65525, 655361, 0, 65524, 655361, 65534, 65532, 655360, 65534, 65531, 655360, 65535, 65531, 655360, 65535, 65530, 655360, 65535, 65529, 655360, 65535, 65528, 655360, 65535, 65527, 655360, 65535, 65526, 655360, 65535, 65525, 655360, 65535, 65524, 655360, 65535, 65523, 655360, 65534, 65524, 655360, 65534, 65525, 655360, 65534, 65526, 655360, 65534, 65527, 655360, 65534, 65528, 655360, 65534, 65529, 655360, 65534, 65530, 655360, 65533, 65531, 655360, 65533, 65530, 655360, 65533, 65529, 655360, 65533, 65528, 655360, 65533, 65527, 655360, 65533, 65526, 655360, 65533, 65525, 655360, 65533, 65524, 655360, 65533, 65523, 655360, 65534, 65523, 655360, 65533, 65532, 655360, 65535, 65532, 655360, 1, 65532, 655360, 1, 65531, 655360, 2, 65531, 655360, 2, 65530, 655360, 2, 65529, 655360, 2, 65528, 655360, 2, 65526, 655360, 2, 65525, 655360, 2, 65523, 655360, 3, 65524, 655360, 3, 65525, 655360, 3, 65526, 655360, 3, 65527, 655360, 3, 65528, 655360, 3, 65529, 655360, 3, 65530, 655360, 3, 65523, 655360, 3, 65531, 655360, 3, 65532, 655360, 2, 65532, 655360, 2, 65527, 655360, 1, 65526, 655360, 1, 65528, 655360, 1, 65527, 655360, 1, 65525, 655360, 1, 65524, 655360, 1, 65529, 655360, 1, 65530, 655360, 2, 65524, 655360, 1, 65523, 655360, 0, 65523, 655361, 0, 65522, 655363, 2, 65522, 1048577, 1, 65522, 1048577, 65535, 65522, 1048577, 65534, 65522, 1048577, 65534, 65521, 0, 65535, 65521, 0, 0, 65521, 0, 1, 65521, 0, 1, 65520, 0, 65534, 65519, 0, 65534, 65520, 0, 65535, 65520, 0, 2, 65520, 0, 2, 65521, 0, 2, 65519, 0, 2, 65518, 0, 65534, 65518, 0, 65534, 65517, 0, 2, 65517, 0, 65533, 65521, 1, 65533, 65520, 1, 65533, 65519, 1, 65533, 65518, 1, 65533, 65517, 1, 3, 65517, 1, 3, 65518, 1, 3, 65519, 1, 3, 65520, 1, 3, 65521, 1, 3, 65522, 3, 65533, 65522, 3, 65535, 65517, 0, 65535, 65518, 0, 0, 65518, 0, 1, 65518, 0, 1, 65517, 0, 0, 65517, 0, 65535, 65519, 0, 0, 65519, 0, 1, 65519, 0, 0, 65520, 0, 65534, 65516, 1441793, 65535, 65516, 1441793, 1, 65516, 1441793, 2, 65516, 1441793, 65533, 65516, 1441795, 3, 65516, 1441795, 4, 65524, 1441792, 4, 65523, 1441792, 4, 65522, 1441792, 4, 65521, 1441792, 4, 65520, 1441792, 4, 65519, 1441792, 4, 65518, 1441792, 4, 65517, 1441792, 4, 65516, 1441792, 65532, 65524, 1441792, 65532, 65523, 1441792, 65532, 65522, 1441792, 65532, 65521, 1441792, 65532, 65520, 1441792, 65532, 65519, 1441792, 65532, 65518, 1441792, 65532, 65517, 1441792, 65532, 65516, 1441792, 65531, 65516, 1441792, 65531, 65517, 1441792, 65531, 65518, 1441792, 65531, 65519, 1441792, 65531, 65520, 1441792, 65531, 65521, 1441792, 65531, 65522, 1441792, 65531, 65523, 1441792, 65530, 65516, 1441792, 65530, 65517, 1441792, 65530, 65518, 1441792, 65530, 65519, 1441792, 65530, 65520, 1441792, 65530, 65521, 1441792, 65530, 65522, 1441792, 65532, 65525, 1441792, 65530, 65523, 1441792, 65531, 65524, 1441792, 4, 65525, 1441792, 5, 65523, 1441792, 5, 65524, 1441792, 5, 65522, 1441792, 5, 65521, 1441792, 5, 65520, 1441792, 5, 65519, 1441792, 5, 65518, 1441792, 5, 65517, 1441792, 5, 65516, 1441792, 6, 65522, 1441792, 6, 65521, 1441792, 6, 65520, 1441792, 6, 65519, 1441792, 6, 65518, 1441792, 6, 65517, 1441792, 6, 65516, 1441792, 6, 65523, 1441792, 6, 65515, 1441792, 5, 65515, 1441792, 4, 65515, 1441792, 3, 65515, 1441792, 3, 65514, 1441792, 2, 65514, 1441792, 2, 65515, 1441792, 3, 65513, 1441792, 4, 65513, 1441792, 5, 65514, 1441792, 4, 65514, 1441792, 2, 65513, 1441792, 1, 65513, 1441792, 1, 65514, 1441792, 1, 65515, 1441792, 65534, 65515, 1441792, 65535, 65515, 1441792, 65535, 65514, 1441792, 65534, 65514, 1441792, 65533, 65514, 1441792, 65532, 65515, 1441792, 65531, 65515, 1441792, 65533, 65515, 1441792, 65533, 65513, 1441792, 65532, 65513, 1441792, 65532, 65514, 1441792, 65530, 65515, 1441792, 65531, 65514, 1441792, 65534, 65513, 1441792, 65535, 65513, 1441792, 0, 65515, 655361, 0, 65514, 655361, 0, 65513, 655361, 0, 65516, 655363)
}
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
@ -224,7 +224,7 @@ shadow_enabled = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.51074, 0, -17.4926)
[node name="HouseA4" parent="." instance=ExtResource("13_csk8r")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.51074, 0, -48.5445)
transform = Transform3D(0.999942, -0.0107685, 0, 0.0107685, 0.999942, 0, 0, 0, 1, -3.51071, -0.0051822, -48.5445)
[node name="HouseA8" parent="." instance=ExtResource("13_csk8r")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 20.1303, 0, -29.228)
@ -247,6 +247,24 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 32.5693, 0, -4.02066)
[node name="HouseA7" parent="." instance=ExtResource("13_csk8r")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 23.1005, 0, -18.3739)
[node name="HouseA10" parent="." instance=ExtResource("13_csk8r")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.4888, 0, -94.9072)
[node name="HouseA11" parent="." instance=ExtResource("13_csk8r")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.68245, 0, -93.8641)
[node name="HouseA13" parent="." instance=ExtResource("13_csk8r")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.28551, 3.8147e-06, -137.25)
[node name="HouseA14" parent="." instance=ExtResource("13_csk8r")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.4471, 7.62939e-06, -114.79)
[node name="HouseA15" parent="." instance=ExtResource("13_csk8r")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 17.1533, 7.62939e-06, -157.493)
[node name="HouseA12" parent="." instance=ExtResource("13_csk8r")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.72555, 0, -60.1239)
[node name="HouseB" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 33.0695, 0, 6.50642)
@ -254,7 +272,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 33.0695, 0, 6.50642)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.38747, 0, -26.8624)
[node name="HouseB6" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.54826, 0, -38.0079)
transform = Transform3D(0.999942, -0.0107685, 0, 0.0107685, 0.999942, 0, 0, 0, 1, -2.54829, 0.0051822, -38.0079)
[node name="HouseB2" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 29.127, 0, 29.616)
@ -265,19 +283,101 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16.4779, 0.0626392, 33.5963)
[node name="HouseB5" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.39686, 0.0626373, 29.6272)
[node name="HouseA16" parent="." instance=ExtResource("13_csk8r")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.22636, 0, -226.992)
[node name="HouseA17" parent="." instance=ExtResource("13_csk8r")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.4682, 0, -230.727)
[node name="HouseB19" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 29.127, 0, -230.113)
[node name="HouseB20" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 16.4779, 0.0626392, -226.133)
[node name="HouseB21" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.39686, 0.0626373, -230.102)
[node name="HouseB7" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.62737, 0.0626373, -70.0453)
[node name="HouseB11" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 32.3244, 0.0626373, -57.7434)
[node name="HouseB12" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 34.1326, 0.0626373, -119.304)
[node name="HouseB13" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 41.7422, 0.0626373, -85.9352)
[node name="HouseB8" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.8219, 0.0626373, -104.886)
[node name="HouseB9" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.66466, 0.0626373, -105.015)
[node name="HouseB14" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.84531, 0.0626373, -145.936)
[node name="HouseB15" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.87117, 0.0626335, -123.105)
[node name="HouseB16" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.66466, 0.0626373, -175.412)
[node name="HouseB17" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15.9477, 0.0626335, -193.502)
[node name="HouseB22" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -35.6254, 0.0626335, -207.101)
[node name="HouseB23" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 48.6318, 0.0626335, -205.14)
[node name="HouseB18" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 28.0481, 0.0626335, -188.93)
[node name="HouseB10" parent="." instance=ExtResource("14_0dds1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.1882, 0.0626373, -85.4397)
[node name="HouseC2" parent="." instance=ExtResource("9_xyam4")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -15.3194, 0, -8.07867)
[node name="HouseC4" parent="." instance=ExtResource("9_xyam4")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.71954, 0, -80.7927)
[node name="HouseC5" parent="." instance=ExtResource("9_xyam4")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 18.6162, 0, -73.7992)
[node name="HouseC7" parent="." instance=ExtResource("9_xyam4")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 41.78, 0, -68.9097)
[node name="HouseC8" parent="." instance=ExtResource("9_xyam4")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.4977, 0, -99.9693)
[node name="HouseC9" parent="." instance=ExtResource("9_xyam4")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 17.9768, 0, -129.459)
[node name="HouseC6" parent="." instance=ExtResource("9_xyam4")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 19.4011, 0, -52.4383)
[node name="HouseC3" parent="." instance=ExtResource("16_6jdi5")]
transform = Transform3D(1, 0, 1.06581e-14, 0, 1, 0, -1.06581e-14, 0, 1, -15.3808, 0.0601921, 13.8544)
[node name="Dialog" parent="." instance=ExtResource("17_4mwab")]
transform = Transform3D(16, 0, 0, 0, 16, 0, 0, 0, 16, 10.6244, 3.90306, 3.42363)
text = "Accelera con WASD o ↑←↓→!"
duration = 3.0
[node name="Dialog2" parent="." instance=ExtResource("17_4mwab")]
transform = Transform3D(16, 0, 0, 0, 16, 0, 0, 0, 16, 8.32351, 3.90306, -77.6134)
text = "Attento, ci sono degli anziani per strada! Saltali con Spazio!"
duration = 3.0
[node name="Panchina" parent="." instance=ExtResource("18_ch8jo")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.15592, 1.90735e-06, -56.557)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 9.15592, 1.90735e-06, -103.438)
[node name="Panchina2" parent="." instance=ExtResource("18_ch8jo")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.029, 1.90735e-06, -56.557)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.029, 1.90735e-06, -103.438)
[connection signal="timeout" from="UI/TextBox/Timer" to="UI/TextBox" method="_on_timer_timeout"]

View file

@ -18,6 +18,7 @@ script = ExtResource("1_gbnol")
shape = SubResource("BoxShape3D_30roe")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
visible = false
mesh = SubResource("BoxMesh_gmxbh")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]

View file

@ -3,7 +3,7 @@
[ext_resource type="PackedScene" uid="uid://ci3oqjm7d6n5c" path="res://models/veci.glb" id="1_5rsr2"]
[sub_resource type="BoxShape3D" id="BoxShape3D_5q6jj"]
size = Vector3(7.427, 3.83, 3.989)
size = Vector3(7.427, 2.595, 3.989)
[node name="Panchina" type="StaticBody3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.9953, -1.41734, 0.942567)