|
@@ -1,4 +1,4 @@
|
|
-[gd_scene load_steps=15 format=2]
|
|
|
|
|
|
+[gd_scene load_steps=13 format=2]
|
|
|
|
|
|
[ext_resource path="res://2D_in_3D.gd" type="Script" id=1]
|
|
[ext_resource path="res://2D_in_3D.gd" type="Script" id=1]
|
|
[ext_resource path="res://pong.gd" type="Script" id=2]
|
|
[ext_resource path="res://pong.gd" type="Script" id=2]
|
|
@@ -9,35 +9,19 @@
|
|
|
|
|
|
[sub_resource type="PlaneMesh" id=1]
|
|
[sub_resource type="PlaneMesh" id=1]
|
|
|
|
|
|
-[sub_resource type="GDScript" id=2]
|
|
|
|
-script/source = "tool
|
|
|
|
-extends Object
|
|
|
|
-func e():
|
|
|
|
- return .7
|
|
|
|
-"
|
|
|
|
-
|
|
|
|
-[sub_resource type="SpatialMaterial" id=3]
|
|
|
|
|
|
+[sub_resource type="SpatialMaterial" id=2]
|
|
roughness = 0.7
|
|
roughness = 0.7
|
|
-script = SubResource( 2 )
|
|
|
|
|
|
|
|
-[sub_resource type="CubeMesh" id=4]
|
|
|
|
|
|
+[sub_resource type="CubeMesh" id=3]
|
|
|
|
|
|
-[sub_resource type="SpatialMaterial" id=5]
|
|
|
|
|
|
+[sub_resource type="SpatialMaterial" id=4]
|
|
albedo_color = Color( 0.652344, 0.652344, 0.652344, 1 )
|
|
albedo_color = Color( 0.652344, 0.652344, 0.652344, 1 )
|
|
roughness = 0.0
|
|
roughness = 0.0
|
|
|
|
|
|
-[sub_resource type="GDScript" id=6]
|
|
|
|
-script/source = "tool
|
|
|
|
-extends Object
|
|
|
|
-func e():
|
|
|
|
- return 0.1
|
|
|
|
-"
|
|
|
|
-
|
|
|
|
-[sub_resource type="CubeMesh" id=7]
|
|
|
|
|
|
+[sub_resource type="CubeMesh" id=5]
|
|
size = Vector3( 1.1, 0.8, 0.1 )
|
|
size = Vector3( 1.1, 0.8, 0.1 )
|
|
-script = SubResource( 6 )
|
|
|
|
|
|
|
|
-[sub_resource type="SpatialMaterial" id=8]
|
|
|
|
|
|
+[sub_resource type="SpatialMaterial" id=6]
|
|
|
|
|
|
[node name="2Din3D" type="Spatial"]
|
|
[node name="2Din3D" type="Spatial"]
|
|
script = ExtResource( 1 )
|
|
script = ExtResource( 1 )
|
|
@@ -50,48 +34,48 @@ near = 0.1
|
|
[node name="Floor" type="MeshInstance" parent="."]
|
|
[node name="Floor" type="MeshInstance" parent="."]
|
|
transform = Transform( 4, 0, 0, 0, 4, 0, 0, 0, 4, 0, -1, -2 )
|
|
transform = Transform( 4, 0, 0, 0, 4, 0, 0, 0, 4, 0, -1, -2 )
|
|
mesh = SubResource( 1 )
|
|
mesh = SubResource( 1 )
|
|
-material/0 = SubResource( 3 )
|
|
|
|
|
|
+material/0 = SubResource( 2 )
|
|
|
|
|
|
[node name="Pillar1" type="Spatial" parent="."]
|
|
[node name="Pillar1" type="Spatial" parent="."]
|
|
transform = Transform( 0.6, 0, 0, 0, 0.6, 0, 0, 0, 0.6, -3, -0.2, -4 )
|
|
transform = Transform( 0.6, 0, 0, 0, 0.6, 0, 0, 0, 0.6, -3, -0.2, -4 )
|
|
|
|
|
|
[node name="PillarBottom" type="MeshInstance" parent="Pillar1"]
|
|
[node name="PillarBottom" type="MeshInstance" parent="Pillar1"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0 )
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0 )
|
|
-mesh = SubResource( 4 )
|
|
|
|
-material/0 = SubResource( 5 )
|
|
|
|
|
|
+mesh = SubResource( 3 )
|
|
|
|
+material/0 = SubResource( 4 )
|
|
|
|
|
|
[node name="PillarTop" type="MeshInstance" parent="Pillar1"]
|
|
[node name="PillarTop" type="MeshInstance" parent="Pillar1"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.5, 0 )
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.5, 0 )
|
|
-mesh = SubResource( 4 )
|
|
|
|
-material/0 = SubResource( 5 )
|
|
|
|
|
|
+mesh = SubResource( 3 )
|
|
|
|
+material/0 = SubResource( 4 )
|
|
|
|
|
|
[node name="PillarMiddle" type="MeshInstance" parent="Pillar1"]
|
|
[node name="PillarMiddle" type="MeshInstance" parent="Pillar1"]
|
|
transform = Transform( 0.7, 0, 0, 0, 2, 0, 0, 0, 0.7, 0, 2.5, 0 )
|
|
transform = Transform( 0.7, 0, 0, 0, 2, 0, 0, 0, 0.7, 0, 2.5, 0 )
|
|
-mesh = SubResource( 4 )
|
|
|
|
-material/0 = SubResource( 5 )
|
|
|
|
|
|
+mesh = SubResource( 3 )
|
|
|
|
+material/0 = SubResource( 4 )
|
|
|
|
|
|
[node name="Pillar2" type="Spatial" parent="."]
|
|
[node name="Pillar2" type="Spatial" parent="."]
|
|
transform = Transform( 0.6, 0, 0, 0, 0.6, 0, 0, 0, 0.6, 3, -0.2, -4 )
|
|
transform = Transform( 0.6, 0, 0, 0, 0.6, 0, 0, 0, 0.6, 3, -0.2, -4 )
|
|
|
|
|
|
[node name="PillarBottom" type="MeshInstance" parent="Pillar2"]
|
|
[node name="PillarBottom" type="MeshInstance" parent="Pillar2"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0 )
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.5, 0 )
|
|
-mesh = SubResource( 4 )
|
|
|
|
-material/0 = SubResource( 5 )
|
|
|
|
|
|
+mesh = SubResource( 3 )
|
|
|
|
+material/0 = SubResource( 4 )
|
|
|
|
|
|
[node name="PillarTop" type="MeshInstance" parent="Pillar2"]
|
|
[node name="PillarTop" type="MeshInstance" parent="Pillar2"]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.5, 0 )
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 5.5, 0 )
|
|
-mesh = SubResource( 4 )
|
|
|
|
-material/0 = SubResource( 5 )
|
|
|
|
|
|
+mesh = SubResource( 3 )
|
|
|
|
+material/0 = SubResource( 4 )
|
|
|
|
|
|
[node name="PillarMiddle" type="MeshInstance" parent="Pillar2"]
|
|
[node name="PillarMiddle" type="MeshInstance" parent="Pillar2"]
|
|
transform = Transform( 0.7, 0, 0, 0, 2, 0, 0, 0, 0.7, 0, 2.5, 0 )
|
|
transform = Transform( 0.7, 0, 0, 0, 2, 0, 0, 0, 0.7, 0, 2.5, 0 )
|
|
-mesh = SubResource( 4 )
|
|
|
|
-material/0 = SubResource( 5 )
|
|
|
|
|
|
+mesh = SubResource( 3 )
|
|
|
|
+material/0 = SubResource( 4 )
|
|
|
|
|
|
[node name="PillarBack" type="MeshInstance" parent="."]
|
|
[node name="PillarBack" type="MeshInstance" parent="."]
|
|
transform = Transform( 4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 1.2, -4.5 )
|
|
transform = Transform( 4, 0, 0, 0, 4, 0, 0, 0, 4, 0, 1.2, -4.5 )
|
|
-mesh = SubResource( 7 )
|
|
|
|
-material/0 = SubResource( 5 )
|
|
|
|
|
|
+mesh = SubResource( 5 )
|
|
|
|
+material/0 = SubResource( 4 )
|
|
|
|
|
|
[node name="DirectionalLight" type="DirectionalLight" parent="."]
|
|
[node name="DirectionalLight" type="DirectionalLight" parent="."]
|
|
transform = Transform( 0.623013, -0.733525, 0.271654, 0.321394, 0.55667, 0.766044, -0.713134, -0.389948, 0.582563, 0, 10, 0 )
|
|
transform = Transform( 0.623013, -0.733525, 0.271654, 0.321394, 0.55667, 0.766044, -0.713134, -0.389948, 0.582563, 0, 10, 0 )
|
|
@@ -101,7 +85,7 @@ directional_shadow_normal_bias = 0.2
|
|
|
|
|
|
[node name="ViewportQuad" type="MeshInstance" parent="."]
|
|
[node name="ViewportQuad" type="MeshInstance" parent="."]
|
|
transform = Transform( 2, 0, 0, 0, 0, -1.333, 0, 1, 0, 0, 1.2, -4.25 )
|
|
transform = Transform( 2, 0, 0, 0, 0, -1.333, 0, 1, 0, 0, 1.2, -4.25 )
|
|
-material_override = SubResource( 8 )
|
|
|
|
|
|
+material_override = SubResource( 6 )
|
|
mesh = SubResource( 1 )
|
|
mesh = SubResource( 1 )
|
|
material/0 = null
|
|
material/0 = null
|
|
|
|
|