From cdc2b9ea0bd97b982411ba4b6e03643937c105ad Mon Sep 17 00:00:00 2001 From: David Date: Sat, 16 Jul 2022 01:24:18 +0200 Subject: uuuhh --- godot/scenes/levels/test_scene/Floor.tscn | 17 ---------- godot/scenes/levels/test_scene/TestScene.tscn | 7 ---- godot/scenes/levels/test_scene_uuuhhh/Floor.tscn | 22 +++++++++++++ .../levels/test_scene_uuuhhh/TestSceneUuuhhh.tscn | 37 ++++++++++++++++++++++ godot/scenes/levels/test_scene_uuuhhh/Wall.tscn | 23 ++++++++++++++ 5 files changed, 82 insertions(+), 24 deletions(-) delete mode 100644 godot/scenes/levels/test_scene/Floor.tscn delete mode 100644 godot/scenes/levels/test_scene/TestScene.tscn create mode 100644 godot/scenes/levels/test_scene_uuuhhh/Floor.tscn create mode 100644 godot/scenes/levels/test_scene_uuuhhh/TestSceneUuuhhh.tscn create mode 100644 godot/scenes/levels/test_scene_uuuhhh/Wall.tscn (limited to 'godot/scenes/levels') diff --git a/godot/scenes/levels/test_scene/Floor.tscn b/godot/scenes/levels/test_scene/Floor.tscn deleted file mode 100644 index 5b58b9f..0000000 --- a/godot/scenes/levels/test_scene/Floor.tscn +++ /dev/null @@ -1,17 +0,0 @@ -[gd_scene load_steps=3 format=2] - -[sub_resource type="CubeMesh" id=1] - -[sub_resource type="BoxShape" id=2] - -[node name="StaticBody" type="StaticBody"] - -[node name="MeshInstance" type="MeshInstance" parent="."] -transform = Transform( 10, 0, 0, 0, 1, 0, 0, 0, 10, 0, 0, 0 ) -mesh = SubResource( 1 ) -skeleton = NodePath("../CollisionShape") -material/0 = null - -[node name="CollisionShape" type="CollisionShape" parent="."] -transform = Transform( 10, 0, 0, 0, 1, 0, 0, 0, 10, 0, 0, 0 ) -shape = SubResource( 2 ) diff --git a/godot/scenes/levels/test_scene/TestScene.tscn b/godot/scenes/levels/test_scene/TestScene.tscn deleted file mode 100644 index 5775e39..0000000 --- a/godot/scenes/levels/test_scene/TestScene.tscn +++ /dev/null @@ -1,7 +0,0 @@ -[gd_scene load_steps=2 format=2] - -[ext_resource path="res://scenes/levels/test_scene/Floor.tscn" type="PackedScene" id=1] - -[node name="TestScene" type="Spatial"] - -[node name="Floor" parent="." instance=ExtResource( 1 )] diff --git a/godot/scenes/levels/test_scene_uuuhhh/Floor.tscn b/godot/scenes/levels/test_scene_uuuhhh/Floor.tscn new file mode 100644 index 0000000..f8970a7 --- /dev/null +++ b/godot/scenes/levels/test_scene_uuuhhh/Floor.tscn @@ -0,0 +1,22 @@ +[gd_scene load_steps=5 format=2] + +[ext_resource path="res://assets/textures/grass-texture-26.jpg" type="Texture" id=1] + +[sub_resource type="CubeMesh" id=1] + +[sub_resource type="SpatialMaterial" id=3] +albedo_texture = ExtResource( 1 ) + +[sub_resource type="BoxShape" id=2] + +[node name="StaticBody" type="StaticBody"] + +[node name="MeshInstance" type="MeshInstance" parent="."] +transform = Transform( 10, 0, 0, 0, 1, 0, 0, 0, 10, 0, 0, 0 ) +mesh = SubResource( 1 ) +skeleton = NodePath("../CollisionShape") +material/0 = SubResource( 3 ) + +[node name="CollisionShape" type="CollisionShape" parent="."] +transform = Transform( 10, 0, 0, 0, 1, 0, 0, 0, 10, 0, 0, 0 ) +shape = SubResource( 2 ) diff --git a/godot/scenes/levels/test_scene_uuuhhh/TestSceneUuuhhh.tscn b/godot/scenes/levels/test_scene_uuuhhh/TestSceneUuuhhh.tscn new file mode 100644 index 0000000..d109705 --- /dev/null +++ b/godot/scenes/levels/test_scene_uuuhhh/TestSceneUuuhhh.tscn @@ -0,0 +1,37 @@ +[gd_scene load_steps=6 format=2] + +[ext_resource path="res://scenes/levels/test_scene_uuuhhh/Wall.tscn" type="PackedScene" id=1] +[ext_resource path="res://scenes/levels/test_scene_uuuhhh/Floor.tscn" type="PackedScene" id=2] +[ext_resource path="res://scenes/scripts/roblox-cube.gd" type="Script" id=3] +[ext_resource path="res://assets/sounds/Uuhhh.mp3" type="AudioStream" id=4] +[ext_resource path="res://scenes/objects/W8.tscn" type="PackedScene" id=5] + +[node name="TestScene" type="Spatial"] + +[node name="W8" parent="." instance=ExtResource( 5 )] +transform = Transform( 0.990268, 0.0360207, 0.134431, 0, 0.965926, -0.258819, -0.139173, 0.2563, 0.956525, -2.57174, 1.79727, 8.45058 ) +script = ExtResource( 3 ) + +[node name="Floor" parent="." instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0290833, -0.981747, 0.00208664 ) + +[node name="Floor2" parent="." instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -1, 20 ) + +[node name="Floor3" parent="." instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 20, -1, 0 ) + +[node name="Floor4" parent="." instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 20, -1, 20 ) + +[node name="Floor5" parent="." instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 40, -1, 0 ) + +[node name="Floor6" parent="." instance=ExtResource( 2 )] +transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 40, -1, 20 ) + +[node name="Wall" parent="." instance=ExtResource( 1 )] +transform = Transform( 0.766044, 0, -0.642788, 0, 2, 0, 0.642788, 0, 0.766044, 19.47, 0, 14.7187 ) + +[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] +stream = ExtResource( 4 ) diff --git a/godot/scenes/levels/test_scene_uuuhhh/Wall.tscn b/godot/scenes/levels/test_scene_uuuhhh/Wall.tscn new file mode 100644 index 0000000..e3afe23 --- /dev/null +++ b/godot/scenes/levels/test_scene_uuuhhh/Wall.tscn @@ -0,0 +1,23 @@ +[gd_scene load_steps=5 format=2] + +[ext_resource path="res://assets/textures/sandstone-brick-wall-texture.jpg" type="Texture" id=1] + +[sub_resource type="CubeMesh" id=1] + +[sub_resource type="SpatialMaterial" id=2] +albedo_texture = ExtResource( 1 ) + +[sub_resource type="ConvexPolygonShape" id=3] +points = PoolVector3Array( 1, 1, 1, 1, 1, -1, -1, 1, 1, 1, -1, 1, 1, -1, -1, -1, 1, -1, -1, -1, 1, -1, -1, -1 ) + +[node name="StaticBody" type="StaticBody"] + +[node name="MeshInstance" type="MeshInstance" parent="."] +transform = Transform( 0.3, 0, 0, 0, 1, 0, 0, 0, 5, 0, 1, 0 ) +mesh = SubResource( 1 ) +skeleton = NodePath("") +material/0 = SubResource( 2 ) + +[node name="CollisionShape" type="CollisionShape" parent="."] +transform = Transform( 0.3, 0, 0, 0, 1, 0, 0, 0, 5, 0, 1, 0 ) +shape = SubResource( 3 ) -- cgit