diff --git a/levels/restaurant1.exr b/levels/restaurant1.exr index 89316bc..4b04afa 100644 Binary files a/levels/restaurant1.exr and b/levels/restaurant1.exr differ diff --git a/levels/restaurant1.lmbake b/levels/restaurant1.lmbake index fa8160d..f945464 100644 Binary files a/levels/restaurant1.lmbake and b/levels/restaurant1.lmbake differ diff --git a/levels/restaurant1.tscn b/levels/restaurant1.tscn index 1c879d9..7524dda 100644 --- a/levels/restaurant1.tscn +++ b/levels/restaurant1.tscn @@ -1,14 +1,12 @@ -[gd_scene load_steps=24 format=3 uid="uid://br5eo7d1ttenb"] +[gd_scene load_steps=29 format=3 uid="uid://br5eo7d1ttenb"] [ext_resource type="Script" uid="uid://bkii8jwf0k7tq" path="res://scripts/LevelManager.gd" id="1_wjlww"] [ext_resource type="PackedScene" uid="uid://be3j4isp6stxj" path="res://levels/Restaurant.blend" id="2_wjlww"] [ext_resource type="Texture2D" uid="uid://cj3owggf2amr" path="res://assets/Textures/citrus_orchard_road_puresky_8k.exr" id="3_vj1wv"] [ext_resource type="PackedScene" uid="uid://drwae3loscbw7" path="res://assets/player.tscn" id="4_3b4a6"] -[ext_resource type="PackedScene" uid="uid://bg6n67t07osaj" path="res://bouncy_ball.tscn" id="5_y1csj"] [ext_resource type="LightmapGIData" uid="uid://d6mpqnw8qo47" path="res://levels/restaurant1.lmbake" id="6_2aaaf"] [ext_resource type="PackedScene" uid="uid://24slv0pyxcd5" path="res://assets/level_bounds.tscn" id="7_rh5fc"] [ext_resource type="PackedScene" uid="uid://b3cvkki82xhhl" path="res://restaurant_light.tscn" id="8_wic7t"] -[ext_resource type="PackedScene" uid="uid://ctdq7edxwbmhf" path="res://table_setup.tscn" id="9_2aaaf"] [ext_resource type="PackedScene" uid="uid://co12h258tg1ud" path="res://assets/wet_floor_sign.tscn" id="10_aii4r"] [ext_resource type="PackedScene" uid="uid://c0uv33kbndbvy" path="res://assets/trashcan.tscn" id="11_kjn31"] [ext_resource type="PackedScene" uid="uid://cgo4qyul7ix5p" path="res://assets/ladder.tscn" id="12_vj1wv"] @@ -19,6 +17,16 @@ [ext_resource type="PackedScene" uid="uid://bycbdb5u5ewgl" path="res://assets/tree_2.tscn" id="17_mn7wc"] [ext_resource type="PackedScene" uid="uid://dfi7s3q1x2m3p" path="res://assets/low_poly_car.tscn" id="18_4jhgu"] [ext_resource type="PackedScene" uid="uid://c6bpysq1tjhy4" path="res://vendingmahcine.tscn" id="19_yja8w"] +[ext_resource type="Script" uid="uid://12l74jckdnpl" path="res://scripts/room_manager.gd" id="20_7oxoj"] +[ext_resource type="Script" uid="uid://17ejs4cam07p" path="res://scripts/Rat_Control.gd" id="20_ekgvv"] +[ext_resource type="PackedScene" uid="uid://20csd6dmwj4y" path="res://assets/jump_platform.tscn" id="20_ktwu1"] +[ext_resource type="PackedScene" uid="uid://0xs247hfvkml" path="res://assets/rat.tscn" id="21_2tkqj"] +[ext_resource type="PackedScene" uid="uid://c7dhavrt11u55" path="res://enemy_spawner.tscn" id="21_ekgvv"] +[ext_resource type="PackedScene" uid="uid://6rhnl7vbvvr4" path="res://assets/rat_hole.tscn" id="21_ktwu1"] + +[sub_resource type="NavigationMesh" id="NavigationMesh_7oxoj"] +vertices = PackedVector3Array(-239.382, -0.0788635, -14.632, -16.132, -0.0788635, -14.382, -16.132, -0.0788635, -15.882, -14.382, -0.0788635, -16.132, -14.632, -0.0788635, -239.382, -239.382, -0.0788635, -239.382, 2.86803, -0.0788635, -16.132, 3.11803, -0.0788635, -239.382, 4.61803, -0.0788635, -15.882, 4.61803, -0.0788635, -9.38197, 9.36803, -0.0788635, -9.63197, 9.61803, -0.0788635, -7.88197, 239.368, -0.0788635, -8.13197, 239.368, -0.0788635, -239.382, 3.86803, 6.17114, 2.36803, 4.61803, 5.67114, 2.36803, 4.86803, 5.92114, 1.11803, 3.86803, 6.17114, 0.368027, 2.61803, 6.92114, 0.118027, 4.61803, 5.67114, -9.38197, 4.61803, 5.67114, -16.132, -16.382, 5.67114, -16.132, -15.882, 5.92114, 1.36803, -9.63197, 9.17114, 1.36803, -5.54865, 11.4211, 0.951355, 3.47517, 8.17114, -3.9534, -5.89581, 11.1711, -4.40221, 0.0942383, 8.17114, -4.35826, -2.89594, 9.92114, -5.86208, -2.90109, 9.92114, -7.40492, -4.36081, 10.6711, -4.39122, 1.61954, 7.17114, -1.38359, -0.381973, 8.67114, 2.86803, 2.36803, 6.92114, 2.36803, -9.38197, 9.42114, 3.61803, -5.52483, 11.4211, 3.2966, 9.11803, 5.92114, 1.11803, 9.11803, 5.92114, -9.13197, 6.11305, 7.17114, -5.88499, 4.63811, 7.67114, -2.88007, -0.381973, 8.67114, 3.61803, -5.52483, 11.4211, 3.61803, -16.382, 5.67114, 2.11803, -239.382, -0.0788635, 1.61803, -16.132, -0.0788635, 1.36803, -4.13197, 0.171136, -8.38197, -3.88197, 0.171136, -8.38197, -3.63197, 0.171136, -9.13197, -4.38197, 0.171136, -14.632, -4.63197, 0.171136, -9.13197, 2.86803, 0.171136, -9.13197, 2.86803, 0.171136, -14.382, -14.382, 0.171136, -14.382, -14.382, 0.171136, -10.882, -13.882, 0.171136, -10.882, -13.882, 0.171136, -14.382, -12.382, 0.171136, -14.382, -12.382, 0.171136, -12.882, -9.13197, 0.171136, -12.882, -9.13197, 0.171136, -14.382, -7.63197, 0.171136, -13.382, -6.13197, 0.171136, -13.132, -6.13197, 0.171136, -14.382, -7.63197, 0.171136, -14.382, -7.63197, 0.171136, -11.882, -7.63197, 0.171136, -10.882, -6.13197, 0.171136, -10.882, -6.13197, 0.171136, -12.132, -2.88197, 7.42114, -5.63197, -2.38197, 7.42114, -5.38197, -1.88197, 6.92114, -6.63197, -3.88197, 5.67114, -9.38197, -5.13197, 5.67114, -11.382, -4.88197, 5.42114, -9.38197, -4.63197, 5.42114, -12.132, 1.11803, 5.42114, -9.88197, 1.11803, 5.42114, -12.132, -2.90697, 5.42114, -10.407, -7.63197, 5.42114, -11.882, -7.88197, 5.42114, -11.382, -4.38197, 5.42114, -6.63197, -9.63197, 5.42114, 1.36803, -9.38197, 5.42114, 1.86803, -4.88197, 5.42114, 1.11803, -3.63197, 5.42114, -2.38197, 1.11803, 5.42114, -2.38197, 1.11803, 5.42114, -5.38197, -3.63197, 5.42114, -5.38197, -12.382, 5.42114, -11.382, -12.632, 5.42114, 1.36803, -10.382, 0.171136, -10.632, -9.13197, 0.171136, -10.882, -9.13197, 0.171136, -11.382, -12.382, 0.171136, -11.382, -12.382, 0.171136, -10.882, -10.882, 0.171136, -10.632, -11.382, 0.171136, -9.13197, -5.63197, 0.171136, -7.63197, -6.13197, 0.171136, -7.88197, -10.382, 0.171136, -9.63197, -10.882, 0.171136, -9.63197, -9.63197, 0.171136, 1.36803, -9.38197, 0.171136, 1.86803, -14.382, 0.171136, -9.13197, -14.382, 0.171136, 1.36803, -6.13197, 0.171136, -9.38197, -9.38197, 0.171136, 4.11803, -10.132, 0.171136, 4.36803, -10.132, 0.171136, 4.61803, -9.38197, 0.171136, 4.86803, 3.11803, 0.171136, -0.131973, 7.86803, 0.171136, -4.38197, 7.86803, 0.171136, -7.63197, -3.63197, 0.171136, -7.63197, -9.38197, 0.171136, 5.61803, -10.132, 0.171136, 5.86803, -10.132, 0.171136, 6.11803, -9.38197, 0.171136, 6.36803, -8.38197, 0.171136, 8.36803, -4.38197, 0.171136, -7.63197, 7.86803, 0.171136, -3.38197, 8.86803, 0.171136, -3.63197, 8.86803, 0.171136, -4.13197, 3.11803, 0.171136, 8.36803, -9.38197, 0.171136, 9.61803, -8.63197, 0.171136, 9.61803, 7.86803, 0.171136, -0.381973, 9.61803, -0.0788635, -4.38197, 9.61803, -0.0788635, -3.38197, 239.368, -0.0788635, 0.368027, 9.61803, -0.0788635, 0.118027, 4.11803, 5.92114, -4.13197, 4.86803, 5.42114, -2.63197, 5.61803, 5.42114, -2.38197, 5.61803, 5.42114, -5.38197, 0.118027, 5.42114, 8.11803, 1.11803, 5.42114, 7.61803, 0.118027, 5.42114, 7.36803, 0.118027, 5.42114, 6.36803, 1.11803, 5.42114, 6.11803, 1.11803, 5.42114, 5.11803, 0.118027, 5.42114, 4.86803, 0.118027, 5.42114, 4.11803, -0.131973, 5.92114, 0.868027, -0.048645, 5.42114, 2.20135, -0.048645, 5.42114, 1.95135, -12.632, 5.42114, 13.368, -10.632, 5.42114, 13.368, -10.382, 5.42114, 12.618, 1.11803, 5.42114, 3.86803, 1.11803, 5.42114, 1.86803, -3.88197, 5.67114, 1.36803, -12.632, 5.42114, 9.86803, -9.38197, 5.42114, 9.61803, 0.118027, 5.67114, 9.11803, -9.63197, 5.42114, 12.618, -0.131973, 6.17114, 0.118027, -2.38197, 7.42114, -2.38197, -2.88197, 7.42114, -2.13197, -9.38197, 5.42114, 13.368, 1.11803, 5.42114, 13.368, 1.11803, 5.42114, 9.86803, 5.11803, -0.0788635, 14.618, 4.61803, -0.0788635, 14.868, 4.61803, -0.0788635, 15.618, 239.368, -0.0788635, 15.868, 4.61803, -0.0788635, 1.36803, 4.61803, -0.0788635, 10.868, 5.11803, -0.0788635, 11.118, 9.36803, -0.0788635, 1.86803, -16.132, 0.171136, 8.36803, -15.632, 0.171136, 8.11803, -15.632, 0.171136, 3.11803, -16.132, 0.171136, 2.86803, -239.382, -0.0788635, 9.61803, -16.132, -0.0788635, 9.86803, 2.36803, 6.92114, 9.86803, 2.36803, 7.17114, 9.11803, 1.86803, 7.17114, 9.11803, 1.61803, 7.42114, 9.86803, -0.381973, 8.67114, 9.36803, -0.381973, 8.67114, 8.86803, -9.38197, 9.42114, 8.86803, -9.63197, 9.17114, 9.86803, -1.7034, 9.42114, 9.43945, -1.66769, 9.42114, 8.86803, -2.9534, 9.67114, 8.86803, 3.86803, 6.17114, 9.61803, 4.61803, 5.67114, 17.368, -11.632, 8.17114, 9.86803, -11.632, 5.67114, 17.368, -11.632, 7.92114, 12.368, 0.618027, 7.92114, 9.86803, -1.36693, 8.67114, 10.637, -8.90674, 6.42114, 15.1128, -10.882, 0.171136, 6.36803, -10.882, 0.171136, 5.61803, -13.132, 0.171136, 9.61803, -12.132, 0.171136, 9.86803, -12.382, 0.171136, 8.36803, -13.132, 0.171136, 8.36803, -10.882, 0.171136, 4.86803, -10.882, 0.171136, 4.11803, -10.882, 0.171136, 3.11803, -10.882, 0.171136, 8.11803, -10.632, 0.171136, 13.368, -10.632, 0.171136, 9.86803, -14.382, 0.171136, 9.86803, -14.382, 0.171136, 13.368, -14.882, 6.42114, 3.36803, -14.882, 6.42114, 4.11803, -13.882, 6.92114, 4.11803, -10.882, 8.67114, 3.11803, -13.882, 6.92114, 5.61803, -14.882, 6.42114, 5.61803, -14.882, 6.42114, 6.36803, -13.882, 6.92114, 6.36803, -10.882, 8.67114, 8.11803, -13.882, 6.92114, 7.86803, -12.632, 5.42114, 3.11803, -12.632, 5.42114, 8.11803, -10.882, 5.42114, 8.11803, -10.882, 5.42114, 3.11803, 1.11803, 7.67114, 8.11803, 2.11803, 7.17114, 3.86803, -0.381973, 8.67114, 4.36803, -5.52483, 11.4211, 3.93945, -0.381973, 8.67114, 8.11803, -2.9534, 9.92114, 8.33231, -5.87196, 10.9211, 6.10402, -4.38695, 10.6711, 6.11501, -7.63197, 0.921136, 10.118, -4.88197, 0.921136, 10.118, -5.13197, 0.921136, 9.36803, -7.63197, 0.921136, 9.36803, -239.382, -0.0788635, 15.868, -16.132, -0.0788635, 15.618, -8.38197, 0.171136, 11.118, -9.38197, 0.171136, 14.368, -5.13197, 0.171136, 11.118, -5.13197, 0.171136, 15.618, -14.382, 0.171136, 14.618, -14.382, 0.171136, 15.618, -14.382, 6.67114, 9.86803, -15.132, 6.17114, 11.618, -16.382, 5.67114, 17.368, -13.372, 7.17114, 13.604, -16.382, 5.67114, 11.368, 3.11803, 0.171136, 15.618, 3.11803, 0.171136, 14.868, 2.61803, 0.171136, 14.618, 2.61803, 0.171136, 11.118, 3.11803, 0.171136, 10.868, 3.11803, 0.171136, 10.118, -2.88197, 0.171136, 10.118, -3.13197, 0.171136, 11.118, -13.882, -0.0788635, 239.368, -13.882, -0.0788635, 17.368, -15.882, -0.0788635, 17.368, -239.382, -0.0788635, 239.368, -0.631973, -0.0788635, 17.368, -0.881973, -0.0788635, 18.368, 1.11803, -0.0788635, 18.868, 4.36803, -0.0788635, 17.368, -0.381973, -0.0788635, 239.368, 239.368, -0.0788635, 239.368, 0.868027, -0.0788635, 20.118, -0.631973, -0.0788635, 20.118, -4.38197, -0.0788635, 18.868, -2.88197, -0.0788635, 239.368, -2.63197, -0.0788635, 20.118, -4.13197, -0.0788635, 20.118) +polygons = [PackedInt32Array(2, 1, 0), PackedInt32Array(3, 2, 4), PackedInt32Array(4, 2, 5), PackedInt32Array(5, 2, 0), PackedInt32Array(3, 4, 6), PackedInt32Array(6, 4, 7), PackedInt32Array(10, 9, 8), PackedInt32Array(8, 6, 7), PackedInt32Array(10, 8, 7), PackedInt32Array(11, 10, 12), PackedInt32Array(12, 10, 13), PackedInt32Array(13, 10, 7), PackedInt32Array(15, 14, 16), PackedInt32Array(16, 14, 17), PackedInt32Array(22, 26, 23), PackedInt32Array(23, 26, 24), PackedInt32Array(24, 31, 18), PackedInt32Array(18, 31, 25), PackedInt32Array(25, 27, 19), PackedInt32Array(19, 29, 20), PackedInt32Array(20, 29, 21), PackedInt32Array(21, 26, 22), PackedInt32Array(26, 30, 24), PackedInt32Array(24, 30, 31), PackedInt32Array(31, 27, 25), PackedInt32Array(27, 29, 19), PackedInt32Array(29, 26, 21), PackedInt32Array(26, 28, 30), PackedInt32Array(30, 27, 31), PackedInt32Array(27, 28, 29), PackedInt32Array(29, 28, 26), PackedInt32Array(28, 27, 30), PackedInt32Array(33, 32, 18), PackedInt32Array(18, 32, 24), PackedInt32Array(24, 32, 35), PackedInt32Array(24, 35, 34), PackedInt32Array(24, 34, 23), PackedInt32Array(36, 16, 17), PackedInt32Array(37, 38, 19), PackedInt32Array(19, 38, 25), PackedInt32Array(25, 39, 18), PackedInt32Array(18, 39, 17), PackedInt32Array(17, 39, 36), PackedInt32Array(36, 38, 37), PackedInt32Array(38, 39, 25), PackedInt32Array(39, 38, 36), PackedInt32Array(34, 35, 41), PackedInt32Array(41, 35, 40), PackedInt32Array(40, 35, 32), PackedInt32Array(21, 22, 42), PackedInt32Array(44, 43, 1), PackedInt32Array(1, 43, 0), PackedInt32Array(46, 45, 47), PackedInt32Array(47, 45, 49), PackedInt32Array(47, 49, 48), PackedInt32Array(50, 47, 51), PackedInt32Array(51, 47, 48), PackedInt32Array(55, 54, 52), PackedInt32Array(52, 54, 53), PackedInt32Array(59, 58, 56), PackedInt32Array(56, 58, 57), PackedInt32Array(63, 62, 60), PackedInt32Array(60, 62, 61), PackedInt32Array(65, 64, 66), PackedInt32Array(66, 64, 67), PackedInt32Array(69, 68, 70), PackedInt32Array(70, 68, 71), PackedInt32Array(71, 73, 72), PackedInt32Array(75, 77, 76), PackedInt32Array(76, 77, 74), PackedInt32Array(74, 77, 72), PackedInt32Array(72, 77, 71), PackedInt32Array(71, 77, 70), PackedInt32Array(70, 77, 75), PackedInt32Array(78, 72, 79), PackedInt32Array(79, 72, 73), PackedInt32Array(79, 73, 80), PackedInt32Array(82, 81, 83), PackedInt32Array(83, 81, 84), PackedInt32Array(87, 86, 84), PackedInt32Array(84, 86, 85), PackedInt32Array(79, 80, 88), PackedInt32Array(88, 80, 84), PackedInt32Array(88, 84, 81), PackedInt32Array(88, 81, 89), PackedInt32Array(80, 87, 84), PackedInt32Array(91, 90, 92), PackedInt32Array(92, 90, 95), PackedInt32Array(92, 95, 94), PackedInt32Array(92, 94, 93), PackedInt32Array(100, 99, 96), PackedInt32Array(96, 99, 98), PackedInt32Array(96, 98, 97), PackedInt32Array(97, 102, 101), PackedInt32Array(96, 97, 103), PackedInt32Array(103, 97, 101), PackedInt32Array(103, 101, 104), PackedInt32Array(100, 95, 99), PackedInt32Array(99, 95, 90), PackedInt32Array(99, 105, 98), PackedInt32Array(107, 106, 108), PackedInt32Array(108, 106, 109), PackedInt32Array(111, 110, 112), PackedInt32Array(112, 110, 113), PackedInt32Array(115, 114, 116), PackedInt32Array(116, 114, 117), PackedInt32Array(118, 106, 102), PackedInt32Array(46, 113, 45), PackedInt32Array(45, 113, 119), PackedInt32Array(111, 120, 110), PackedInt32Array(121, 120, 122), PackedInt32Array(122, 120, 111), PackedInt32Array(97, 119, 102), PackedInt32Array(102, 119, 118), PackedInt32Array(118, 119, 110), PackedInt32Array(118, 110, 123), PackedInt32Array(125, 124, 118), PackedInt32Array(118, 124, 117), PackedInt32Array(119, 113, 110), PackedInt32Array(118, 117, 114), PackedInt32Array(118, 114, 109), PackedInt32Array(118, 109, 106), PackedInt32Array(120, 126, 110), PackedInt32Array(122, 127, 121), PackedInt32Array(121, 127, 128), PackedInt32Array(128, 127, 12), PackedInt32Array(128, 12, 129), PackedInt32Array(127, 11, 12), PackedInt32Array(129, 130, 128), PackedInt32Array(132, 131, 133), PackedInt32Array(133, 131, 134), PackedInt32Array(137, 136, 135), PackedInt32Array(139, 138, 140), PackedInt32Array(140, 138, 141), PackedInt32Array(143, 145, 144), PackedInt32Array(144, 145, 142), PackedInt32Array(144, 142, 141), PackedInt32Array(146, 148, 147), PackedInt32Array(143, 150, 145), PackedInt32Array(145, 150, 149), PackedInt32Array(145, 149, 142), PackedInt32Array(151, 137, 135), PackedInt32Array(146, 152, 148), PackedInt32Array(148, 152, 153), PackedInt32Array(83, 151, 82), PackedInt32Array(82, 151, 153), PackedInt32Array(153, 151, 135), PackedInt32Array(153, 135, 154), PackedInt32Array(155, 148, 153), PackedInt32Array(157, 156, 158), PackedInt32Array(158, 156, 143), PackedInt32Array(158, 143, 151), PackedInt32Array(155, 153, 159), PackedInt32Array(159, 153, 154), PackedInt32Array(159, 154, 161), PackedInt32Array(159, 161, 160), PackedInt32Array(141, 138, 144), PackedInt32Array(144, 138, 143), PackedInt32Array(143, 138, 151), PackedInt32Array(151, 138, 137), PackedInt32Array(163, 162, 164), PackedInt32Array(164, 162, 165), PackedInt32Array(167, 166, 168), PackedInt32Array(168, 166, 169), PackedInt32Array(169, 130, 129), PackedInt32Array(168, 169, 162), PackedInt32Array(162, 169, 165), PackedInt32Array(165, 169, 129), PackedInt32Array(171, 170, 172), PackedInt32Array(172, 170, 173), PackedInt32Array(173, 170, 174), PackedInt32Array(173, 174, 43), PackedInt32Array(43, 44, 173), PackedInt32Array(170, 175, 174), PackedInt32Array(177, 176, 178), PackedInt32Array(178, 176, 179), PackedInt32Array(181, 180, 185), PackedInt32Array(185, 180, 184), PackedInt32Array(185, 184, 186), PackedInt32Array(186, 184, 182), PackedInt32Array(182, 184, 183), PackedInt32Array(14, 15, 187), PackedInt32Array(187, 15, 188), PackedInt32Array(189, 183, 191), PackedInt32Array(191, 183, 190), PackedInt32Array(183, 194, 190), PackedInt32Array(190, 194, 188), PackedInt32Array(188, 193, 192), PackedInt32Array(192, 193, 180), PackedInt32Array(180, 193, 184), PackedInt32Array(184, 193, 183), PackedInt32Array(183, 193, 194), PackedInt32Array(194, 193, 188), PackedInt32Array(176, 187, 188), PackedInt32Array(179, 176, 188), PackedInt32Array(192, 179, 188), PackedInt32Array(116, 195, 115), PackedInt32Array(115, 195, 196), PackedInt32Array(200, 199, 197), PackedInt32Array(197, 199, 198), PackedInt32Array(108, 201, 107), PackedInt32Array(107, 201, 202), PackedInt32Array(200, 171, 199), PackedInt32Array(199, 171, 202), PackedInt32Array(202, 171, 203), PackedInt32Array(203, 171, 172), PackedInt32Array(195, 204, 199), PackedInt32Array(196, 195, 199), PackedInt32Array(198, 206, 205), PackedInt32Array(201, 196, 199), PackedInt32Array(197, 198, 207), PackedInt32Array(207, 198, 208), PackedInt32Array(208, 198, 205), PackedInt32Array(202, 201, 199), PackedInt32Array(210, 209, 211), PackedInt32Array(211, 209, 212), PackedInt32Array(216, 215, 213), PackedInt32Array(213, 215, 214), PackedInt32Array(216, 213, 217), PackedInt32Array(217, 213, 212), PackedInt32Array(213, 211, 212), PackedInt32Array(217, 218, 216), PackedInt32Array(222, 221, 219), PackedInt32Array(219, 221, 220), PackedInt32Array(178, 223, 177), PackedInt32Array(177, 223, 225), PackedInt32Array(177, 225, 224), PackedInt32Array(34, 41, 226), PackedInt32Array(226, 41, 40), PackedInt32Array(226, 40, 225), PackedInt32Array(226, 229, 34), PackedInt32Array(34, 229, 182), PackedInt32Array(182, 229, 228), PackedInt32Array(228, 225, 227), PackedInt32Array(225, 230, 226), PackedInt32Array(226, 230, 229), PackedInt32Array(229, 230, 228), PackedInt32Array(228, 230, 225), PackedInt32Array(225, 223, 227), PackedInt32Array(181, 185, 227), PackedInt32Array(227, 185, 186), PackedInt32Array(227, 186, 228), PackedInt32Array(228, 186, 182), PackedInt32Array(234, 233, 231), PackedInt32Array(231, 233, 232), PackedInt32Array(236, 235, 175), PackedInt32Array(175, 235, 174), PackedInt32Array(125, 237, 124), PackedInt32Array(124, 237, 238), PackedInt32Array(237, 239, 238), PackedInt32Array(238, 239, 240), PackedInt32Array(241, 238, 242), PackedInt32Array(242, 238, 240), PackedInt32Array(245, 246, 190), PackedInt32Array(190, 246, 191), PackedInt32Array(191, 243, 189), PackedInt32Array(243, 191, 244), PackedInt32Array(244, 246, 245), PackedInt32Array(246, 244, 191), PackedInt32Array(245, 247, 244), PackedInt32Array(250, 249, 248), PackedInt32Array(252, 251, 253), PackedInt32Array(253, 251, 254), PackedInt32Array(239, 255, 240), PackedInt32Array(240, 255, 250), PackedInt32Array(240, 250, 248), PackedInt32Array(254, 251, 255), PackedInt32Array(255, 251, 250), PackedInt32Array(258, 257, 256), PackedInt32Array(258, 256, 236), PackedInt32Array(236, 256, 235), PackedInt32Array(235, 256, 259), PackedInt32Array(261, 260, 262), PackedInt32Array(262, 260, 263), PackedInt32Array(263, 164, 264), PackedInt32Array(264, 164, 165), PackedInt32Array(264, 165, 265), PackedInt32Array(262, 263, 266), PackedInt32Array(266, 263, 264), PackedInt32Array(264, 267, 266), PackedInt32Array(261, 268, 260), PackedInt32Array(260, 268, 257), PackedInt32Array(271, 270, 269), PackedInt32Array(268, 271, 257), PackedInt32Array(257, 271, 256), PackedInt32Array(256, 271, 269), PackedInt32Array(270, 267, 269), PackedInt32Array(269, 267, 264)] [sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_rh5fc"] panorama = ExtResource("3_vj1wv") @@ -32,8 +40,6 @@ background_mode = 2 sky = SubResource("Sky_l66j6") tonemap_mode = 4 ssr_enabled = true -ssao_enabled = true -ssil_enabled = true glow_enabled = true glow_intensity = 0.5 glow_blend_mode = 1 @@ -53,8 +59,11 @@ light_color = Color(0.810821, 0.653121, 0.677166, 1) light_bake_mode = 1 shadow_enabled = true -[node name="Restaurant" parent="." instance=ExtResource("2_wjlww")] +[node name="NavigationRegion3D" type="NavigationRegion3D" parent="."] transform = Transform3D(1.5, 0, 0, 0, 1.5, 0, 0, 0, 1.5, 0, 0, 0) +navigation_mesh = SubResource("NavigationMesh_7oxoj") + +[node name="Restaurant" parent="NavigationRegion3D" instance=ExtResource("2_wjlww")] [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_wjlww") @@ -70,206 +79,6 @@ light_data = ExtResource("6_2aaaf") [node name="Player" parent="." instance=ExtResource("4_3b4a6")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.41088, 17.7941) -[node name="BallPit" type="Node3D" parent="."] - -[node name="BouncyBall" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.13931, 0.671661, -19.0996) - -[node name="BouncyBall2" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.7765, 0.671661, -18.8118) - -[node name="BouncyBall3" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.17178, 0.671661, -19.2856) - -[node name="BouncyBall4" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.69633, 0.671661, -19.611) - -[node name="BouncyBall5" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.56429, 0.671661, -19.7809) - -[node name="BouncyBall6" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.7184, 0.671661, -18.9538) - -[node name="BouncyBall7" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.65339, 0.671661, -18.3828) - -[node name="BouncyBall8" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.28157, 0.671661, -17.8911) - -[node name="BouncyBall9" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.98981, 0.671661, -17.6198) - -[node name="BouncyBall10" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5802, 0.671661, -18.005) - -[node name="BouncyBall11" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.02282, 0.671661, -18.6843) - -[node name="BouncyBall12" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.13931, 1.56793, -19.0996) - -[node name="BouncyBall13" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.7765, 1.56793, -18.8118) - -[node name="BouncyBall14" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.17178, 1.56793, -19.2856) - -[node name="BouncyBall15" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.69633, 1.56793, -19.611) - -[node name="BouncyBall16" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.56429, 1.56793, -19.7809) - -[node name="BouncyBall17" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.7184, 1.56793, -18.9538) - -[node name="BouncyBall18" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.65339, 1.56793, -18.3828) - -[node name="BouncyBall19" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.28157, 1.56793, -17.8911) - -[node name="BouncyBall20" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.98981, 1.56793, -17.6198) - -[node name="BouncyBall21" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5802, 1.56793, -18.005) - -[node name="BouncyBall22" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.02282, 1.56793, -18.6843) - -[node name="BouncyBall23" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.13931, 2.3288, -19.0996) - -[node name="BouncyBall24" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.7765, 2.3288, -18.8118) - -[node name="BouncyBall25" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.17178, 2.3288, -19.2856) - -[node name="BouncyBall26" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.69633, 2.3288, -19.611) - -[node name="BouncyBall27" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.56429, 2.3288, -19.7809) - -[node name="BouncyBall28" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.7184, 2.3288, -18.9538) - -[node name="BouncyBall29" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.65339, 2.3288, -18.3828) - -[node name="BouncyBall30" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.28157, 2.3288, -17.8911) - -[node name="BouncyBall31" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.98981, 2.3288, -17.6198) - -[node name="BouncyBall32" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5802, 2.3288, -18.005) - -[node name="BouncyBall33" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.02282, 2.3288, -18.6843) - -[node name="BouncyBall34" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.13931, 2.88267, -19.0996) - -[node name="BouncyBall35" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.7765, 2.88267, -18.8118) - -[node name="BouncyBall36" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.17178, 2.88267, -19.2856) - -[node name="BouncyBall37" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.69633, 2.88267, -19.611) - -[node name="BouncyBall38" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.56429, 2.88267, -19.7809) - -[node name="BouncyBall39" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.7184, 2.88267, -18.9538) - -[node name="BouncyBall40" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.65339, 2.88267, -18.3828) - -[node name="BouncyBall41" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.28157, 2.88267, -17.8911) - -[node name="BouncyBall42" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.98981, 2.88267, -17.6198) - -[node name="BouncyBall43" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5802, 2.88267, -18.005) - -[node name="BouncyBall44" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.02282, 2.88267, -18.6843) - -[node name="BouncyBall45" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.13931, 3.45089, -19.0996) - -[node name="BouncyBall46" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.7765, 3.45089, -18.8118) - -[node name="BouncyBall47" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.17178, 3.45089, -19.2856) - -[node name="BouncyBall48" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.69633, 3.45089, -19.611) - -[node name="BouncyBall49" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.56429, 3.45089, -19.7809) - -[node name="BouncyBall50" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.7184, 3.45089, -18.9538) - -[node name="BouncyBall51" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.65339, 3.45089, -18.3828) - -[node name="BouncyBall52" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.28157, 3.45089, -17.8911) - -[node name="BouncyBall53" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.98981, 3.45089, -17.6198) - -[node name="BouncyBall54" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5802, 3.45089, -18.005) - -[node name="BouncyBall55" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.02282, 3.45089, -18.6843) - -[node name="BouncyBall56" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.13931, 4.13854, -19.0996) - -[node name="BouncyBall57" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.7765, 4.13854, -18.8118) - -[node name="BouncyBall58" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.17178, 4.13854, -19.2856) - -[node name="BouncyBall59" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.69633, 4.13854, -19.611) - -[node name="BouncyBall60" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.56429, 4.13854, -19.7809) - -[node name="BouncyBall61" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.7184, 4.13854, -18.9538) - -[node name="BouncyBall62" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.65339, 4.13854, -18.3828) - -[node name="BouncyBall63" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.28157, 4.13854, -17.8911) - -[node name="BouncyBall64" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.98981, 4.13854, -17.6198) - -[node name="BouncyBall65" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5802, 4.13854, -18.005) - -[node name="BouncyBall66" parent="BallPit" instance=ExtResource("5_y1csj")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.02282, 4.13854, -18.6843) - [node name="LevelBounds" parent="." instance=ExtResource("7_rh5fc")] [node name="CollisionShape3D" type="CollisionShape3D" parent="LevelBounds"] @@ -312,69 +121,6 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.2482, 6.37716, -7.11068) [node name="RestaurantLight9" parent="." instance=ExtResource("8_wic7t")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -11.0282, 6.37716, -7.11068) -[node name="TableSetup" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.3708, -0.274829, 1.75654) - -[node name="TableSetup2" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.6683, -0.27483, -0.545584) - -[node name="TableSetup3" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.774, -0.27483, -3.21804) - -[node name="TableSetup4" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.42388, -0.274829, 1.75654) - -[node name="TableSetup5" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.7214, -0.27483, -0.545584) - -[node name="TableSetup6" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -7.82707, -0.27483, -3.21804) - -[node name="TableSetup7" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.80634, -0.274829, 1.75654) - -[node name="TableSetup8" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.10387, -0.27483, -0.545584) - -[node name="TableSetup9" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.20954, -0.27483, -3.21804) - -[node name="TableSetup10" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.10842, -0.274829, 1.75654) - -[node name="TableSetup11" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.810897, -0.27483, -0.545584) - -[node name="TableSetup12" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.705233, -0.27483, -3.21804) - -[node name="TableSetup13" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -19.227, -0.274829, -0.783487) - -[node name="TableSetup14" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -19.5245, -0.274829, -3.08561) - -[node name="TableSetup15" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -19.6302, -0.274829, -5.75807) - -[node name="TableSetup16" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -16.7761, -0.274829, -4.96502) - -[node name="TableSetup17" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17.0736, -0.274829, -7.26714) - -[node name="TableSetup18" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17.1793, -0.274829, -9.9396) - -[node name="TableSetup19" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(0.150484, 0, 0.988612, 0, 1, 0, -0.988612, 0, 0.150484, 3.51849, -0.274829, -10.522) - -[node name="TableSetup20" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(0.150484, 0, 0.988612, 0, 1, 0, -0.988612, 0, 0.150484, 1.19781, -0.27483, -10.5743) - -[node name="TableSetup21" parent="." instance=ExtResource("9_2aaaf")] -transform = Transform3D(0.150484, 0, 0.988612, 0, 1, 0, -0.988612, 0, 0.150484, -1.46012, -0.27483, -10.872) - [node name="RigidBody3D" parent="." instance=ExtResource("10_aii4r")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.6261, -0.275091, 6.10237) @@ -530,3 +276,43 @@ transform = Transform3D(0.240287, 0, -1.48063, 0, 1.5, 0, 1.48063, 0, 0.240287, [node name="vendingmachine" parent="." instance=ExtResource("19_yja8w")] transform = Transform3D(-1, 0, 0.000279339, 0, 1, 0, -0.000279339, 0, -1, -15.755, -0.229, 2.7) + +[node name="Level" type="Node3D" parent="."] +script = ExtResource("20_7oxoj") +start_enemies = 30 + +[node name="EnemySpawner" parent="Level" instance=ExtResource("21_ekgvv")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.63283, 2.59268, -59.3979) +size = Vector3(32.3965, 1, 53.0647) + +[node name="EnemySpawner2" parent="Level" instance=ExtResource("21_ekgvv")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 50.9239, 2.59268, 6.17896) +size = Vector3(32.3965, 1, 53.0647) + +[node name="EnemySpawner3" parent="Level" instance=ExtResource("21_ekgvv")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.53102, 2.59268, 65.8537) +size = Vector3(32.3965, 1, 53.0647) + +[node name="EnemySpawner4" parent="Level" instance=ExtResource("21_ekgvv")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -58.8883, 2.59268, 11.1691) +size = Vector3(32.3965, 1, 53.0647) + +[node name="EnemySpawner5" parent="Level" instance=ExtResource("21_ekgvv")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6.37978, 18.5434, 1.44944) +size = Vector3(15.156, 1, 35.5256) + +[node name="JumpPlatform" parent="Level" instance=ExtResource("20_ktwu1")] +transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, -41.4041, -0.446653, -10.6617) + +[node name="RatControl" type="Node3D" parent="."] +script = ExtResource("20_ekgvv") +rat = ExtResource("21_2tkqj") + +[node name="RatHole" parent="RatControl" instance=ExtResource("21_ktwu1")] +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -10.567, -0.0316622, 24.4324) + +[node name="RatHole2" parent="RatControl" instance=ExtResource("21_ktwu1")] +transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 5.43471, -0.0316622, 15.7714) + +[node name="RatHole3" parent="RatControl" instance=ExtResource("21_ktwu1")] +transform = Transform3D(1.19249e-08, 0, -1, 0, 1, 0, 1, 0, 1.19249e-08, -22.4246, -0.0316622, 22.2901) diff --git a/scripts/EnemyAttack.gd b/scripts/EnemyAttack.gd index b8e6220..3cab2c3 100644 --- a/scripts/EnemyAttack.gd +++ b/scripts/EnemyAttack.gd @@ -85,7 +85,7 @@ func fire(barrel): instance_bullet.target_type = character.enemy_type get_tree().get_root().add_child(instance_bullet) character.audio_fire.play() - spawn_casing() + #spawn_casing() DISABLING TO SEE IF THIS IS JUMPING UP FRAME TIME func spawn_casing(): var instance_casing = character.casing.instantiate() diff --git a/scripts/LevelManager.gd b/scripts/LevelManager.gd index c6f174e..0de0f8b 100644 --- a/scripts/LevelManager.gd +++ b/scripts/LevelManager.gd @@ -143,7 +143,7 @@ func die(): gamemode.apply_weapon_penalty() if GameGlobals.player_deaths: GameGlobals.player_deaths += 1 - SaveLoad.save_user_data() + #SaveLoad.save_user_data() var deadmsg = DEAD_ANNOUNCE.instantiate() get_parent().add_child(deadmsg) var instance_dead = DEAD_PLAYER.instantiate() diff --git a/scripts/player_on_foot.gd b/scripts/player_on_foot.gd index 309a61d..46a6876 100644 --- a/scripts/player_on_foot.gd +++ b/scripts/player_on_foot.gd @@ -4,6 +4,8 @@ class_name PlayerOnFoot func Enter(): character.jumps_remaining = character.MAX_JUMPS + if character.land_sound: #tweak to get around weird loading in error + character.land_sound.play() func Physics_Update(delta): if character.is_on_floor():