From bdbb1c7e3240971cfe2a299370d377718ef55723 Mon Sep 17 00:00:00 2001 From: karl Date: Sat, 23 Nov 2019 14:02:32 +0100 Subject: [PATCH] Add start part of the level --- WikiJam/Level/Fortaleza.tscn | 164 +++++++++++++++++++++++ WikiJam/Level/Level.tscn | 8 +- WikiJam/Level/Objects/LargeWall.tscn | 23 ++++ WikiJam/Level/Objects/LongBuilding.tscn | 38 ++++++ WikiJam/Level/Objects/SmallBuilding.tscn | 51 +++++++ WikiJam/Level/Objects/Wall.tscn | 11 +- WikiJam/Player/Player.tscn | 8 +- WikiJam/project.godot | 2 +- 8 files changed, 296 insertions(+), 9 deletions(-) create mode 100644 WikiJam/Level/Fortaleza.tscn create mode 100644 WikiJam/Level/Objects/LargeWall.tscn create mode 100644 WikiJam/Level/Objects/LongBuilding.tscn create mode 100644 WikiJam/Level/Objects/SmallBuilding.tscn diff --git a/WikiJam/Level/Fortaleza.tscn b/WikiJam/Level/Fortaleza.tscn new file mode 100644 index 0000000..b56c9ed --- /dev/null +++ b/WikiJam/Level/Fortaleza.tscn @@ -0,0 +1,164 @@ +[gd_scene load_steps=10 format=2] + +[ext_resource path="res://Level/Objects/Wall.tscn" type="PackedScene" id=1] +[ext_resource path="res://Level/Objects/LongBuilding.tscn" type="PackedScene" id=2] +[ext_resource path="res://Level/Objects/SmallBuilding.tscn" type="PackedScene" id=3] +[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=4] + +[sub_resource type="PlaneMesh" id=1] +size = Vector2( 500, 500 ) + +[sub_resource type="SpatialMaterial" id=2] +albedo_color = Color( 0.537255, 0.741176, 0.517647, 1 ) + +[sub_resource type="ConcavePolygonShape" id=5] +data = PoolVector3Array( 250, 0, 250, -250, 0, 250, 250, 0, -250, -250, 0, 250, -250, 0, -250, 250, 0, -250 ) + +[sub_resource type="ProceduralSky" id=3] + +[sub_resource type="Environment" id=4] +background_mode = 2 +background_sky = SubResource( 3 ) + +[node name="Fortaleza" type="Spatial"] + +[node name="Navigation" type="Navigation" parent="."] + +[node name="NavigationMeshInstance" type="NavigationMeshInstance" parent="Navigation"] + +[node name="Ground" type="MeshInstance" parent="Navigation/NavigationMeshInstance"] +mesh = SubResource( 1 ) +material/0 = SubResource( 2 ) + +[node name="StaticBody" type="StaticBody" parent="Navigation/NavigationMeshInstance/Ground"] + +[node name="CollisionShape" type="CollisionShape" parent="Navigation/NavigationMeshInstance/Ground/StaticBody"] +shape = SubResource( 5 ) + +[node name="Walls" type="Spatial" parent="Navigation/NavigationMeshInstance"] +editor/display_folded = true + +[node name="Wall" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 35, 0, 0 ) + +[node name="Wall2" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 35, 0, 10 ) + +[node name="Wall3" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 35, 0, 20 ) + +[node name="Wall4" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 35, 0, -10 ) + +[node name="Wall5" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 35, 0, -20 ) + +[node name="Wall6" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 35, 0, -30 ) + +[node name="Wall7" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 35, 0, -40 ) + +[node name="Wall8" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 35, 0, 30 ) + +[node name="Wall9" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 35, 0, 40 ) + +[node name="Wall10" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -44.8466, 0, 44.213 ) + +[node name="Wall16" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -49.1376, 0, 40.1174 ) + +[node name="Wall32" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 0.939693, 0, 0.34202, 0, 1, 0, -0.34202, 0, 0.939693, -32.2944, 0, 82.5998 ) + +[node name="Wall33" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 0.939693, 0, 0.34202, 0, 1, 0, -0.34202, 0, 0.939693, -29.2944, 0, 91.5998 ) + +[node name="Wall34" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 0.939693, 0, 0.34202, 0, 1, 0, -0.34202, 0, 0.939693, -26.2944, 0, 100.6 ) + +[node name="Wall35" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 0.939693, 0, 0.34202, 0, 1, 0, -0.34202, 0, 0.939693, -23.2944, 0, 109.6 ) + +[node name="Wall36" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 0.939693, 0, 0.34202, 0, 1, 0, -0.34202, 0, 0.939693, -20.2944, 0, 118.6 ) + +[node name="Wall17" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -49.1376, 0, 30.1174 ) + +[node name="Wall29" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 0.819152, 0, -0.573576, 0, 1, 0, 0.573576, 0, 0.819152, -46.1376, 0, 20.1174 ) + +[node name="Wall30" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 0.819152, 0, -0.573576, 0, 1, 0, 0.573576, 0, 0.819152, -40.1376, 0, 12.1174 ) + +[node name="Wall31" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -37.1376, 0, 4.1174 ) + +[node name="Wall18" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 0.819152, 0, 0.573576, 0, 1, 0, -0.573576, 0, 0.819152, -52.1376, 0, 21.1174 ) + +[node name="Wall19" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 0.819152, 0, 0.573576, 0, 1, 0, -0.573576, 0, 0.819152, -58.1376, 0, 13.1174 ) + +[node name="Wall20" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 0.819152, 0, 0.573576, 0, 1, 0, -0.573576, 0, 0.819152, -64.1376, 0, 5.1174 ) + +[node name="Wall21" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 0.906308, 0, -0.422618, 0, 1, 0, 0.422618, 0, 0.906308, -64.1376, 0, -3.8826 ) + +[node name="Wall22" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 0.906308, 0, -0.422618, 0, 1, 0, 0.422618, 0, 0.906308, -60.1376, 0, -12.8826 ) + +[node name="Wall23" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 0.906308, 0, -0.422618, 0, 1, 0, 0.422618, 0, 0.906308, -56.1376, 0, -21.8826 ) + +[node name="Wall24" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 0.906308, 0, -0.422618, 0, 1, 0, 0.422618, 0, 0.906308, -52.1376, 0, -30.8826 ) + +[node name="Wall26" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( -0.819152, 0, -0.573576, 0, 1, 0, 0.573576, 0, -0.819152, -47.1376, 0, -30.8826 ) + +[node name="Wall27" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( -0.819152, 0, -0.573576, 0, 1, 0, 0.573576, 0, -0.819152, -42.1376, 0, -22.8826 ) + +[node name="Wall28" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( -0.819152, 0, -0.573576, 0, 1, 0, 0.573576, 0, -0.819152, -37.1376, 0, -14.8826 ) + +[node name="Wall25" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 0.906308, 0, -0.422618, 0, 1, 0, 0.422618, 0, 0.906308, -52.1376, 0, -30.8826 ) + +[node name="Wall11" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -34.8466, 0, 44.213 ) + +[node name="Wall12" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -24.8466, 0, 44.213 ) + +[node name="Wall15" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( -4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 31.1534, 0, 44.213 ) + +[node name="Wall13" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( 0.5, 0, 0.866025, 0, 1, 0, -0.866025, 0, 0.5, -15.8466, 0, 46.213 ) + +[node name="Wall14" parent="Navigation/NavigationMeshInstance/Walls" instance=ExtResource( 1 )] +transform = Transform( -0.5, 0, 0.866025, 0, 1, 0, -0.866025, 0, -0.5, 22.1534, 0, 46.213 ) + +[node name="LongBuilding" parent="Navigation/NavigationMeshInstance" instance=ExtResource( 2 )] + +[node name="LongBuilding2" parent="Navigation/NavigationMeshInstance" instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 15, 0, 74 ) + +[node name="SmallBuilding" parent="Navigation/NavigationMeshInstance" instance=ExtResource( 3 )] + +[node name="WorldEnvironment" type="WorldEnvironment" parent="."] +environment = SubResource( 4 ) + +[node name="DirectionalLight" type="DirectionalLight" parent="WorldEnvironment"] +transform = Transform( 0.965926, 0.212012, -0.148453, 0, 0.573576, 0.819152, 0.258819, -0.79124, 0.554032, 0, 0, 0 ) +shadow_enabled = true + +[node name="Spatial" parent="." instance=ExtResource( 4 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 ) diff --git a/WikiJam/Level/Level.tscn b/WikiJam/Level/Level.tscn index d11eacb..7b64608 100644 --- a/WikiJam/Level/Level.tscn +++ b/WikiJam/Level/Level.tscn @@ -2,12 +2,12 @@ [ext_resource path="res://Player/Player.tscn" type="PackedScene" id=1] -[sub_resource type="NavigationMesh" id=3] +[sub_resource type="NavigationMesh" id=1] [sub_resource type="BoxShape" id=2] extents = Vector3( 10, 1, 10 ) -[sub_resource type="PlaneMesh" id=4] +[sub_resource type="PlaneMesh" id=3] size = Vector2( 20, 20 ) [node name="Level" type="Spatial"] @@ -18,7 +18,7 @@ size = Vector2( 20, 20 ) editor/display_folded = true [node name="NavigationMeshInstance" type="NavigationMeshInstance" parent="Navigation"] -navmesh = SubResource( 3 ) +navmesh = SubResource( 1 ) [node name="StaticBody" type="StaticBody" parent="Navigation/NavigationMeshInstance"] @@ -27,6 +27,6 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 0 ) shape = SubResource( 2 ) [node name="MeshInstance" type="MeshInstance" parent="Navigation/NavigationMeshInstance"] -mesh = SubResource( 4 ) +mesh = SubResource( 3 ) skeleton = NodePath("") material/0 = null diff --git a/WikiJam/Level/Objects/LargeWall.tscn b/WikiJam/Level/Objects/LargeWall.tscn new file mode 100644 index 0000000..9c83bd1 --- /dev/null +++ b/WikiJam/Level/Objects/LargeWall.tscn @@ -0,0 +1,23 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://Level/Objects/Wall.tscn" type="PackedScene" id=1] + +[node name="LargeWall" type="Spatial"] + +[node name="Wall" parent="." instance=ExtResource( 1 )] +transform = Transform( 6.70552e-08, 0, -1, 0, 1, 0, 1, 0, 6.70552e-08, -10, 0, 0 ) + +[node name="Wall7" parent="." instance=ExtResource( 1 )] +transform = Transform( 6.70552e-08, 0, -1, 0, 1, 0, 1, 0, 6.70552e-08, -10, 6, 0 ) + +[node name="Wall8" parent="." instance=ExtResource( 1 )] +transform = Transform( 6.70552e-08, 0, -1, 0, 1, 0, 1, 0, 6.70552e-08, 0, 6, 0 ) + +[node name="Wall9" parent="." instance=ExtResource( 1 )] +transform = Transform( 6.70552e-08, 0, -1, 0, 1, 0, 1, 0, 6.70552e-08, 10, 6, 0 ) + +[node name="Wall2" parent="." instance=ExtResource( 1 )] +transform = Transform( 6.70552e-08, 0, -1, 0, 1, 0, 1, 0, 6.70552e-08, 0, 0, 0 ) + +[node name="Wall3" parent="." instance=ExtResource( 1 )] +transform = Transform( 6.70552e-08, 0, -1, 0, 1, 0, 1, 0, 6.70552e-08, 10, 0, 0 ) diff --git a/WikiJam/Level/Objects/LongBuilding.tscn b/WikiJam/Level/Objects/LongBuilding.tscn new file mode 100644 index 0000000..50e04a8 --- /dev/null +++ b/WikiJam/Level/Objects/LongBuilding.tscn @@ -0,0 +1,38 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://Level/Objects/LargeWall.tscn" type="PackedScene" id=1] +[ext_resource path="res://Level/Objects/Wall.tscn" type="PackedScene" id=2] + +[node name="LongBuilding" type="Spatial"] + +[node name="Walls" type="Spatial" parent="."] + +[node name="LargeWall" type="Spatial" parent="Walls" instance=ExtResource( 1 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 21, 0, 49 ) + +[node name="LargeWall2" type="Spatial" parent="Walls" instance=ExtResource( 1 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -20, 0, 49 ) + +[node name="LargeWall7" type="Spatial" parent="Walls" instance=ExtResource( 1 )] +transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -34, 0, 63 ) + +[node name="LargeWall4" type="Spatial" parent="Walls" instance=ExtResource( 1 )] +transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 35, 0, 63 ) + +[node name="LargeWall5" type="Spatial" parent="Walls" instance=ExtResource( 1 )] +transform = Transform( -1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 27, 0, 77 ) + +[node name="LargeWall6" type="Spatial" parent="Walls" instance=ExtResource( 1 )] +transform = Transform( -1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, -3, 0, 77 ) + +[node name="Wall" type="Spatial" parent="Walls" instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 21, 0, 55 ) + +[node name="Wall2" type="Spatial" parent="Walls" instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 21, 6, 55 ) + +[node name="Wall3" type="Spatial" parent="Walls" instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 21, 6, 65 ) + +[node name="Wall4" type="Spatial" parent="Walls" instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 21, 0, 65 ) diff --git a/WikiJam/Level/Objects/SmallBuilding.tscn b/WikiJam/Level/Objects/SmallBuilding.tscn new file mode 100644 index 0000000..b0d5ad7 --- /dev/null +++ b/WikiJam/Level/Objects/SmallBuilding.tscn @@ -0,0 +1,51 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://Level/Objects/LargeWall.tscn" type="PackedScene" id=1] +[ext_resource path="res://Level/Objects/Wall.tscn" type="PackedScene" id=2] + +[node name="SmallBuilding" type="Spatial"] + +[node name="LargeWall" type="Spatial" parent="." instance=ExtResource( 1 )] +transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -14.1343, 0, 0 ) + +[node name="LargeWall7" type="Spatial" parent="." instance=ExtResource( 1 )] +transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -14.1343, 12, 0 ) + +[node name="LargeWall11" type="Spatial" parent="." instance=ExtResource( 1 )] +transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, -14.1343, 24, 0 ) + +[node name="LargeWall3" type="Spatial" parent="." instance=ExtResource( 1 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.134278, 0, 14.2772 ) + +[node name="LargeWall5" type="Spatial" parent="." instance=ExtResource( 1 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.134278, 12, 14.2772 ) + +[node name="LargeWall10" type="Spatial" parent="." instance=ExtResource( 1 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.134278, 24, 14.2772 ) + +[node name="LargeWall2" type="Spatial" parent="." instance=ExtResource( 1 )] +transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 14.2347, 0, 0 ) + +[node name="LargeWall6" type="Spatial" parent="." instance=ExtResource( 1 )] +transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 14.2347, 12, 0 ) + +[node name="LargeWall9" type="Spatial" parent="." instance=ExtResource( 1 )] +transform = Transform( -4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 14.2347, 24, 0 ) + +[node name="LargeWall8" type="Spatial" parent="." instance=ExtResource( 1 )] +transform = Transform( -1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 12, -14.2661 ) + +[node name="LargeWall12" type="Spatial" parent="." instance=ExtResource( 1 )] +transform = Transform( -1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 24, -14.2661 ) + +[node name="Wall" type="Spatial" parent="." instance=ExtResource( 2 )] +transform = Transform( -2.98023e-08, 0, -1, 0, 1, 0, 1, 0, -2.98023e-08, 10, 0, -14.1777 ) + +[node name="Wall2" type="Spatial" parent="." instance=ExtResource( 2 )] +transform = Transform( -2.98023e-08, 0, -1, 0, 1, 0, 1, 0, -2.98023e-08, 10, 6, -14.1777 ) + +[node name="Wall3" type="Spatial" parent="." instance=ExtResource( 2 )] +transform = Transform( -2.98023e-08, 0, -1, 0, 1, 0, 1, 0, -2.98023e-08, -10, 6, -14.1777 ) + +[node name="Wall4" type="Spatial" parent="." instance=ExtResource( 2 )] +transform = Transform( -2.98023e-08, 0, -1, 0, 1, 0, 1, 0, -2.98023e-08, -10, 0, -14.1777 ) diff --git a/WikiJam/Level/Objects/Wall.tscn b/WikiJam/Level/Objects/Wall.tscn index 3aa0366..89afa83 100644 --- a/WikiJam/Level/Objects/Wall.tscn +++ b/WikiJam/Level/Objects/Wall.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=6 format=2] +[gd_scene load_steps=7 format=2] [ext_resource path="res://Models/Material.material" type="Material" id=1] [ext_resource path="res://Models/Inside.material" type="Material" id=2] @@ -38,6 +38,9 @@ roughness = 0.9 [sub_resource type="SpatialMaterial" id=3] albedo_color = Color( 0.941176, 0.72549, 0.533333, 1 ) +[sub_resource type="BoxShape" id=4] +extents = Vector3( 1.5, 3, 5 ) + [node name="Wall" type="Spatial"] [node name="Mesh" type="MeshInstance" parent="."] @@ -45,3 +48,9 @@ transform = Transform( 1, 0, 0, 0, 5, 0, 0, 0, 5, 0, 1.10608, 0 ) mesh = SubResource( 1 ) material/0 = SubResource( 2 ) material/1 = SubResource( 3 ) + +[node name="StaticBody" type="StaticBody" parent="."] + +[node name="CollisionShape" type="CollisionShape" parent="StaticBody"] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0 ) +shape = SubResource( 4 ) diff --git a/WikiJam/Player/Player.tscn b/WikiJam/Player/Player.tscn index 062ac54..31d2bd8 100644 --- a/WikiJam/Player/Player.tscn +++ b/WikiJam/Player/Player.tscn @@ -7,6 +7,7 @@ [ext_resource path="res://Player/UI/HUD.gd" type="Script" id=5] [sub_resource type="CylinderShape" id=1] +height = 2.5 [sub_resource type="Animation" id=2] resource_name = "Walk" @@ -21,7 +22,7 @@ tracks/0/keys = { "times": PoolRealArray( 0, 0.2, 0.4, 0.6 ), "transitions": PoolRealArray( 1, 1, 1, 1 ), "update": 0, -"values": [ Vector3( 0, 0.8, 0 ), Vector3( -0.1, 0.9, 0 ), Vector3( 0, 0.8, 0 ), Vector3( 0.1, 0.9, 0 ) ] +"values": [ Vector3( 0, 2.8, 0 ), Vector3( -0.1, 2.9, 0 ), Vector3( 0, 2.8, 0 ), Vector3( 0.1, 2.9, 0 ) ] } tracks/1/type = "method" tracks/1/path = NodePath("Footsteps") @@ -51,10 +52,11 @@ camera_nodepath = NodePath("Camera") [node name="Body" type="Spatial" parent="."] [node name="Camera" type="Camera" parent="."] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0332799, 0.83328, 0 ) +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0 ) +far = 5000.0 [node name="Collider" type="CollisionShape" parent="."] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 ) +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.5, 0 ) shape = SubResource( 1 ) [node name="WalkAnimationPlayer" type="AnimationPlayer" parent="."] diff --git a/WikiJam/project.godot b/WikiJam/project.godot index 1104847..b9dfac1 100644 --- a/WikiJam/project.godot +++ b/WikiJam/project.godot @@ -57,7 +57,7 @@ _global_script_class_icons={ [application] config/name="WikiJam" -run/main_scene="res://Level/Level.tscn" +run/main_scene="res://Level/Fortaleza.tscn" config/icon="res://icon.png" [autoload]