From a9fa366a52100e6983ba52c1af2fd18a4a7c111b Mon Sep 17 00:00:00 2001 From: "jacko460@student.liu.se" <jacko460@student.liu.se> Date: Sun, 17 Nov 2024 16:26:00 +0100 Subject: [PATCH 1/7] added platforming to starter island --- world/islands/starter_island_v2.tscn | 761 +++++++++++++++++++++++++++ world/world.tscn | 8 +- 2 files changed, 766 insertions(+), 3 deletions(-) create mode 100644 world/islands/starter_island_v2.tscn diff --git a/world/islands/starter_island_v2.tscn b/world/islands/starter_island_v2.tscn new file mode 100644 index 0000000..c7af92e --- /dev/null +++ b/world/islands/starter_island_v2.tscn @@ -0,0 +1,761 @@ +[gd_scene load_steps=9 format=3 uid="uid://b54fnl4vey7ae"] + +[ext_resource type="Material" uid="uid://dufopocllrj57" path="res://world/materials/nature/sand.tres" id="1_hmq0h"] +[ext_resource type="PackedScene" uid="uid://5xyfhpjcyryx" path="res://world/objects/coconut_tree/coconut_tree.tscn" id="2_dhhd5"] +[ext_resource type="PackedScene" uid="uid://dr1i1n3lgwacf" path="res://world/objects/block/block.tscn" id="3_bqmvp"] +[ext_resource type="Material" uid="uid://b1voybt3fgnly" path="res://world/materials/nature/grass.tres" id="4_rkuax"] +[ext_resource type="Material" uid="uid://b30mef1autgyj" path="res://world/materials/nature/rock.tres" id="5_o8g8n"] +[ext_resource type="PackedScene" uid="uid://d374552eae842" path="res://world/objects/checkpoint/checkpoint.tscn" id="6_to4pl"] + +[sub_resource type="ConvexPolygonShape3D" id="ConvexPolygonShape3D_qatu5"] +points = PackedVector3Array(0, 3, 0, 30, -1.5, 0, 27.75, -1.5, -11.5, 21.25, -1.5, -21.25, 11.5, -1.5, -27.75, 0, -1.5, -30, -11.5, -1.5, -27.75, -21.25, -1.5, -21.25, -27.75, -1.5, -11.5, -30, -1.5, 0) + +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_lp2tg"] +albedo_color = Color(0.340339, 0.340339, 0.340339, 1) + +[node name="StarterIslandV2" type="Node3D"] + +[node name="StartingBeach" type="StaticBody3D" parent="."] + +[node name="Model" type="CSGPolygon3D" parent="StartingBeach"] +transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0, 0) +polygon = PackedVector2Array(30, -1.5, 20, 0, 10, 1.5, 0, 3) +mode = 1 +spin_degrees = 180.0 +spin_sides = 8 +material = ExtResource("1_hmq0h") + +[node name="CollisionShape3D" type="CollisionShape3D" parent="StartingBeach"] +transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0, 0) +shape = SubResource("ConvexPolygonShape3D_qatu5") + +[node name="CoconutTree" parent="StartingBeach" instance=ExtResource("2_dhhd5")] +transform = Transform3D(0.629212, 0, 0.777234, 0, 1, 0, -0.777234, 0, 0.629212, 18.9629, 0.468156, -18.4209) +height = 3.749 +angle = 0.608 + +[node name="CoconutTree2" parent="StartingBeach" instance=ExtResource("2_dhhd5")] +transform = Transform3D(0.397948, 0, -0.917408, 0, 1, 0, 0.917408, 0, 0.397948, -15.3348, 1.07007, -9.93028) +height = 4.283 +angle = 0.7 + +[node name="CoconutTree3" parent="StartingBeach" instance=ExtResource("2_dhhd5")] +transform = Transform3D(-0.696802, 0, 0.717263, 0, 1, 0, -0.717263, 0, -0.696802, 5.93733, 1.47191, -13.436) +height = 5.886 +angle = 0.488 + +[node name="CoconutTree4" parent="StartingBeach" instance=ExtResource("2_dhhd5")] +transform = Transform3D(-0.479228, 0, -0.87769, 0, 1, 0, 0.87769, 0, -0.479228, -7.02386, 0.894117, -19.2051) +height = 5.993 +angle = 0.788 + +[node name="RightBeach" parent="." instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.989016, -0.147809, 0, 0.147809, 0.989016, 0, 0, 0, 1, -34, -1.6, 35) +material = ExtResource("1_hmq0h") +size_x = 22.0 +size_z = 70.0 + +[node name="LeftBeach" parent="." instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 0.965926, 0.258819, 0, -0.258819, 0.965926, 51.711, 0.75, 11.901) +material = ExtResource("1_hmq0h") +size_x = 50.0 +size_z = 32.0 + +[node name="Entrance" type="Node3D" parent="."] + +[node name="Ground" parent="Entrance" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 6) +material = ExtResource("4_rkuax") +size_x = 30.0 +size_y = 4.5 +size_z = 12.0 + +[node name="Ramp" parent="Entrance" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 0.951056, 0.309017, 0, -0.309017, 0.951056, 0, 3.44835, 13.4304) +material = ExtResource("4_rkuax") +size_x = 30.0 +size_y = 3.25 +size_z = 16.0 + +[node name="LeftRocks" type="Node3D" parent="Entrance"] + +[node name="Block1" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 21, 0, 5) +material = ExtResource("5_o8g8n") +size_x = 12.0 +size_y = 25.7 +size_z = 12.0 + +[node name="Block2" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22, 0, 18) +material = ExtResource("5_o8g8n") +size_x = 14.0 +size_y = 22.0 +size_z = 15.0 + +[node name="Block3" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.5521, -2, 3.53133) +material = ExtResource("5_o8g8n") +size_x = 42.1 +size_y = 22.8 +size_z = 28.6 + +[node name="Block4" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 63.0574, -2, 3.53133) +material = ExtResource("5_o8g8n") +size_x = 42.1 +size_y = 22.8 +size_z = 28.6 + +[node name="Block5" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.137566, 0, -0.990493, 0, 1, 0, 0.990493, 0, 0.137566, 27.5639, -24.9801, 104.748) +material = ExtResource("5_o8g8n") +size_x = 42.1 +size_y = 51.6 +size_z = 28.6 + +[node name="Block6" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(-0.291737, 0, -0.956498, 0, 1, 0, 0.956498, 0, -0.291737, 31.8358, -24.9801, 88.3529) +material = ExtResource("5_o8g8n") +size_x = 42.1 +size_y = 53.4 +size_z = 28.6 + +[node name="Block7" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.0261421, 0, -0.999658, 0, 1, 0, 0.999658, 0, 0.0261421, 46.0307, -24.9801, 57.9926) +material = ExtResource("5_o8g8n") +size_x = 42.1 +size_y = 51.6 +size_z = 28.6 + +[node name="Block8" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(-0.485603, 0, -0.874179, 0, 1, 0, 0.874179, 0, -0.485603, 58.3614, -24.9801, 23.1095) +material = ExtResource("5_o8g8n") +size_x = 42.1 +size_y = 51.6 +size_z = 28.6 + +[node name="Block9" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(-0.485603, 0, -0.874179, 0, 1, 0, 0.874179, 0, -0.485603, 65.159, -24.9801, 42.6705) +material = ExtResource("5_o8g8n") +size_x = 42.1 +size_y = 51.6 +size_z = 28.6 + +[node name="Block10" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(-0.485603, 0, -0.874179, 0, 1, 0, 0.874179, 0, -0.485603, 65.159, -24.9801, 42.6705) +material = ExtResource("5_o8g8n") +size_x = 42.1 +size_y = 51.6 +size_z = 28.6 + +[node name="Block11" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(-0.0435322, 0, -0.999052, 0, 1, 0, 0.999052, 0, -0.0435322, 65.7427, -24.9801, 25.2777) +material = ExtResource("5_o8g8n") +size_x = 42.1 +size_y = 36.3 +size_z = 28.6 + +[node name="Block12" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.257554, 0, -0.966264, 0, 1, 0, 0.966264, 0, 0.257554, 43.8953, -24.9801, 102.422) +material = ExtResource("5_o8g8n") +size_x = 42.1 +size_y = 51.6 +size_z = 28.6 + +[node name="Block13" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(-0.290418, 0, -0.9569, 0, 1, 0, 0.9569, 0, -0.290418, 48.9839, -24.9801, 81.2308) +material = ExtResource("5_o8g8n") +size_x = 42.1 +size_y = 51.6 +size_z = 28.6 + +[node name="Block14" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.0865473, 0, -0.996248, -0.458149, 0.887984, -0.0398009, 0.884652, 0.459874, 0.0768526, 36.0432, -11.7163, 83.5147) +material = ExtResource("5_o8g8n") +size_x = 33.1 +size_y = 51.6 +size_z = 38.615 + +[node name="Block15" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.0865473, 3.42633e-09, -0.996248, 0.350294, 0.936145, 0.0304311, 0.932633, -0.351613, 0.0810208, 42.8206, -19.1147, 59.3071) +material = ExtResource("5_o8g8n") +size_x = 33.1 +size_y = 51.6 +size_z = 38.615 + +[node name="Block16" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.0282268, 0.436352, -0.899333, 0.286653, 0.858371, 0.425475, 0.957618, -0.269806, -0.100853, 40.1269, -19.1147, 100.654) +material = ExtResource("5_o8g8n") +size_x = 25.9 +size_y = 32.7 +size_z = 30.515 + +[node name="Block17" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.211213, 0.376562, -0.901992, -0.757518, 0.646241, 0.0924085, 0.617702, 0.663757, 0.421747, 52.6399, -19.0316, 42.3018) +material = ExtResource("5_o8g8n") +size_x = 25.9 +size_y = 32.7 +size_z = 30.515 + +[node name="Block18" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(-0.439409, 0.871356, -0.218306, -0.772109, -0.24216, 0.587543, 0.459095, 0.426727, 0.779189, 59.006, 8.03226, 17.0058) +material = ExtResource("5_o8g8n") +size_x = 26.8 +size_y = 25.5 +size_z = 26.915 + +[node name="Block19" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.581203, 0.51907, -0.626714, -0.67189, 0.740587, -0.00971275, 0.459095, 0.426727, 0.779189, 61.012, -18.7413, 17.0058) +material = ExtResource("5_o8g8n") +size_x = 26.8 +size_y = 25.5 +size_z = 26.915 + +[node name="Block20" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(-0.367446, -0.439776, -0.8195, -0.459912, 0.851784, -0.250887, 0.808371, 0.284711, -0.515244, 48.9341, 5.83325, 69.5039) +material = ExtResource("5_o8g8n") +size_x = 26.8 +size_y = 25.5 +size_z = 26.915 + +[node name="Block21" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(-0.524535, -0.0489221, -0.849982, -0.567104, 0.764713, 0.305953, 0.635024, 0.642511, -0.428863, 32.6855, 3.34472, 57.471) +material = ExtResource("5_o8g8n") +size_x = 26.8 +size_y = 25.5 +size_z = 26.915 + +[node name="Block22" parent="Entrance/LeftRocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(-0.252756, -0.960165, -0.119149, -0.899957, 0.278528, -0.33541, 0.355236, 0.0224524, -0.934507, 22.2262, 8.09616, 82.4282) +material = ExtResource("5_o8g8n") +size_x = 26.8 +size_y = 25.5 +size_z = 26.915 + +[node name="RightBlocks" type="Node3D" parent="Entrance"] + +[node name="Block1" parent="Entrance/RightBlocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18, 0, 5) +material = ExtResource("5_o8g8n") +size_x = 8.0 +size_y = 21.0 +size_z = 12.0 + +[node name="Block2" parent="Entrance/RightBlocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -21, 0, 18) +material = ExtResource("5_o8g8n") +size_x = 12.0 +size_y = 23.4 +size_z = 14.0 + +[node name="Block3" parent="Entrance/RightBlocks" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -36.735, -3.35538, 5) +material = ExtResource("5_o8g8n") +size_x = 30.5 +size_y = 21.7 +size_z = 14.0 + +[node name="Plateu" type="Node3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 40) + +[node name="Ground" parent="Plateu" instance=ExtResource("3_bqmvp")] +material = ExtResource("4_rkuax") +size_x = 40.0 +size_y = 9.0 +size_z = 40.0 + +[node name="Pillars" type="StaticBody3D" parent="Plateu"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.80574, 17.8875, 41.1979) + +[node name="Block1" parent="Plateu/Pillars" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -13.2065, -18.9252, 3.15301) +material = ExtResource("5_o8g8n") +size_x = 2.0 +size_y = 19.2 +size_z = 2.0 + +[node name="Block2" parent="Plateu/Pillars" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -13.7021, -14.6014, 9.2174) +material = ExtResource("5_o8g8n") +size_x = 2.0 +size_y = 19.2 +size_z = 2.0 + +[node name="Block3" parent="Plateu/Pillars" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -13.1638, -8.26617, 15.9086) +material = ExtResource("5_o8g8n") +size_x = 2.0 +size_y = 19.2 +size_z = 2.0 + +[node name="RightWall" parent="Plateu" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -21, 0, 0) +material = ExtResource("5_o8g8n") +size_x = 6.0 +size_y = 24.0 +size_z = 48.0 + +[node name="LeftWall" parent="Plateu" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 33.8191, 0, 0) +material = ExtResource("5_o8g8n") +size_x = 35.0 +size_y = 24.5 +size_z = 48.0 + +[node name="LeftWall2" parent="Plateu" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.51036, 8.03871, 7.39134) +material = ExtResource("5_o8g8n") +size_x = 3.8 +size_y = 2.9 +size_z = 3.0 + +[node name="LeftWall3" parent="Plateu/LeftWall2" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 0.923364, 0.383925, 0, -0.383925, 0.923364, 0.0137196, 4.03125, 7.26331) +material = ExtResource("5_o8g8n") +size_x = 3.5 +size_y = 1.5 +size_z = 14.7 + +[node name="LeftWallCorner" parent="Plateu" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.899954, 0, -0.435985, 0, 1, 0, 0.435985, 0, 0.899954, 21.4382, 0.623682, 15.3001) +material = ExtResource("5_o8g8n") +size_x = 35.0 +size_y = 24.5 +size_z = 48.0 + +[node name="CoconutTree" parent="Plateu" instance=ExtResource("2_dhhd5")] +transform = Transform3D(0.631894, 0, 0.775055, 0, 1, 0, -0.775055, 0, 0.631894, 9, 9, -12) +height = 4.0 +angle = 0.108 + +[node name="OmniLight3D" type="OmniLight3D" parent="Plateu/CoconutTree"] +transform = Transform3D(0.631894, 0, -0.775055, 0, 1, 0, 0.775055, 0, 0.631894, 0, 5, 0) +shadow_enabled = true +distance_fade_begin = 20.0 +omni_range = 20.0 + +[node name="CoconutTree2" parent="Plateu" instance=ExtResource("2_dhhd5")] +transform = Transform3D(0.575162, 0, -0.818039, 0, 1, 0, 0.818039, 0, 0.575162, -6.22095, 9, -10.6238) +height = 4.0 +angle = 0.24 + +[node name="OmniLight3D" type="OmniLight3D" parent="Plateu/CoconutTree2"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5, 0.75) +shadow_enabled = true +omni_range = 20.0 + +[node name="TripleJump" type="Node3D" parent="."] + +[node name="BackParts" parent="TripleJump" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -13.8579, 95.3597) +material = ExtResource("5_o8g8n") +size_x = 44.0 +size_y = 29.8 +size_z = 51.9 + +[node name="Block" parent="TripleJump/BackParts" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.797372, -0.213417, -0.564492, 0.30624, 0.949093, 0.0737549, 0.520015, -0.23168, 0.822137, -12.8297, 38.6076, 27.5432) +material = ExtResource("5_o8g8n") +size_x = 16.0 +size_y = 16.0 +size_z = 6.0 + +[node name="Block4" parent="TripleJump/BackParts" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 0.751598, 0.659621, 0, -0.659621, 0.751598, -6.37631, 40.2537, 7.6932) +material = ExtResource("5_o8g8n") +size_x = 24.0 +size_y = 5.0 +size_z = 0.5 + +[node name="Block10" parent="TripleJump/BackParts" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.999995, -0.000561906, 0.00298082, 0.00155494, 0.938716, -0.344689, -0.00260445, 0.344692, 0.938712, -6.37631, 43.1508, 6.11817) +material = ExtResource("5_o8g8n") +size_x = 24.0 +size_y = 0.5 +size_z = 4.0 + +[node name="Block3" parent="TripleJump/BackParts" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.0409848, -0.00979069, -0.999112, 0.000306864, 0.999952, -0.00978633, 0.99916, 9.44994e-05, 0.0409858, -20.79, 27.1577, 3.6614) +material = SubResource("StandardMaterial3D_lp2tg") +size_x = 37.6 +size_y = 24.1 +size_z = 6.0 + +[node name="Block6" parent="TripleJump/BackParts" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.29717, 16.9662, -34.1634) +material = SubResource("StandardMaterial3D_lp2tg") +size_x = 25.0 +size_y = 13.3 +size_z = 6.4 + +[node name="Block7" parent="TripleJump/BackParts" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.997137, 0, 0.0756227, 0, 1, 0, -0.0756227, 0, 0.997137, 1.78751, 25.105, -18.8227) +material = SubResource("StandardMaterial3D_lp2tg") +size_x = 7.9 +size_y = 13.3 +size_z = 18.1 + +[node name="Block8" parent="TripleJump/BackParts" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.999725, 0, -0.0234376, 0, 1, 0, 0.0234376, 0, 0.999725, -22.5796, 25.105, -18.8227) +material = SubResource("StandardMaterial3D_lp2tg") +size_x = 7.9 +size_y = 20.5 +size_z = 29.8 + +[node name="Block5" parent="TripleJump/BackParts" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.031341, 0, -0.999509, 0, 1, 0, 0.999509, 0, 0.031341, -3.61594, 27.1577, 17.2504) +material = SubResource("StandardMaterial3D_lp2tg") +size_x = 20.5 +size_y = 16.0 +size_z = 32.225 + +[node name="Block9" parent="TripleJump/BackParts" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.677287, 0, -0.735719, 0, 1, 0, 0.735719, 0, 0.677287, 10.9616, 42.5682, 31.1467) +material = SubResource("StandardMaterial3D_lp2tg") +size_x = 15.0 +size_y = 2.0 +size_z = 2.0 + +[node name="Block2" parent="TripleJump/BackParts" instance=ExtResource("3_bqmvp")] +transform = Transform3D(-0.313424, 0.149893, 0.937709, 0.139888, 0.983979, -0.110533, -0.939253, 0.0965307, -0.329371, 6.36373, 16.6734, 3.32578) +material = ExtResource("5_o8g8n") +size_x = 39.4 +size_y = 37.6 +size_z = 11.4 + +[node name="SpotLight3D2" type="SpotLight3D" parent="TripleJump/BackParts"] +transform = Transform3D(-0.999868, 0.00555122, -0.0152519, -0.00766187, 0.66697, 0.745045, 0.0143085, 0.745064, -0.66684, -10.8176, 57.7281, -26.034) +light_energy = 10.0 +shadow_enabled = true +spot_range = 57.072 +spot_angle = 34.71 + +[node name="Ground2" parent="TripleJump/BackParts" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9.037, 20.8258, -6.32549) +material = ExtResource("4_rkuax") +size_x = 24.7 +size_y = 9.0 +size_z = 51.7 + +[node name="CoconutTree5" parent="TripleJump/BackParts" instance=ExtResource("2_dhhd5")] +transform = Transform3D(-0.35695, 0, -0.934124, 0, 1, 0, 0.934124, 0, -0.35695, -4.52512, 29.667, -17.6222) +height = 3.749 +angle = 0.608 + +[node name="DashCave" type="Node3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30.9613, 6.96383, 134.734) + +[node name="Entrance" parent="DashCave" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.1693, 31.3695, 0) +material = ExtResource("5_o8g8n") +size_x = 5.55 +size_y = 17.51 +size_z = 30.0 + +[node name="Ground" parent="DashCave" instance=ExtResource("3_bqmvp")] +material = ExtResource("5_o8g8n") +size_x = 32.0 +size_y = 24.0 +size_z = 16.0 + +[node name="Base" parent="DashCave/Ground" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.676401, -18.0893, 0) +material = ExtResource("5_o8g8n") +size_x = 28.95 +size_y = 23.0 +size_z = 48.9 + +[node name="Base5" parent="DashCave/Ground" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 38.6943, -18.0893, 0.442535) +material = ExtResource("5_o8g8n") +size_x = 71.25 +size_y = 2.0 +size_z = 23.7 + +[node name="Base2" parent="DashCave/Ground" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 75.9545, -18.0893, 0) +material = ExtResource("5_o8g8n") +size_x = 22.65 +size_y = 23.0 +size_z = 24.6 + +[node name="Base3" parent="DashCave/Ground" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 38.835, -18.0893, 14.1467) +material = ExtResource("5_o8g8n") +size_x = 58.65 +size_y = 23.0 +size_z = 4.8 + +[node name="Base4" parent="DashCave/Ground" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 38.835, -18.0893, -12.6647) +material = ExtResource("5_o8g8n") +size_x = 58.65 +size_y = 23.0 +size_z = 4.8 + +[node name="Block7" parent="DashCave/Ground" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.962135, 22.3931, 0) +material = ExtResource("5_o8g8n") +size_x = 3.0 +size_y = 4.0 +size_z = 3.0 + +[node name="Block" parent="DashCave/Ground" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.9463, 24, 0) +material = ExtResource("5_o8g8n") +size_x = 11.1 +size_y = 5.0 +size_z = 19.2 + +[node name="Block6" parent="DashCave/Ground" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 74.2681, -2.05708, 0) +material = ExtResource("5_o8g8n") +size_x = 24.6 +size_y = 28.4 +size_z = 20.1 + +[node name="Block2" parent="DashCave/Ground" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24.0451, 24, 0) +material = ExtResource("5_o8g8n") +size_x = 11.1 +size_y = 5.0 +size_z = 19.2 + +[node name="Block4" parent="DashCave/Ground/Block2" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 21.4531, 0, 0) +material = ExtResource("5_o8g8n") +size_x = 11.1 +size_y = 5.0 +size_z = 19.2 + +[node name="Block5" parent="DashCave/Ground/Block2" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.6633, 6.57365, 0) +material = ExtResource("5_o8g8n") +size_x = 3.0 +size_y = 8.0 +size_z = 21.9 + +[node name="Block3" parent="DashCave/Ground/Block2" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 6.8822, -24.5015, 0) +material = ExtResource("5_o8g8n") +size_x = 24.6 +size_y = 28.4 +size_z = 20.1 + +[node name="LeftWall" parent="DashCave" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 29.0401, 0, -12) +material = ExtResource("5_o8g8n") +size_x = 88.8 +size_y = 50.9 +size_z = 8.0 + +[node name="Block" parent="DashCave/LeftWall" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 32, 2) +material = ExtResource("5_o8g8n") +size_x = 32.0 +size_y = 16.0 +size_z = 6.0 + +[node name="RightWall" parent="DashCave" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 24.1423, 0, 14) +material = ExtResource("5_o8g8n") +size_x = 80.1 +size_y = 51.8 +size_z = 12.0 + +[node name="RightTop" parent="DashCave/RightWall" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9, 32, -2) +material = ExtResource("5_o8g8n") +size_x = 12.0 +size_y = 16.0 +size_z = 10.0 + +[node name="LeftTop" parent="DashCave/RightWall" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 14, 32, -2) +material = ExtResource("5_o8g8n") +size_x = 8.0 +size_y = 16.0 +size_z = 10.0 + +[node name="BackWall" parent="DashCave" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 0, 69.7908) +material = ExtResource("5_o8g8n") +size_x = 8.0 +size_y = 48.0 +size_z = 28.0 + +[node name="Ceiling" parent="DashCave" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 20.5349, 48, 2) +material = ExtResource("5_o8g8n") +size_x = 71.4 +size_y = 2.0 +size_z = 26.7 + +[node name="Ceiling2" parent="DashCave" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 62.8012, 48, -1.41721) +material = ExtResource("5_o8g8n") +size_x = 24.6 +size_y = 12.8 +size_z = 24.9 + +[node name="OmniLight3D2" type="OmniLight3D" parent="DashCave"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26.326, 40.2435, 0.175858) +light_energy = 2.0 +shadow_enabled = true +omni_range = 20.0 + +[node name="OmniLight3D4" type="OmniLight3D" parent="DashCave"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 58.468, 35.4875, 1.25244) +light_energy = 2.0 +shadow_enabled = true +omni_range = 20.0 + +[node name="OmniLight3D3" type="OmniLight3D" parent="DashCave"] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 17.1996, 27.4577, 0.175858) +shadow_enabled = true +omni_range = 20.0 + +[node name="SpotLight3D" type="SpotLight3D" parent="DashCave"] +transform = Transform3D(-4.37114e-08, 0.34202, -0.939693, 0, 0.939693, 0.34202, 1, 1.49502e-08, -4.10753e-08, -34, 41.078, 0) +light_energy = 10.0 +shadow_enabled = true +spot_range = 45.0 + +[node name="Checkpoint" parent="DashCave" instance=ExtResource("6_to4pl")] +transform = Transform3D(-0.669182, 0, 0.743098, 0, 1, 0, -0.743098, 0, -0.669182, -13.0902, 23.954, -1.98485) + +[node name="WallJump" type="Node3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 30.9613, 6.96383, 134.734) + +[node name="Block" parent="WallJump" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 83.2919, 23.9177, -8.3215) +material = ExtResource("5_o8g8n") +size_x = 19.0 +size_y = 25.0 +size_z = 3.0 + +[node name="Block3" parent="WallJump" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 85.8797, 23.9177, 1.51054) +material = ExtResource("5_o8g8n") +size_x = 6.4 +size_y = 25.0 +size_z = 5.0 + +[node name="Block5" parent="WallJump" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 85.8797, 23.9177, -6.44145) +material = ExtResource("5_o8g8n") +size_x = 6.4 +size_y = 25.0 +size_z = 5.0 + +[node name="Block4" parent="WallJump" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 89.4998, 23.9177, -2.90244) +material = ExtResource("5_o8g8n") +size_x = 6.4 +size_y = 25.0 +size_z = 11.3 + +[node name="Block6" parent="WallJump" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 95.5138, 23.9177, -2.90244) +material = ExtResource("5_o8g8n") +size_x = 11.8 +size_y = 25.0 +size_z = 5.9 + +[node name="Block2" parent="WallJump" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.953685, 0, 0.300806, 0, 1, 0, -0.300806, 0, 0.953685, 71.1803, 23.9177, 7.89177) +material = ExtResource("5_o8g8n") +size_x = 31.6 +size_y = 25.0 +size_z = 6.0 + +[node name="SpotLight3D2" type="SpotLight3D" parent="WallJump"] +transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 79.9654, 61.2358, 0.44339) +light_energy = 10.0 +shadow_enabled = true +spot_range = 57.072 +spot_angle = 29.57 + +[node name="Checkpoint" parent="WallJump" instance=ExtResource("6_to4pl")] +transform = Transform3D(-0.669182, 0, 0.743098, 0, 1, 0, -0.743098, 0, -0.669182, 91.7015, 48.8778, -2.8905) + +[node name="MixedTower" type="Node3D" parent="."] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 39.3684, 6.96383, 134.734) + +[node name="Tower" parent="MixedTower" instance=ExtResource("3_bqmvp")] +transform = Transform3D(-0.258819, 0, 0.965926, 0, 1, 0, -0.965926, 0, -0.258819, 111.167, 48.0921, -1.33148) +material = ExtResource("5_o8g8n") +size_x = 8.0 +size_y = 32.0 +size_z = 8.0 + +[node name="ExtendedBottom" parent="MixedTower/Tower" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.154892, -66.9336, -0.0477676) +material = ExtResource("5_o8g8n") +size_x = 7.0 +size_y = 68.6 +size_z = 7.0 + +[node name="Block1" parent="MixedTower/Tower" instance=ExtResource("3_bqmvp")] +transform = Transform3D(0.955268, 0, -0.295742, 0, 1, 0, 0.295742, 0, 0.955268, 2.99997, 0, -5.00001) +material = ExtResource("5_o8g8n") +size_x = 2.5 +size_y = 2.0 +size_z = 4.0 + +[node name="Block3" parent="MixedTower/Tower" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 5, -4) +material = ExtResource("5_o8g8n") +size_x = 4.0 +size_y = 2.0 +size_z = 4.0 + +[node name="Block4" parent="MixedTower/Tower" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 8, 0) +material = ExtResource("5_o8g8n") +size_x = 4.0 +size_y = 2.0 +size_z = 4.0 + +[node name="Block6" parent="MixedTower/Tower" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 14.5, 5.5) +material = ExtResource("5_o8g8n") +size_x = 3.0 +size_z = 3.0 + +[node name="Block7" parent="MixedTower/Tower" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.87158, 14.8773, 5.04639) +material = ExtResource("5_o8g8n") +size_x = 4.0 +size_y = 2.0 +size_z = 4.0 + +[node name="Block9" parent="MixedTower/Tower" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.00002, 20.8292, 4.99999) +material = ExtResource("5_o8g8n") +size_x = 3.0 +size_y = 3.0 +size_z = 3.0 + +[node name="Block11" parent="MixedTower/Tower" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 25, -4) +material = ExtResource("5_o8g8n") +size_x = 3.0 +size_y = 3.0 +size_z = 3.0 + +[node name="Block14" parent="MixedTower/Tower" instance=ExtResource("3_bqmvp")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5, 29.5, 2) +material = ExtResource("5_o8g8n") +size_x = 2.0 +size_z = 4.0 + +[node name="SpotLight3D" type="SpotLight3D" parent="MixedTower/Tower"] +transform = Transform3D(0.707107, -0.183013, -0.683013, 0, 0.965926, -0.258819, 0.707107, 0.183013, 0.683013, -11.4961, 6.81399, 10.9927) +light_energy = 5.0 +spot_range = 22.956 +spot_angle = 33.3717 + +[node name="Checkpoint" parent="MixedTower/Tower" instance=ExtResource("6_to4pl")] +transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 0, 32, 0) diff --git a/world/world.tscn b/world/world.tscn index fa736ac..e53cb38 100644 --- a/world/world.tscn +++ b/world/world.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=6 format=3 uid="uid://chwgsmskmd1rv"] -[ext_resource type="PackedScene" uid="uid://bqhh73iyv6dgc" path="res://world/islands/starter_island.tscn" id="1_f3qyq"] +[ext_resource type="PackedScene" uid="uid://b54fnl4vey7ae" path="res://world/islands/starter_island_v2.tscn" id="1_7c0jd"] [ext_resource type="PackedScene" uid="uid://cc4idhykjp5f5" path="res://player/player.tscn" id="2_yu1y8"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3fd7k"] @@ -14,6 +14,8 @@ radius = 500.0 [sub_resource type="Environment" id="Environment_ygouf"] background_mode = 1 background_color = Color(0.240987, 0.65881, 0.999999, 1) +tonemap_mode = 1 +ssil_enabled = true [node name="World" type="Node3D"] @@ -30,7 +32,7 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5.5, 0) shape = SubResource("CylinderShape3D_l26pq") disabled = true -[node name="StarterIsland" parent="." instance=ExtResource("1_f3qyq")] +[node name="StarterIslandV2" parent="." instance=ExtResource("1_7c0jd")] [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_ygouf") @@ -40,4 +42,4 @@ transform = Transform3D(0.965926, -0.166366, 0.198267, 2.38132e-08, 0.766045, 0. shadow_enabled = true [node name="Player" parent="." instance=ExtResource("2_yu1y8")] -transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0, 7.89474, 0) +transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 1.74192, 1.49525, -27.2716) -- GitLab From 6f2965ed8825d8005504a6b65489eaf6da06789f Mon Sep 17 00:00:00 2001 From: "jacko460@student.liu.se" <jacko460@student.liu.se> Date: Sun, 17 Nov 2024 16:35:28 +0100 Subject: [PATCH 2/7] move light, remove block --- world/islands/starter_island_v2.tscn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/world/islands/starter_island_v2.tscn b/world/islands/starter_island_v2.tscn index c7af92e..fdf4639 100644 --- a/world/islands/starter_island_v2.tscn +++ b/world/islands/starter_island_v2.tscn @@ -600,7 +600,7 @@ size_y = 12.8 size_z = 24.9 [node name="OmniLight3D2" type="OmniLight3D" parent="DashCave"] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 26.326, 40.2435, 0.175858) +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.94775, 40.2435, 0.175858) light_energy = 2.0 shadow_enabled = true omni_range = 20.0 @@ -752,9 +752,9 @@ size_x = 2.0 size_z = 4.0 [node name="SpotLight3D" type="SpotLight3D" parent="MixedTower/Tower"] -transform = Transform3D(0.707107, -0.183013, -0.683013, 0, 0.965926, -0.258819, 0.707107, 0.183013, 0.683013, -11.4961, 6.81399, 10.9927) +transform = Transform3D(0.466656, 0.350812, -0.811889, 0.415604, 0.723328, 0.551425, 0.780709, -0.59475, 0.191746, -27.1563, 32.5856, 7.45877) light_energy = 5.0 -spot_range = 22.956 +spot_range = 45.0 spot_angle = 33.3717 [node name="Checkpoint" parent="MixedTower/Tower" instance=ExtResource("6_to4pl")] -- GitLab From f7f798fb1ede8cd02153aa10259a31cea09204d9 Mon Sep 17 00:00:00 2001 From: "jacko460@student.liu.se" <jacko460@student.liu.se> Date: Sun, 17 Nov 2024 16:35:59 +0100 Subject: [PATCH 3/7] forgot to save, move light, remove block --- world/islands/starter_island_v2.tscn | 7 ------- 1 file changed, 7 deletions(-) diff --git a/world/islands/starter_island_v2.tscn b/world/islands/starter_island_v2.tscn index fdf4639..29d2e11 100644 --- a/world/islands/starter_island_v2.tscn +++ b/world/islands/starter_island_v2.tscn @@ -578,13 +578,6 @@ size_x = 8.0 size_y = 16.0 size_z = 10.0 -[node name="BackWall" parent="DashCave" instance=ExtResource("3_bqmvp")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12, 0, 69.7908) -material = ExtResource("5_o8g8n") -size_x = 8.0 -size_y = 48.0 -size_z = 28.0 - [node name="Ceiling" parent="DashCave" instance=ExtResource("3_bqmvp")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 20.5349, 48, 2) material = ExtResource("5_o8g8n") -- GitLab From 13702ef2cd0a2d8a98069490653c75be0ebbe6d2 Mon Sep 17 00:00:00 2001 From: "jacko460@student.liu.se" <jacko460@student.liu.se> Date: Sun, 17 Nov 2024 16:38:28 +0100 Subject: [PATCH 4/7] remove very small gravity drop off while dashing --- player/standard_state.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/standard_state.gd b/player/standard_state.gd index b0955a9..6b6b98c 100644 --- a/player/standard_state.gd +++ b/player/standard_state.gd @@ -2,7 +2,7 @@ extends PlayerState func state_physics_process(delta: float) -> void: - player.velocity = player.velocity + (gravity * delta) if not player.dash_handler.is_dashing else player.velocity + (gravity * delta * 0.1) + player.velocity = player.velocity + (gravity * delta) if not player.dash_handler.is_dashing else player.velocity + (gravity * delta * 0.0) var anim := player._Anim.FLOOR -- GitLab From 42cfed03499637c6d723007355a6dd4f5e1659b9 Mon Sep 17 00:00:00 2001 From: "jacko460@student.liu.se" <jacko460@student.liu.se> Date: Mon, 18 Nov 2024 13:59:05 +0100 Subject: [PATCH 5/7] rename island --- .../islands/{starter_island_v2.tscn => platforming_island.tscn} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename world/islands/{starter_island_v2.tscn => platforming_island.tscn} (99%) diff --git a/world/islands/starter_island_v2.tscn b/world/islands/platforming_island.tscn similarity index 99% rename from world/islands/starter_island_v2.tscn rename to world/islands/platforming_island.tscn index 29d2e11..e7c8859 100644 --- a/world/islands/starter_island_v2.tscn +++ b/world/islands/platforming_island.tscn @@ -13,7 +13,7 @@ points = PackedVector3Array(0, 3, 0, 30, -1.5, 0, 27.75, -1.5, -11.5, 21.25, -1. [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_lp2tg"] albedo_color = Color(0.340339, 0.340339, 0.340339, 1) -[node name="StarterIslandV2" type="Node3D"] +[node name="PlatformingIsland" type="Node3D"] [node name="StartingBeach" type="StaticBody3D" parent="."] -- GitLab From 58b87d7807175d01be721c016b0a81aa43674317 Mon Sep 17 00:00:00 2001 From: Jack Kolm <jacko460@student.liu.se> Date: Mon, 18 Nov 2024 13:59:25 +0000 Subject: [PATCH 6/7] Update world.tscn --- world/world.tscn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/world/world.tscn b/world/world.tscn index e53cb38..0f57098 100644 --- a/world/world.tscn +++ b/world/world.tscn @@ -1,6 +1,6 @@ [gd_scene load_steps=6 format=3 uid="uid://chwgsmskmd1rv"] -[ext_resource type="PackedScene" uid="uid://b54fnl4vey7ae" path="res://world/islands/starter_island_v2.tscn" id="1_7c0jd"] +[ext_resource type="PackedScene" uid="uid://b54fnl4vey7ae" path="res://world/islands/platforming_island.tscn" id="1_7c0jd"] [ext_resource type="PackedScene" uid="uid://cc4idhykjp5f5" path="res://player/player.tscn" id="2_yu1y8"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3fd7k"] -- GitLab From e40639406b9590c64b7f8ef60fdde17e55c59718 Mon Sep 17 00:00:00 2001 From: Filip Berg <filbe316@student.liu.se> Date: Mon, 18 Nov 2024 15:37:06 +0100 Subject: [PATCH 7/7] re-added starter island --- world/world.tscn | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/world/world.tscn b/world/world.tscn index 0f57098..5a97f4a 100644 --- a/world/world.tscn +++ b/world/world.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=6 format=3 uid="uid://chwgsmskmd1rv"] +[gd_scene load_steps=7 format=3 uid="uid://chwgsmskmd1rv"] [ext_resource type="PackedScene" uid="uid://b54fnl4vey7ae" path="res://world/islands/platforming_island.tscn" id="1_7c0jd"] +[ext_resource type="PackedScene" uid="uid://bqhh73iyv6dgc" path="res://world/islands/starter_island.tscn" id="2_d24sd"] [ext_resource type="PackedScene" uid="uid://cc4idhykjp5f5" path="res://player/player.tscn" id="2_yu1y8"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3fd7k"] @@ -32,8 +33,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -5.5, 0) shape = SubResource("CylinderShape3D_l26pq") disabled = true -[node name="StarterIslandV2" parent="." instance=ExtResource("1_7c0jd")] - [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_ygouf") @@ -43,3 +42,8 @@ shadow_enabled = true [node name="Player" parent="." instance=ExtResource("2_yu1y8")] transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 1.74192, 1.49525, -27.2716) + +[node name="StarterIsland" parent="." instance=ExtResource("2_d24sd")] + +[node name="PlatformingIsland" parent="." instance=ExtResource("1_7c0jd")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 43.8591, 0, 172.106) -- GitLab