|
|
@@ -1,4 +1,4 @@ |
|
|
|
[gd_scene load_steps=30 format=2] |
|
|
|
[gd_scene load_steps=31 format=2] |
|
|
|
|
|
|
|
[ext_resource path="res://jrpg/scripts/levels/spawner.gd" type="Script" id=1] |
|
|
|
[ext_resource path="res://jrpg/yarn_scripts/test_start.yarn" type="Resource" id=2] |
|
|
@@ -13,25 +13,14 @@ |
|
|
|
[ext_resource path="res://jrpg/scripts/levels/script_trigger.gd" type="Script" id=11] |
|
|
|
[ext_resource path="res://jrpg/characters/basic_enemy.tres" type="Resource" id=12] |
|
|
|
[ext_resource path="res://jrpg/yarn_scripts/all_coins_picked_up_script.yarn" type="Resource" id=13] |
|
|
|
[ext_resource path="res://jrpg/models/nature/river/WaterPlane.tscn" type="PackedScene" id=14] |
|
|
|
[ext_resource path="res://jrpg/scripts/misc/test_level.gd" type="Script" id=15] |
|
|
|
[ext_resource path="res://jrpg/models/nature/river/water.tres" type="Material" id=16] |
|
|
|
|
|
|
|
[sub_resource type="ArrayMesh" id=1] |
|
|
|
resource_name = "ground_grass" |
|
|
|
surfaces/0 = { |
|
|
|
"aabb": AABB( -0.5, 0, -0.5, 1.00001, 1e-05, 1.00001 ), |
|
|
|
"array_data": PoolByteArray( 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 63, 0, 127, 0, 0, 127, 0, 0, 127, 235, 76, 43, 77, 0, 0, 0, 191, 0, 0, 0, 0, 0, 0, 0, 63, 0, 127, 0, 0, 127, 0, 0, 127, 235, 204, 43, 77, 0, 0, 0, 191, 0, 0, 0, 0, 0, 0, 0, 191, 0, 127, 0, 0, 127, 0, 0, 127, 235, 204, 171, 204, 0, 0, 0, 191, 0, 0, 0, 0, 0, 0, 0, 191, 0, 127, 0, 0, 127, 0, 0, 127, 235, 204, 171, 204, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 191, 0, 127, 0, 0, 127, 0, 0, 127, 235, 76, 171, 204, 0, 0, 0, 63, 0, 0, 0, 0, 0, 0, 0, 63, 0, 127, 0, 0, 127, 0, 0, 127, 235, 76, 43, 77 ), |
|
|
|
"array_index_data": PoolByteArray( ), |
|
|
|
"blend_shape_data": [ ], |
|
|
|
"format": 97303, |
|
|
|
"index_count": 0, |
|
|
|
"material": ExtResource( 9 ), |
|
|
|
"primitive": 4, |
|
|
|
"skeleton_aabb": [ ], |
|
|
|
"vertex_count": 6 |
|
|
|
} |
|
|
|
|
|
|
|
[sub_resource type="ConcavePolygonShape" id=2] |
|
|
|
data = PoolVector3Array( 0.5, 0, 0.5, -0.5, 0, 0.5, -0.5, 0, -0.5, -0.5, 0, -0.5, 0.5, 0, -0.5, 0.5, 0, 0.5 ) |
|
|
|
[sub_resource type="PlaneMesh" id=16] |
|
|
|
size = Vector2( 600, 600 ) |
|
|
|
subdivide_width = 200 |
|
|
|
subdivide_depth = 200 |
|
|
|
|
|
|
|
[sub_resource type="ArrayMesh" id=3] |
|
|
|
resource_name = "rock_smallFlatC" |
|
|
@@ -251,48 +240,55 @@ environment = ExtResource( 7 ) |
|
|
|
transform = Transform( 0.422618, -0.742404, 0.519837, 0, 0.573576, 0.819152, -0.906308, -0.346189, 0.242404, 0, 0, 0 ) |
|
|
|
shadow_enabled = true |
|
|
|
|
|
|
|
[node name="ground_grass" type="Spatial" parent="."] |
|
|
|
transform = Transform( 50.0874, 0, 0, 0, 5.00874, 0, 0, 0, 50.0874, 0, 0.204079, 0 ) |
|
|
|
[node name="WaterPlane" parent="." instance=ExtResource( 14 )] |
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -2.47593, 0 ) |
|
|
|
mesh = SubResource( 16 ) |
|
|
|
material/0 = ExtResource( 16 ) |
|
|
|
|
|
|
|
[node name="rock_smallFlatC2" type="Spatial" parent="."] |
|
|
|
transform = Transform( 262.983, 0, 0, 0, 87.6103, 0, 0, 0, 262.983, 0, 0, 0 ) |
|
|
|
|
|
|
|
[node name="tmpParent" type="Spatial" parent="ground_grass"] |
|
|
|
[node name="tmpParent" type="Spatial" parent="rock_smallFlatC2"] |
|
|
|
transform = Transform( 1, 0, 0, 0, 0.452005, 0, 0, 0, 1, 0, -0.0247138, 0 ) |
|
|
|
|
|
|
|
[node name="ground_grass" type="MeshInstance" parent="ground_grass/tmpParent"] |
|
|
|
[node name="rock_smallFlatC" type="MeshInstance" parent="rock_smallFlatC2/tmpParent"] |
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0 ) |
|
|
|
use_in_baked_light = true |
|
|
|
mesh = SubResource( 1 ) |
|
|
|
mesh = SubResource( 3 ) |
|
|
|
material/0 = null |
|
|
|
material/1 = null |
|
|
|
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="ground_grass/tmpParent/ground_grass"] |
|
|
|
[node name="StaticBody" type="StaticBody" parent="rock_smallFlatC2/tmpParent/rock_smallFlatC"] |
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="ground_grass/tmpParent/ground_grass/StaticBody"] |
|
|
|
shape = SubResource( 2 ) |
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="rock_smallFlatC2/tmpParent/rock_smallFlatC/StaticBody"] |
|
|
|
shape = SubResource( 4 ) |
|
|
|
|
|
|
|
[node name="Rocks" type="Spatial" parent="ground_grass"] |
|
|
|
transform = Transform( 0.1, 0, 0, 0, 1, 0, 0, 0, 0.1, 1.5, 0, -1.5 ) |
|
|
|
[node name="Rocks" type="Spatial" parent="rock_smallFlatC2"] |
|
|
|
transform = Transform( 0.0190459, 0, 0, 0, 0.0571707, 0, 0, 0, 0.0190459, 0.285688, -0.0144457, -0.285688 ) |
|
|
|
|
|
|
|
[node name="rock_smallFlatC" type="Spatial" parent="ground_grass/Rocks"] |
|
|
|
[node name="rock_smallFlatC" type="Spatial" parent="rock_smallFlatC2/Rocks"] |
|
|
|
transform = Transform( 5.65286, 0, 0, 0, 5.65286, 0, 0, 0, 5.65286, -12.9201, 0.207275, 18.4097 ) |
|
|
|
|
|
|
|
[node name="tmpParent" type="Spatial" parent="ground_grass/Rocks/rock_smallFlatC"] |
|
|
|
[node name="tmpParent" type="Spatial" parent="rock_smallFlatC2/Rocks/rock_smallFlatC"] |
|
|
|
|
|
|
|
[node name="rock_smallFlatC" type="MeshInstance" parent="ground_grass/Rocks/rock_smallFlatC/tmpParent"] |
|
|
|
[node name="rock_smallFlatC" type="MeshInstance" parent="rock_smallFlatC2/Rocks/rock_smallFlatC/tmpParent"] |
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0 ) |
|
|
|
use_in_baked_light = true |
|
|
|
mesh = SubResource( 3 ) |
|
|
|
material/0 = null |
|
|
|
material/1 = null |
|
|
|
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="ground_grass/Rocks/rock_smallFlatC/tmpParent/rock_smallFlatC"] |
|
|
|
[node name="StaticBody" type="StaticBody" parent="rock_smallFlatC2/Rocks/rock_smallFlatC/tmpParent/rock_smallFlatC"] |
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="ground_grass/Rocks/rock_smallFlatC/tmpParent/rock_smallFlatC/StaticBody"] |
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="rock_smallFlatC2/Rocks/rock_smallFlatC/tmpParent/rock_smallFlatC/StaticBody"] |
|
|
|
shape = SubResource( 4 ) |
|
|
|
|
|
|
|
[node name="rock_tallB" type="Spatial" parent="ground_grass/Rocks"] |
|
|
|
[node name="rock_tallB" type="Spatial" parent="rock_smallFlatC2/Rocks"] |
|
|
|
transform = Transform( 5.65286, 0, 0, 0, 5.65286, 0, 0, 0, 5.65286, -14.2025, 0.258005, 11.2607 ) |
|
|
|
|
|
|
|
[node name="tmpParent" type="Spatial" parent="ground_grass/Rocks/rock_tallB"] |
|
|
|
[node name="tmpParent" type="Spatial" parent="rock_smallFlatC2/Rocks/rock_tallB"] |
|
|
|
|
|
|
|
[node name="rock_tallB" type="MeshInstance" parent="ground_grass/Rocks/rock_tallB/tmpParent"] |
|
|
|
[node name="rock_tallB" type="MeshInstance" parent="rock_smallFlatC2/Rocks/rock_tallB/tmpParent"] |
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0 ) |
|
|
|
use_in_baked_light = true |
|
|
|
mesh = SubResource( 5 ) |
|
|
@@ -300,51 +296,51 @@ material/0 = null |
|
|
|
material/1 = null |
|
|
|
material/2 = null |
|
|
|
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="ground_grass/Rocks/rock_tallB/tmpParent/rock_tallB"] |
|
|
|
[node name="StaticBody" type="StaticBody" parent="rock_smallFlatC2/Rocks/rock_tallB/tmpParent/rock_tallB"] |
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="ground_grass/Rocks/rock_tallB/tmpParent/rock_tallB/StaticBody"] |
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="rock_smallFlatC2/Rocks/rock_tallB/tmpParent/rock_tallB/StaticBody"] |
|
|
|
shape = SubResource( 6 ) |
|
|
|
|
|
|
|
[node name="rock_smallE" type="Spatial" parent="ground_grass/Rocks"] |
|
|
|
[node name="rock_smallE" type="Spatial" parent="rock_smallFlatC2/Rocks"] |
|
|
|
transform = Transform( 6.85371, 0, 0, 0, 6.85371, 0, 0, 0, 6.85371, -18.3314, 2.34693e-07, 17.6131 ) |
|
|
|
|
|
|
|
[node name="tmpParent" type="Spatial" parent="ground_grass/Rocks/rock_smallE"] |
|
|
|
[node name="tmpParent" type="Spatial" parent="rock_smallFlatC2/Rocks/rock_smallE"] |
|
|
|
|
|
|
|
[node name="rock_smallE" type="MeshInstance" parent="ground_grass/Rocks/rock_smallE/tmpParent"] |
|
|
|
[node name="rock_smallE" type="MeshInstance" parent="rock_smallFlatC2/Rocks/rock_smallE/tmpParent"] |
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0 ) |
|
|
|
use_in_baked_light = true |
|
|
|
mesh = SubResource( 7 ) |
|
|
|
material/0 = null |
|
|
|
material/1 = null |
|
|
|
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="ground_grass/Rocks/rock_smallE/tmpParent/rock_smallE"] |
|
|
|
[node name="StaticBody" type="StaticBody" parent="rock_smallFlatC2/Rocks/rock_smallE/tmpParent/rock_smallE"] |
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="ground_grass/Rocks/rock_smallE/tmpParent/rock_smallE/StaticBody"] |
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="rock_smallFlatC2/Rocks/rock_smallE/tmpParent/rock_smallE/StaticBody"] |
|
|
|
shape = SubResource( 8 ) |
|
|
|
|
|
|
|
[node name="rock_smallA" type="Spatial" parent="ground_grass/Rocks"] |
|
|
|
[node name="rock_smallA" type="Spatial" parent="rock_smallFlatC2/Rocks"] |
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -18.5467, -3.72529e-09, 13.5098 ) |
|
|
|
|
|
|
|
[node name="tmpParent" type="Spatial" parent="ground_grass/Rocks/rock_smallA"] |
|
|
|
[node name="tmpParent" type="Spatial" parent="rock_smallFlatC2/Rocks/rock_smallA"] |
|
|
|
|
|
|
|
[node name="rock_smallA" type="MeshInstance" parent="ground_grass/Rocks/rock_smallA/tmpParent"] |
|
|
|
[node name="rock_smallA" type="MeshInstance" parent="rock_smallFlatC2/Rocks/rock_smallA/tmpParent"] |
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0 ) |
|
|
|
use_in_baked_light = true |
|
|
|
mesh = SubResource( 9 ) |
|
|
|
material/0 = null |
|
|
|
material/1 = null |
|
|
|
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="ground_grass/Rocks/rock_smallA/tmpParent/rock_smallA"] |
|
|
|
[node name="StaticBody" type="StaticBody" parent="rock_smallFlatC2/Rocks/rock_smallA/tmpParent/rock_smallA"] |
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="ground_grass/Rocks/rock_smallA/tmpParent/rock_smallA/StaticBody"] |
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="rock_smallFlatC2/Rocks/rock_smallA/tmpParent/rock_smallA/StaticBody"] |
|
|
|
shape = SubResource( 10 ) |
|
|
|
|
|
|
|
[node name="rock_largeD" type="Spatial" parent="ground_grass/Rocks"] |
|
|
|
[node name="rock_largeD" type="Spatial" parent="rock_smallFlatC2/Rocks"] |
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -17.8118, 1.11759e-08, 11.9321 ) |
|
|
|
|
|
|
|
[node name="tmpParent" type="Spatial" parent="ground_grass/Rocks/rock_largeD"] |
|
|
|
[node name="tmpParent" type="Spatial" parent="rock_smallFlatC2/Rocks/rock_largeD"] |
|
|
|
|
|
|
|
[node name="rock_largeD" type="MeshInstance" parent="ground_grass/Rocks/rock_largeD/tmpParent"] |
|
|
|
[node name="rock_largeD" type="MeshInstance" parent="rock_smallFlatC2/Rocks/rock_largeD/tmpParent"] |
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0 ) |
|
|
|
use_in_baked_light = true |
|
|
|
mesh = SubResource( 11 ) |
|
|
@@ -352,32 +348,32 @@ material/0 = null |
|
|
|
material/1 = null |
|
|
|
material/2 = null |
|
|
|
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="ground_grass/Rocks/rock_largeD/tmpParent/rock_largeD"] |
|
|
|
[node name="StaticBody" type="StaticBody" parent="rock_smallFlatC2/Rocks/rock_largeD/tmpParent/rock_largeD"] |
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="ground_grass/Rocks/rock_largeD/tmpParent/rock_largeD/StaticBody"] |
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="rock_smallFlatC2/Rocks/rock_largeD/tmpParent/rock_largeD/StaticBody"] |
|
|
|
shape = SubResource( 12 ) |
|
|
|
|
|
|
|
[node name="rock_largeC" type="Spatial" parent="ground_grass/Rocks"] |
|
|
|
[node name="rock_largeC" type="Spatial" parent="rock_smallFlatC2/Rocks"] |
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -10.9969, -2.27243e-07, 12.2947 ) |
|
|
|
|
|
|
|
[node name="tmpParent" type="Spatial" parent="ground_grass/Rocks/rock_largeC"] |
|
|
|
[node name="tmpParent" type="Spatial" parent="rock_smallFlatC2/Rocks/rock_largeC"] |
|
|
|
|
|
|
|
[node name="rock_largeC" type="MeshInstance" parent="ground_grass/Rocks/rock_largeC/tmpParent"] |
|
|
|
[node name="rock_largeC" type="MeshInstance" parent="rock_smallFlatC2/Rocks/rock_largeC/tmpParent"] |
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.05, 0 ) |
|
|
|
use_in_baked_light = true |
|
|
|
mesh = SubResource( 13 ) |
|
|
|
material/0 = null |
|
|
|
material/1 = null |
|
|
|
|
|
|
|
[node name="StaticBody" type="StaticBody" parent="ground_grass/Rocks/rock_largeC/tmpParent/rock_largeC"] |
|
|
|
[node name="StaticBody" type="StaticBody" parent="rock_smallFlatC2/Rocks/rock_largeC/tmpParent/rock_largeC"] |
|
|
|
|
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="ground_grass/Rocks/rock_largeC/tmpParent/rock_largeC/StaticBody"] |
|
|
|
[node name="CollisionShape" type="CollisionShape" parent="rock_smallFlatC2/Rocks/rock_largeC/tmpParent/rock_largeC/StaticBody"] |
|
|
|
shape = SubResource( 14 ) |
|
|
|
|
|
|
|
[node name="Spawners" type="Spatial" parent="."] |
|
|
|
|
|
|
|
[node name="Coins" type="Spatial" parent="Spawners"] |
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.43111, 0 ) |
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.630669, 0 ) |
|
|
|
script = ExtResource( 5 ) |
|
|
|
coin_scene = ExtResource( 3 ) |
|
|
|
all_coins_picked_up_script = ExtResource( 13 ) |
|
|
@@ -400,12 +396,12 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.330003, 4.60946, -9.86923 ) |
|
|
|
[node name="CoinSpawn6" type="Spatial" parent="Spawners/Coins"] |
|
|
|
|
|
|
|
[node name="Kiley" type="Spatial" parent="Spawners"] |
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.42834, 0, 8.41565 ) |
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.42834, -1.29737, 8.41565 ) |
|
|
|
script = ExtResource( 1 ) |
|
|
|
character_data = ExtResource( 12 ) |
|
|
|
|
|
|
|
[node name="Player" type="Spatial" parent="Spawners"] |
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.218717, 0, -1.84536 ) |
|
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.218717, 1.98511, -1.84536 ) |
|
|
|
script = ExtResource( 1 ) |
|
|
|
character_data = ExtResource( 6 ) |
|
|
|
|
|
|
|