Files
mobile-run-garbo-game/scenes/game_world.tscn5457349213.tmp
2025-07-05 13:32:33 +01:00

98 lines
3.9 KiB
Plaintext

[gd_scene load_steps=15 format=3 uid="uid://djviifpxqhes3"]
[ext_resource type="Script" uid="uid://b2tpu7b87ak68" path="res://scripts/game_engine.gd" id="1_6c6v5"]
[ext_resource type="Script" uid="uid://bgh5muwu1ysof" path="res://scripts/main_view.gd" id="1_wbbl4"]
[ext_resource type="Script" uid="uid://dvhpy5a48w6nl" path="res://scripts/ida_pack.gd" id="2_6c6v5"]
[ext_resource type="Script" uid="uid://cdm3pkabmplbr" path="res://scripts/spawned_gates.gd" id="3_pdbwf"]
[ext_resource type="PackedScene" uid="uid://bewcftupk7t2k" path="res://Objects/player.tscn" id="5_6c6v5"]
[ext_resource type="Script" uid="uid://dm3rne2akywg7" path="res://scripts/control_box.gd" id="5_u1jpj"]
[sub_resource type="Gradient" id="Gradient_uh34q"]
offsets = PackedFloat32Array(0, 0.373016, 1)
colors = PackedColorArray(0.214323, 0.221763, 0.217545, 1, 0.755707, 0.759293, 0.757257, 1, 1, 1, 1, 1)
[sub_resource type="FastNoiseLite" id="FastNoiseLite_ph1f2"]
noise_type = 3
frequency = 0.092
offset = Vector3(0, -42.55, 0)
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_odt01"]
height = 1024
generate_mipmaps = false
seamless_blend_skirt = 0.0
normalize = false
color_ramp = SubResource("Gradient_uh34q")
noise = SubResource("FastNoiseLite_ph1f2")
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6ll7h"]
resource_local_to_scene = true
albedo_color = Color(0.513233, 0.513233, 0.513233, 1)
albedo_texture = SubResource("NoiseTexture2D_odt01")
uv1_scale = Vector3(1, 10, 10)
[sub_resource type="BoxMesh" id="BoxMesh_bvgre"]
lightmap_size_hint = Vector2i(1554, 1516)
material = SubResource("StandardMaterial3D_6ll7h")
size = Vector3(10, 1, 300)
subdivide_width = 512
subdivide_height = 512
[sub_resource type="BoxShape3D" id="BoxShape3D_ea1x0"]
size = Vector3(10, 1, 300)
[sub_resource type="PlaceholderMesh" id="PlaceholderMesh_dlaip"]
[sub_resource type="BoxMesh" id="BoxMesh_e3xe6"]
[node name="GameWorld" type="Node3D"]
script = ExtResource("1_6c6v5")
[node name="mainView" type="Camera3D" parent="."]
transform = Transform3D(-1, 4.37114e-08, -7.57104e-08, -6.27181e-09, 0.827923, 0.560842, 8.71975e-08, 0.560842, -0.827923, 0, 7.4595, -2.14384)
current = true
fov = 68.9808
script = ExtResource("1_wbbl4")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="mainView"]
[node name="GroundPlane" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 130.027)
mesh = SubResource("BoxMesh_bvgre")
[node name="StaticBody3D" type="StaticBody3D" parent="GroundPlane"]
[node name="CollisionShape3D" type="CollisionShape3D" parent="GroundPlane/StaticBody3D"]
shape = SubResource("BoxShape3D_ea1x0")
[node name="GamePlane" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
[node name="SpawnedGates" type="Node3D" parent="GamePlane" node_paths=PackedStringArray("leftSpawnPoint", "rightSpawnPoint", "ground")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 200)
script = ExtResource("3_pdbwf")
leftSpawnPoint = NodePath("../LeftSpawnPoint")
rightSpawnPoint = NodePath("../RightSpawnPoint")
ground = NodePath("../../GroundPlane")
[node name="LeftSpawnPoint" type="MeshInstance3D" parent="GamePlane"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.5, 0, 200)
mesh = SubResource("PlaceholderMesh_dlaip")
[node name="RightSpawnPoint" type="MeshInstance3D" parent="GamePlane"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.5, 0, 200)
mesh = SubResource("PlaceholderMesh_dlaip")
[node name="PlayerPlane" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.1, 2.35106)
[node name="idaPack" type="Node3D" parent="PlayerPlane"]
script = ExtResource("2_6c6v5")
[node name="Player" parent="PlayerPlane/idaPack" instance=ExtResource("5_6c6v5")]
[node name="controlBox" type="MeshInstance3D" parent="PlayerPlane"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 6)
mesh = SubResource("BoxMesh_e3xe6")
skeleton = NodePath("../idaPack")
script = ExtResource("5_u1jpj")