Files
factory-game/scenes/levels/Playground.tscn
2026-03-01 08:32:24 +03:00

110 lines
4.7 KiB
Plaintext

[gd_scene format=3 uid="uid://d3wq6hfxq4rd6"]
[ext_resource type="Texture2D" uid="uid://bq6kfyf88kofe" path="res://assets/textures/debug/64.png" id="1_pwpi7"]
[ext_resource type="PackedScene" uid="uid://f2oncv0p7qxy" path="res://scenes/entities/Player.tscn" id="2_x5x4g"]
[ext_resource type="PackedScene" uid="uid://b58fh1sxljslo" path="res://scenes/objects/Cube.tscn" id="3_17ysi"]
[ext_resource type="Texture2D" uid="uid://cl65sdce7cjce" path="res://assets/textures/debug/32.png" id="5_qlr2e"]
[sub_resource type="BoxShape3D" id="BoxShape3D_x5x4g"]
size = Vector3(100, 0, 100)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_pwpi7"]
albedo_texture = ExtResource("1_pwpi7")
uv1_triplanar = true
texture_filter = 0
[sub_resource type="PlaneMesh" id="PlaneMesh_x5x4g"]
size = Vector2(100, 100)
[sub_resource type="BoxShape3D" id="BoxShape3D_3tfcg"]
size = Vector3(1, 1, 0.5)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1soqn"]
albedo_texture = ExtResource("5_qlr2e")
uv1_triplanar = true
texture_filter = 0
[sub_resource type="SphereMesh" id="SphereMesh_p6fnf"]
radius = 2.0
height = 4.0
[sub_resource type="SphereShape3D" id="SphereShape3D_4kj4k"]
radius = 2.0
[sub_resource type="SphereShape3D" id="SphereShape3D_17ysi"]
radius = 6.0
[node name="Playground" type="Node3D" unique_id=17957055]
[node name="StaticBody3D" type="StaticBody3D" parent="." unique_id=1480957267]
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D" unique_id=1646882894]
shape = SubResource("BoxShape3D_x5x4g")
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D" unique_id=809606401]
material_override = SubResource("StandardMaterial3D_pwpi7")
mesh = SubResource("PlaneMesh_x5x4g")
[node name="Player" parent="." unique_id=654871017 instance=ExtResource("2_x5x4g")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=672101208]
transform = Transform3D(0.70710677, -0.49999994, 0.49999994, 0, 0.7071067, 0.7071067, -0.70710677, -0.49999994, 0.49999994, 0, 10, 0)
light_energy = 2.0
shadow_enabled = true
[node name="Cube" parent="." unique_id=719944821 instance=ExtResource("3_17ysi")]
transform = Transform3D(3, 0, 0, 0, 3, 0, 0, 0, 3, -3, 3, 0)
[node name="Cube2" parent="." unique_id=1962198599 instance=ExtResource("3_17ysi")]
transform = Transform3D(2.598076, 1.5, 0, -1.5, 2.598076, 0, 0, 0, 3, 2, 3, 0)
[node name="Cube3" parent="." unique_id=1118073292 instance=ExtResource("3_17ysi")]
transform = Transform3D(10, 0, 0, 0, 10, 0, 0, 0, 1, 0, 5, -6)
[node name="Area3D" type="Area3D" parent="Cube3" unique_id=1790961879]
transform = Transform3D(0.99999994, 0, 0, 0, 0.99999994, 0, 0, 0, 1, 0, 0, 1)
gravity_space_override = 3
gravity_point_center = Vector3(0, 0, -1)
gravity_direction = Vector3(0, 0, -1)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cube3/Area3D" unique_id=915921693]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.25)
shape = SubResource("BoxShape3D_3tfcg")
[node name="Cube4" parent="." unique_id=1726519300 instance=ExtResource("3_17ysi")]
transform = Transform3D(8.693331, 2.3293712, 0, -2.3293712, 8.693331, 0, 0, 0, 9, 11.696152, -2.2057714, 9)
[node name="StaticBody3D2" type="StaticBody3D" parent="." unique_id=1146809951]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 8, 0)
[node name="MeshInstance3D" type="MeshInstance3D" parent="StaticBody3D2" unique_id=2073891869]
material_override = SubResource("StandardMaterial3D_1soqn")
mesh = SubResource("SphereMesh_p6fnf")
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D2" unique_id=2114568472]
shape = SubResource("SphereShape3D_4kj4k")
[node name="Area3D" type="Area3D" parent="StaticBody3D2" unique_id=2012831209]
gravity_space_override = 3
gravity_point = true
gravity_point_center = Vector3(0, 0, 0)
gravity_direction = Vector3(0, 0, 0)
gravity = 4.9
[node name="CollisionShape3D" type="CollisionShape3D" parent="StaticBody3D2/Area3D" unique_id=1081208726]
shape = SubResource("SphereShape3D_17ysi")
[node name="Cube5" parent="." unique_id=1676247518 instance=ExtResource("3_17ysi")]
transform = Transform3D(-4.3711384e-07, 0, 0.99999994, 0, 9.999999, 0, -10, 0, -4.371139e-08, -5, 5, -1)
[node name="Area3D" type="Area3D" parent="Cube5" unique_id=1308065252]
transform = Transform3D(0.99999994, 0, 0, 0, 0.99999994, 0, 0, 0, 1, 0, 0, 1)
gravity_space_override = 3
gravity_point_center = Vector3(-1, 0, 0)
gravity_direction = Vector3(-1, 0, 0)
[node name="CollisionShape3D" type="CollisionShape3D" parent="Cube5/Area3D" unique_id=927684454]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.25)
shape = SubResource("BoxShape3D_3tfcg")