Merge branch 'master' of https://gitlab.hexaquo.at/mga/retrace
This commit is contained in:
commit
a8e1dfcc3f
File diff suppressed because one or more lines are too long
@ -21,4 +21,4 @@ func _process(delta: float) -> void:
|
|||||||
if potential_new_scale < new_scale:
|
if potential_new_scale < new_scale:
|
||||||
new_scale = potential_new_scale
|
new_scale = potential_new_scale
|
||||||
|
|
||||||
scale = Vector3(new_scale, new_scale, new_scale)
|
scale = Vector3(new_scale, 1.0, new_scale)
|
@ -90,6 +90,9 @@ func _ready():
|
|||||||
Daytime.increase_per_second = 100
|
Daytime.increase_per_second = 100
|
||||||
Pills._decrease_per_second = 0.8
|
Pills._decrease_per_second = 0.8
|
||||||
|
|
||||||
|
if IsInFactory:
|
||||||
|
Daytime.increase_per_second = 0
|
||||||
|
|
||||||
# setup collisions with Meldewesen
|
# setup collisions with Meldewesen
|
||||||
var area = get_node("InteractArea") as Area
|
var area = get_node("InteractArea") as Area
|
||||||
assert(null != area)
|
assert(null != area)
|
||||||
@ -236,15 +239,26 @@ func _on_area_entered (area: Area):
|
|||||||
Logger.info("entering factory")
|
Logger.info("entering factory")
|
||||||
IsInFactory = true
|
IsInFactory = true
|
||||||
IsOutside = false
|
IsOutside = false
|
||||||
# TODO: move not change_scene!
|
|
||||||
get_tree().change_scene("res://Level/InFactory.tscn")
|
get_tree().change_scene("res://Level/InFactory.tscn")
|
||||||
|
elif area.is_in_group("TunnelEntry"):
|
||||||
|
Logger.info("entering factory")
|
||||||
|
IsInFactory = false
|
||||||
|
IsOutside = false
|
||||||
|
# TODO: move not change_scene!
|
||||||
|
get_tree().change_scene("res://Level/Tunnel.tscn")
|
||||||
# TODO: other entries
|
# TODO: other entries
|
||||||
elif area.is_in_group("OutsideEntry"):
|
elif area.is_in_group("OutsideEntry"):
|
||||||
Logger.info("leaving factory")
|
Logger.info("leaving factory")
|
||||||
IsInFactory = false
|
IsInFactory = false
|
||||||
IsOutside = true
|
IsOutside = true
|
||||||
# TODO: move not change_scene!
|
# TODO: move not change_scene!
|
||||||
get_tree().change_scene("res://Level/World.tscn")
|
get_tree().change_scene("res://Level/OutsideWorld.tscn")
|
||||||
|
elif area.is_in_group("LabyrinthEntry"):
|
||||||
|
Logger.info("entering labyrinth")
|
||||||
|
IsInFactory = false
|
||||||
|
IsInLabyrinth = true
|
||||||
|
# TODO: move not change_scene!
|
||||||
|
get_tree().change_scene("res://Level/Labyrinth.tscn")
|
||||||
|
|
||||||
|
|
||||||
func _on_area_exited (area: Area):
|
func _on_area_exited (area: Area):
|
||||||
@ -273,9 +287,12 @@ func _on_respawn ():
|
|||||||
|
|
||||||
#Logger.info("save areas: " + String(_save_areas))
|
#Logger.info("save areas: " + String(_save_areas))
|
||||||
if _save_areas < 1 and not IsInLabyrinth:
|
if _save_areas < 1 and not IsInLabyrinth:
|
||||||
Logger.info("reload scene")
|
Logger.info("move back to home")
|
||||||
|
|
||||||
Pills._set_level(Pills.get_max())
|
Pills._set_level(Pills.get_max())
|
||||||
get_tree().reload_current_scene()
|
IsInFactory = false
|
||||||
|
IsOutside = true
|
||||||
|
# TODO: move not change_scene!
|
||||||
|
get_tree().change_scene("res://Level/OutsideWorld.tscn")
|
||||||
|
|
||||||
_inventory.show() # enable hud again
|
_inventory.show() # enable hud again
|
||||||
|
@ -12,10 +12,8 @@ func _ready():
|
|||||||
#Logger.set_logger_level(Logger.LOG_LEVEL_FINE)
|
#Logger.set_logger_level(Logger.LOG_LEVEL_FINE)
|
||||||
|
|
||||||
_followPath = get_node("../") as PathFollow
|
_followPath = get_node("../") as PathFollow
|
||||||
assert(null != _followPath)
|
|
||||||
|
|
||||||
_navPath = get_node("../../") as Path
|
_navPath = get_node("../../") as Path
|
||||||
assert(null != _navPath)
|
|
||||||
|
|
||||||
var _interactArea = get_node("InteractArea") as Area
|
var _interactArea = get_node("InteractArea") as Area
|
||||||
assert(null != _interactArea)
|
assert(null != _interactArea)
|
||||||
@ -24,6 +22,7 @@ func _ready():
|
|||||||
func _process(_delta):
|
func _process(_delta):
|
||||||
# TODO: movement
|
# TODO: movement
|
||||||
#if current_target: # should not be needed -> handled per navigation path
|
#if current_target: # should not be needed -> handled per navigation path
|
||||||
|
if _followPath != null:
|
||||||
_followPath.offset += diffPerSecond * _delta
|
_followPath.offset += diffPerSecond * _delta
|
||||||
|
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
@ -2,8 +2,7 @@
|
|||||||
|
|
||||||
[ext_resource path="res://Resources/Models/Material_002.material" type="Material" id=1]
|
[ext_resource path="res://Resources/Models/Material_002.material" type="Material" id=1]
|
||||||
[ext_resource path="res://Resources/Models/leaves.material" type="Material" id=2]
|
[ext_resource path="res://Resources/Models/leaves.material" type="Material" id=2]
|
||||||
[ext_resource path="res://Resources/Models/Material_001.material" type="Material" id=3]
|
[ext_resource path="res://Resources/Models/noppen.material" type="Material" id=3]
|
||||||
[ext_resource path="res://Resources/Models/noppen.material" type="Material" id=4]
|
|
||||||
|
|
||||||
[sub_resource type="ArrayMesh" id=1]
|
[sub_resource type="ArrayMesh" id=1]
|
||||||
resource_name = "Cylinder.001"
|
resource_name = "Cylinder.001"
|
||||||
@ -34,6 +33,13 @@ surfaces/1 = {
|
|||||||
"vertex_count": 240
|
"vertex_count": 240
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[sub_resource type="SpatialMaterial" id=4]
|
||||||
|
resource_name = "Material.001"
|
||||||
|
params_cull_mode = 2
|
||||||
|
albedo_color = Color( 1, 0.764706, 0.992157, 1 )
|
||||||
|
metallic = 0.1
|
||||||
|
roughness = 0.47
|
||||||
|
|
||||||
[sub_resource type="ArrayMesh" id=2]
|
[sub_resource type="ArrayMesh" id=2]
|
||||||
resource_name = "Cylinder"
|
resource_name = "Cylinder"
|
||||||
surfaces/0 = {
|
surfaces/0 = {
|
||||||
@ -43,7 +49,7 @@ surfaces/0 = {
|
|||||||
"blend_shape_data": [ ],
|
"blend_shape_data": [ ],
|
||||||
"format": 97559,
|
"format": 97559,
|
||||||
"index_count": 828,
|
"index_count": 828,
|
||||||
"material": ExtResource( 3 ),
|
"material": SubResource( 4 ),
|
||||||
"name": "Material.001",
|
"name": "Material.001",
|
||||||
"primitive": 4,
|
"primitive": 4,
|
||||||
"skeleton_aabb": [ ],
|
"skeleton_aabb": [ ],
|
||||||
@ -56,7 +62,7 @@ surfaces/1 = {
|
|||||||
"blend_shape_data": [ ],
|
"blend_shape_data": [ ],
|
||||||
"format": 97559,
|
"format": 97559,
|
||||||
"index_count": 60,
|
"index_count": 60,
|
||||||
"material": ExtResource( 4 ),
|
"material": ExtResource( 3 ),
|
||||||
"name": "noppen",
|
"name": "noppen",
|
||||||
"primitive": 4,
|
"primitive": 4,
|
||||||
"skeleton_aabb": [ ],
|
"skeleton_aabb": [ ],
|
||||||
|
1318
Level/InFactory.tscn
1318
Level/InFactory.tscn
File diff suppressed because one or more lines are too long
@ -56,7 +56,7 @@ mesh = SubResource( 2 )
|
|||||||
material/0 = ExtResource( 3 )
|
material/0 = ExtResource( 3 )
|
||||||
|
|
||||||
[node name="weirdModel" parent="." instance=ExtResource( 4 )]
|
[node name="weirdModel" parent="." instance=ExtResource( 4 )]
|
||||||
transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0.01, 3.72529e-009 )
|
transform = Transform( 0.1, 0, 0, 0, 0.1, 0, 0, 0, 0.1, 0, 0.01, 3.72529e-09 )
|
||||||
visible = false
|
visible = false
|
||||||
|
|
||||||
[node name="CollisionShape" type="CollisionShape" parent="."]
|
[node name="CollisionShape" type="CollisionShape" parent="."]
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
[sub_resource type="ArrayMesh" id=1]
|
[sub_resource type="ArrayMesh" id=1]
|
||||||
resource_name = "Cube"
|
resource_name = "Cube"
|
||||||
surfaces/0 = {
|
surfaces/0 = {
|
||||||
"aabb": AABB( 1, -1, -1, 1.00136e-005, 2, 2.00001 ),
|
"aabb": AABB( 1, -1, -1, 1.00136e-05, 2, 2.00001 ),
|
||||||
"array_data": PoolByteArray( 0, 0, 128, 63, 205, 204, 76, 191, 0, 0, 128, 63, 127, 0, 0, 0, 0, 0, 129, 127, 0, 0, 51, 59, 0, 0, 128, 63, 0, 0, 128, 191, 129, 202, 89, 63, 127, 0, 0, 0, 0, 0, 129, 127, 198, 44, 0, 60, 0, 0, 128, 63, 0, 0, 128, 191, 154, 153, 89, 191, 127, 0, 0, 0, 0, 0, 129, 127, 102, 59, 0, 60, 0, 0, 128, 63, 205, 204, 76, 191, 0, 0, 128, 191, 127, 0, 0, 0, 0, 0, 129, 127, 0, 60, 51, 59, 0, 0, 128, 63, 205, 204, 76, 63, 0, 0, 128, 191, 127, 0, 0, 0, 0, 0, 130, 127, 0, 60, 102, 46, 0, 0, 128, 63, 0, 0, 128, 63, 154, 153, 89, 191, 127, 0, 0, 0, 0, 0, 129, 127, 102, 59, 0, 0, 0, 0, 128, 63, 0, 0, 128, 63, 154, 153, 89, 63, 127, 0, 0, 0, 0, 0, 129, 127, 204, 44, 0, 0, 0, 0, 128, 63, 205, 204, 76, 63, 0, 0, 128, 63, 127, 0, 0, 0, 0, 0, 129, 127, 0, 0, 102, 46 ),
|
"array_data": PoolByteArray( 0, 0, 128, 63, 205, 204, 76, 191, 0, 0, 128, 63, 127, 0, 0, 0, 0, 0, 129, 127, 0, 0, 51, 59, 0, 0, 128, 63, 0, 0, 128, 191, 129, 202, 89, 63, 127, 0, 0, 0, 0, 0, 129, 127, 198, 44, 0, 60, 0, 0, 128, 63, 0, 0, 128, 191, 154, 153, 89, 191, 127, 0, 0, 0, 0, 0, 129, 127, 102, 59, 0, 60, 0, 0, 128, 63, 205, 204, 76, 191, 0, 0, 128, 191, 127, 0, 0, 0, 0, 0, 129, 127, 0, 60, 51, 59, 0, 0, 128, 63, 205, 204, 76, 63, 0, 0, 128, 191, 127, 0, 0, 0, 0, 0, 130, 127, 0, 60, 102, 46, 0, 0, 128, 63, 0, 0, 128, 63, 154, 153, 89, 191, 127, 0, 0, 0, 0, 0, 129, 127, 102, 59, 0, 0, 0, 0, 128, 63, 0, 0, 128, 63, 154, 153, 89, 63, 127, 0, 0, 0, 0, 0, 129, 127, 204, 44, 0, 0, 0, 0, 128, 63, 205, 204, 76, 63, 0, 0, 128, 63, 127, 0, 0, 0, 0, 0, 129, 127, 0, 0, 102, 46 ),
|
||||||
"array_index_data": PoolByteArray( 0, 0, 2, 0, 1, 0, 2, 0, 0, 0, 3, 0, 3, 0, 0, 0, 4, 0, 4, 0, 6, 0, 5, 0, 6, 0, 4, 0, 7, 0, 7, 0, 4, 0, 0, 0 ),
|
"array_index_data": PoolByteArray( 0, 0, 2, 0, 1, 0, 2, 0, 0, 0, 3, 0, 3, 0, 0, 0, 4, 0, 4, 0, 6, 0, 5, 0, 6, 0, 4, 0, 7, 0, 7, 0, 4, 0, 0, 0 ),
|
||||||
"blend_shape_data": [ ],
|
"blend_shape_data": [ ],
|
||||||
|
@ -35,14 +35,14 @@ surfaces/0 = {
|
|||||||
|
|
||||||
[sub_resource type="BoxShape" id=3]
|
[sub_resource type="BoxShape" id=3]
|
||||||
|
|
||||||
[node name="Spatial" type="StaticBody" groups=[
|
[node name="StraightPipe" type="StaticBody" groups=[
|
||||||
"Pipes",
|
"Pipes",
|
||||||
]]
|
]]
|
||||||
collision_layer = 7
|
collision_layer = 7
|
||||||
collision_mask = 7
|
collision_mask = 7
|
||||||
script = ExtResource( 1 )
|
script = ExtResource( 1 )
|
||||||
mesh_path = NodePath("Mesh")
|
mesh_path = NodePath("../StraightPipe/Mesh")
|
||||||
color_cast_left = NodePath("ColorCast")
|
color_cast_left = NodePath("../StraightPipe/ColorCast")
|
||||||
|
|
||||||
[node name="Mesh" type="MeshInstance" parent="."]
|
[node name="Mesh" type="MeshInstance" parent="."]
|
||||||
transform = Transform( 0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 0, 0 )
|
transform = Transform( 0.2, 0, 0, 0, 0.2, 0, 0, 0, 0.2, 0, 0, 0 )
|
||||||
|
File diff suppressed because one or more lines are too long
77
Level/Tunnel.tscn
Normal file
77
Level/Tunnel.tscn
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
[gd_scene load_steps=6 format=2]
|
||||||
|
|
||||||
|
[ext_resource path="res://Characters/Player/Player.tscn" type="PackedScene" id=1]
|
||||||
|
|
||||||
|
[sub_resource type="SpatialMaterial" id=2]
|
||||||
|
params_cull_mode = 1
|
||||||
|
albedo_color = Color( 0, 0, 0, 1 )
|
||||||
|
metallic = 0.68
|
||||||
|
roughness = 0.42
|
||||||
|
|
||||||
|
[sub_resource type="ArrayMesh" id=1]
|
||||||
|
resource_name = "Cylinder"
|
||||||
|
surfaces/0 = {
|
||||||
|
"aabb": AABB( -0.866026, -1, -1, 1.73205, 2.00001, 2 ),
|
||||||
|
"array_data": PoolByteArray( 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 128, 191, 63, 0, 147, 0, 147, 0, 193, 127, 0, 60, 0, 0, 217, 179, 93, 63, 0, 0, 128, 191, 0, 0, 0, 191, 63, 0, 147, 0, 147, 0, 193, 127, 170, 58, 0, 56, 0, 0, 0, 0, 0, 0, 128, 191, 0, 0, 128, 191, 63, 0, 147, 0, 147, 0, 193, 127, 0, 60, 0, 56, 217, 179, 93, 63, 0, 0, 128, 63, 0, 0, 0, 191, 127, 0, 0, 0, 0, 0, 129, 127, 170, 58, 0, 0, 215, 179, 93, 63, 0, 0, 128, 191, 2, 0, 0, 63, 127, 0, 0, 0, 0, 0, 129, 127, 85, 57, 0, 56, 217, 179, 93, 63, 0, 0, 128, 191, 0, 0, 0, 191, 127, 0, 0, 0, 0, 0, 129, 127, 170, 58, 0, 56, 215, 179, 93, 63, 0, 0, 128, 63, 2, 0, 0, 63, 63, 0, 109, 0, 109, 0, 193, 127, 85, 57, 0, 0, 0, 0, 0, 0, 0, 0, 128, 191, 0, 0, 128, 63, 63, 0, 109, 0, 109, 0, 193, 127, 0, 56, 0, 56, 215, 179, 93, 63, 0, 0, 128, 191, 2, 0, 0, 63, 63, 0, 109, 0, 109, 0, 193, 127, 85, 57, 0, 56, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 128, 63, 193, 0, 109, 0, 109, 0, 63, 127, 0, 56, 0, 0, 217, 179, 93, 191, 0, 0, 128, 191, 253, 255, 255, 62, 193, 0, 109, 0, 109, 0, 63, 127, 85, 53, 0, 56, 0, 0, 0, 0, 0, 0, 128, 191, 0, 0, 128, 63, 193, 0, 109, 0, 109, 0, 63, 127, 0, 56, 0, 56, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 128, 191, 0, 127, 0, 0, 126, 0, 0, 127, 0, 52, 20, 56, 217, 179, 93, 191, 0, 0, 128, 63, 253, 255, 255, 62, 0, 127, 0, 0, 127, 0, 0, 127, 101, 41, 245, 58, 215, 179, 93, 63, 0, 0, 128, 63, 2, 0, 0, 63, 0, 127, 0, 0, 127, 0, 0, 127, 83, 55, 245, 58, 217, 179, 93, 191, 0, 0, 128, 63, 253, 255, 255, 62, 129, 0, 0, 0, 0, 0, 127, 127, 85, 53, 0, 0, 217, 179, 93, 191, 0, 0, 128, 191, 253, 255, 255, 190, 129, 0, 0, 0, 0, 0, 127, 127, 85, 49, 0, 56, 217, 179, 93, 191, 0, 0, 128, 191, 253, 255, 255, 62, 129, 0, 0, 0, 0, 0, 127, 127, 85, 53, 0, 56, 217, 179, 93, 191, 0, 0, 128, 63, 253, 255, 255, 190, 193, 0, 147, 0, 147, 0, 63, 127, 85, 49, 0, 0, 0, 0, 0, 0, 0, 0, 128, 191, 0, 0, 128, 191, 193, 0, 147, 0, 147, 0, 63, 127, 0, 0, 0, 56, 217, 179, 93, 191, 0, 0, 128, 191, 253, 255, 255, 190, 193, 0, 147, 0, 147, 0, 63, 127, 85, 49, 0, 56, 217, 179, 93, 191, 0, 0, 128, 191, 253, 255, 255, 62, 0, 129, 0, 0, 127, 0, 0, 129, 86, 56, 245, 58, 217, 179, 93, 191, 0, 0, 128, 191, 253, 255, 255, 190, 0, 129, 0, 0, 127, 0, 0, 129, 86, 56, 10, 57, 217, 179, 93, 63, 0, 0, 128, 191, 0, 0, 0, 191, 0, 129, 0, 0, 127, 0, 0, 129, 169, 59, 10, 57, 217, 179, 93, 63, 0, 0, 128, 63, 0, 0, 0, 191, 63, 0, 147, 0, 147, 0, 193, 127, 170, 58, 0, 0, 217, 179, 93, 63, 0, 0, 128, 63, 0, 0, 0, 191, 127, 0, 0, 0, 0, 0, 129, 127, 170, 58, 0, 0, 215, 179, 93, 63, 0, 0, 128, 63, 2, 0, 0, 63, 127, 0, 0, 0, 0, 0, 129, 127, 85, 57, 0, 0, 215, 179, 93, 63, 0, 0, 128, 191, 2, 0, 0, 63, 127, 0, 0, 0, 0, 0, 129, 127, 85, 57, 0, 56, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 128, 63, 63, 0, 109, 0, 109, 0, 193, 127, 0, 56, 0, 0, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 128, 63, 193, 0, 109, 0, 109, 0, 63, 127, 0, 56, 0, 0, 217, 179, 93, 191, 0, 0, 128, 63, 253, 255, 255, 62, 193, 0, 109, 0, 109, 0, 63, 127, 85, 53, 0, 0, 217, 179, 93, 191, 0, 0, 128, 191, 253, 255, 255, 62, 193, 0, 109, 0, 109, 0, 63, 127, 85, 53, 0, 56, 217, 179, 93, 63, 0, 0, 128, 63, 0, 0, 0, 191, 0, 127, 0, 0, 127, 0, 0, 127, 83, 55, 10, 57, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 128, 191, 0, 127, 0, 0, 127, 0, 0, 127, 0, 52, 20, 56, 217, 179, 93, 191, 0, 0, 128, 63, 253, 255, 255, 190, 0, 127, 0, 0, 127, 0, 0, 127, 101, 41, 10, 57, 217, 179, 93, 191, 0, 0, 128, 63, 253, 255, 255, 62, 0, 127, 0, 0, 127, 0, 0, 127, 101, 41, 245, 58, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 128, 63, 0, 127, 0, 0, 127, 0, 0, 127, 0, 52, 235, 59, 217, 179, 93, 191, 0, 0, 128, 63, 253, 255, 255, 190, 129, 0, 0, 0, 0, 0, 127, 127, 85, 49, 0, 0, 0, 0, 0, 0, 0, 0, 128, 63, 0, 0, 128, 191, 193, 0, 147, 0, 147, 0, 63, 127, 0, 0, 0, 0, 217, 179, 93, 191, 0, 0, 128, 191, 253, 255, 255, 190, 0, 129, 0, 0, 127, 0, 0, 129, 86, 56, 10, 57, 0, 0, 0, 0, 0, 0, 128, 191, 0, 0, 128, 191, 0, 129, 0, 0, 127, 0, 0, 129, 0, 58, 20, 56, 217, 179, 93, 63, 0, 0, 128, 191, 0, 0, 0, 191, 0, 129, 0, 0, 127, 0, 0, 129, 169, 59, 10, 57, 215, 179, 93, 63, 0, 0, 128, 191, 2, 0, 0, 63, 0, 129, 0, 0, 127, 0, 0, 129, 169, 59, 245, 58, 0, 0, 0, 0, 0, 0, 128, 191, 0, 0, 128, 63, 0, 129, 0, 0, 127, 0, 0, 129, 0, 58, 235, 59, 0, 0, 0, 0, 0, 0, 128, 191, 0, 0, 128, 63, 0, 129, 0, 0, 127, 0, 0, 129, 0, 58, 235, 59 ),
|
||||||
|
"array_index_data": PoolByteArray( 0, 0, 2, 0, 1, 0, 3, 0, 5, 0, 4, 0, 6, 0, 8, 0, 7, 0, 9, 0, 11, 0, 10, 0, 12, 0, 14, 0, 13, 0, 15, 0, 17, 0, 16, 0, 18, 0, 20, 0, 19, 0, 21, 0, 23, 0, 22, 0, 0, 0, 1, 0, 24, 0, 25, 0, 27, 0, 26, 0, 6, 0, 7, 0, 28, 0, 29, 0, 31, 0, 30, 0, 14, 0, 12, 0, 32, 0, 33, 0, 35, 0, 34, 0, 13, 0, 14, 0, 36, 0, 15, 0, 16, 0, 37, 0, 18, 0, 19, 0, 38, 0, 39, 0, 41, 0, 40, 0, 41, 0, 43, 0, 42, 0, 44, 0, 23, 0, 21, 0 ),
|
||||||
|
"blend_shape_data": [ ],
|
||||||
|
"format": 97559,
|
||||||
|
"index_count": 60,
|
||||||
|
"primitive": 4,
|
||||||
|
"skeleton_aabb": [ ],
|
||||||
|
"vertex_count": 45
|
||||||
|
}
|
||||||
|
|
||||||
|
[sub_resource type="ConcavePolygonShape" id=3]
|
||||||
|
data = PoolVector3Array( 0, 1, -1, 0, -1, -1, 0.866, -1, -0.5, 0.866, 1, -0.5, 0.866, -1, -0.5, 0.866, -1, 0.5, 0.866, 1, 0.5, 0.866, -1, 0.5, 0, -1, 1, 0, 1, 1, 0, -1, 1, -0.866, -1, 0.5, 0, 1, -1, 0.866, 1, 0.5, -0.866, 1, 0.5, -0.866, 1, 0.5, -0.866, -1, 0.5, -0.866, -1, -0.5, -0.866, 1, -0.5, -0.866, -1, -0.5, 0, -1, -1, -0.866, -1, 0.5, 0.866, -1, -0.5, -0.866, -1, -0.5, 0, 1, -1, 0.866, -1, -0.5, 0.866, 1, -0.5, 0.866, 1, -0.5, 0.866, -1, 0.5, 0.866, 1, 0.5, 0.866, 1, 0.5, 0, -1, 1, 0, 1, 1, 0, 1, 1, -0.866, -1, 0.5, -0.866, 1, 0.5, 0.866, 1, 0.5, 0, 1, -1, 0.866, 1, -0.5, 0, 1, -1, -0.866, 1, 0.5, -0.866, 1, -0.5, -0.866, 1, 0.5, 0.866, 1, 0.5, 0, 1, 1, -0.866, 1, 0.5, -0.866, -1, -0.5, -0.866, 1, -0.5, -0.866, 1, -0.5, 0, -1, -1, 0, 1, -1, -0.866, -1, -0.5, 0.866, -1, -0.5, 0, -1, -1, 0.866, -1, -0.5, 0, -1, 1, 0.866, -1, 0.5, 0, -1, 1, 0.866, -1, -0.5, -0.866, -1, 0.5 )
|
||||||
|
|
||||||
|
[sub_resource type="SphereShape" id=4]
|
||||||
|
radius = 12.1331
|
||||||
|
|
||||||
|
[node name="Tunnel" type="Spatial"]
|
||||||
|
|
||||||
|
[node name="Cylinder" type="MeshInstance" parent="."]
|
||||||
|
transform = Transform( -0.95051, 99.5472, 0, -9.95472, -9.5051, 0, 0, 0, 10, 0, 9, 0 )
|
||||||
|
layers = 3
|
||||||
|
material_override = SubResource( 2 )
|
||||||
|
mesh = SubResource( 1 )
|
||||||
|
material/0 = null
|
||||||
|
|
||||||
|
[node name="StaticBody" type="StaticBody" parent="Cylinder"]
|
||||||
|
collision_layer = 3
|
||||||
|
collision_mask = 3
|
||||||
|
|
||||||
|
[node name="CollisionShape" type="CollisionShape" parent="Cylinder/StaticBody"]
|
||||||
|
shape = SubResource( 3 )
|
||||||
|
|
||||||
|
[node name="OmniLight" type="OmniLight" parent="."]
|
||||||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 92, 0, 0 )
|
||||||
|
layers = 2
|
||||||
|
light_color = Color( 1, 0.501961, 0.898039, 1 )
|
||||||
|
omni_range = 343.436
|
||||||
|
|
||||||
|
[node name="OmniLight2" type="OmniLight" parent="."]
|
||||||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -94, 18, 0 )
|
||||||
|
light_color = Color( 0.501961, 0.894118, 1, 1 )
|
||||||
|
omni_range = 343.436
|
||||||
|
|
||||||
|
[node name="Player" parent="." instance=ExtResource( 1 )]
|
||||||
|
transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -81, 17, 0 )
|
||||||
|
IsOutside = false
|
||||||
|
IsInLabyrinth = true
|
||||||
|
|
||||||
|
[node name="LabyrinthPort" type="Area" parent="." groups=[
|
||||||
|
"LabyrinthEntry",
|
||||||
|
]]
|
||||||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 93, 0, 0 )
|
||||||
|
|
||||||
|
[node name="CollisionShape" type="CollisionShape" parent="LabyrinthPort"]
|
||||||
|
shape = SubResource( 4 )
|
||||||
|
|
||||||
|
[node name="HousePort" type="Area" parent="." groups=[
|
||||||
|
"OutsideEntry",
|
||||||
|
]]
|
||||||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -101, 18, 0 )
|
||||||
|
|
||||||
|
[node name="CollisionShape" type="CollisionShape" parent="HousePort"]
|
||||||
|
shape = SubResource( 4 )
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
69
Resources/Models/tunnel.dae
Normal file
69
Resources/Models/tunnel.dae
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<COLLADA xmlns="http://www.collada.org/2005/11/COLLADASchema" version="1.4.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
|
<asset>
|
||||||
|
<contributor>
|
||||||
|
<author>Blender User</author>
|
||||||
|
<authoring_tool>Blender 2.80.75</authoring_tool>
|
||||||
|
</contributor>
|
||||||
|
<created>2020-01-28T16:49:41</created>
|
||||||
|
<modified>2020-01-28T16:49:41</modified>
|
||||||
|
<unit name="meter" meter="1"/>
|
||||||
|
<up_axis>Z_UP</up_axis>
|
||||||
|
</asset>
|
||||||
|
<library_images/>
|
||||||
|
<library_geometries>
|
||||||
|
<geometry id="Cylinder-mesh" name="Cylinder">
|
||||||
|
<mesh>
|
||||||
|
<source id="Cylinder-mesh-positions">
|
||||||
|
<float_array id="Cylinder-mesh-positions-array" count="36">0 1 -1 0 1 1 0.8660255 0.5 -1 0.8660255 0.5 1 0.8660254 -0.5000001 -1 0.8660254 -0.5000001 1 0 -1 -1 0 -1 1 -0.8660255 -0.4999999 -1 -0.8660255 -0.4999999 1 -0.8660255 0.4999999 -1 -0.8660255 0.4999999 1</float_array>
|
||||||
|
<technique_common>
|
||||||
|
<accessor source="#Cylinder-mesh-positions-array" count="12" stride="3">
|
||||||
|
<param name="X" type="float"/>
|
||||||
|
<param name="Y" type="float"/>
|
||||||
|
<param name="Z" type="float"/>
|
||||||
|
</accessor>
|
||||||
|
</technique_common>
|
||||||
|
</source>
|
||||||
|
<source id="Cylinder-mesh-normals">
|
||||||
|
<float_array id="Cylinder-mesh-normals-array" count="48">0.5 0.8660255 0 1 0 0 0.5 -0.8660255 0 -0.5000001 -0.8660253 0 0 0 1 -1 0 0 -0.5000001 0.8660255 0 0 0 -1 1 -1.19209e-7 0 0.5 -0.8660255 0 -0.5000001 -0.8660254 0 0 0 1 1.37651e-7 0 1 0 0 1 1.37651e-7 0 -1 1.37651e-7 0 -1</float_array>
|
||||||
|
<technique_common>
|
||||||
|
<accessor source="#Cylinder-mesh-normals-array" count="16" stride="3">
|
||||||
|
<param name="X" type="float"/>
|
||||||
|
<param name="Y" type="float"/>
|
||||||
|
<param name="Z" type="float"/>
|
||||||
|
</accessor>
|
||||||
|
</technique_common>
|
||||||
|
</source>
|
||||||
|
<source id="Cylinder-mesh-map-0">
|
||||||
|
<float_array id="Cylinder-mesh-map-0-array" count="120">1 1 0.8333333 0.5 1 0.5 0.8333333 1 0.6666666 0.5 0.8333333 0.5 0.6666666 1 0.5 0.5 0.6666666 0.5 0.5 1 0.3333333 0.5 0.5 0.5 0.25 0.49 0.04215389 0.13 0.4578461 0.1299999 0.3333333 1 0.1666666 0.5 0.3333333 0.5 0.1666666 1 0 0.5 0.1666666 0.5 0.5421539 0.13 0.5421539 0.37 0.9578461 0.37 1 1 0.8333333 1 0.8333333 0.5 0.8333333 1 0.6666666 1 0.6666666 0.5 0.6666666 1 0.5 1 0.5 0.5 0.5 1 0.3333333 1 0.3333333 0.5 0.4578461 0.1299999 0.4578461 0.37 0.25 0.49 0.25 0.49 0.04215389 0.37 0.04215389 0.13 0.04215389 0.13 0.25 0.00999999 0.4578461 0.1299999 0.3333333 1 0.1666666 1 0.1666666 0.5 0.1666666 1 0 1 0 0.5 0.5421539 0.37 0.75 0.49 0.9578461 0.37 0.9578461 0.37 0.9578461 0.1299999 0.75 0.00999999 0.75 0.00999999 0.5421539 0.13 0.9578461 0.37</float_array>
|
||||||
|
<technique_common>
|
||||||
|
<accessor source="#Cylinder-mesh-map-0-array" count="60" stride="2">
|
||||||
|
<param name="S" type="float"/>
|
||||||
|
<param name="T" type="float"/>
|
||||||
|
</accessor>
|
||||||
|
</technique_common>
|
||||||
|
</source>
|
||||||
|
<vertices id="Cylinder-mesh-vertices">
|
||||||
|
<input semantic="POSITION" source="#Cylinder-mesh-positions"/>
|
||||||
|
</vertices>
|
||||||
|
<triangles count="20">
|
||||||
|
<input semantic="VERTEX" source="#Cylinder-mesh-vertices" offset="0"/>
|
||||||
|
<input semantic="NORMAL" source="#Cylinder-mesh-normals" offset="1"/>
|
||||||
|
<input semantic="TEXCOORD" source="#Cylinder-mesh-map-0" offset="2" set="0"/>
|
||||||
|
<p>1 0 0 2 0 1 0 0 2 3 1 3 4 1 4 2 1 5 5 2 6 6 2 7 4 2 8 7 3 9 8 3 10 6 3 11 1 4 12 9 4 13 5 4 14 9 5 15 10 5 16 8 5 17 11 6 18 0 6 19 10 6 20 8 7 21 10 7 22 2 7 23 1 0 24 3 0 25 2 0 26 3 8 27 5 8 28 4 8 29 5 9 30 7 9 31 6 9 32 7 10 33 9 10 34 8 10 35 5 11 36 3 11 37 1 11 38 1 12 39 11 12 40 9 12 41 9 13 42 7 13 43 5 13 44 9 5 45 11 5 46 10 5 47 11 6 48 1 6 49 0 6 50 10 14 51 0 14 52 2 14 53 2 15 54 4 15 55 6 15 56 6 7 57 8 7 58 2 7 59</p>
|
||||||
|
</triangles>
|
||||||
|
</mesh>
|
||||||
|
</geometry>
|
||||||
|
</library_geometries>
|
||||||
|
<library_visual_scenes>
|
||||||
|
<visual_scene id="Scene" name="Scene">
|
||||||
|
<node id="Cylinder" name="Cylinder" type="NODE">
|
||||||
|
<matrix sid="transform">-0.9505103 0 199.0945 0 0 10 0 0 -9.954723 0 -19.01021 9 0 0 0 1</matrix>
|
||||||
|
<instance_geometry url="#Cylinder-mesh" name="Cylinder"/>
|
||||||
|
</node>
|
||||||
|
</visual_scene>
|
||||||
|
</library_visual_scenes>
|
||||||
|
<scene>
|
||||||
|
<instance_visual_scene url="#Scene"/>
|
||||||
|
</scene>
|
||||||
|
</COLLADA>
|
1062
Resources/Models/tunnel.dae.import
Normal file
1062
Resources/Models/tunnel.dae.import
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user