113 lines
4.5 KiB
Plaintext
113 lines
4.5 KiB
Plaintext
[gd_scene load_steps=18 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"]
|
|
[ext_resource type="Script" uid="uid://du6em4hsmk4st" path="res://Objects/player_prime.gd" id="6_bhwwd"]
|
|
[ext_resource type="Script" uid="uid://kkxuvlkbotmx" path="res://scenes/ground_scroll.gd" id="8_pdbwf"]
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_6ll7h"]
|
|
resource_local_to_scene = true
|
|
albedo_color = Color(0.513233, 0.513233, 0.513233, 1)
|
|
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"]
|
|
|
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_bhwwd"]
|
|
|
|
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_pdbwf"]
|
|
width = 3048
|
|
height = 3048
|
|
in_3d_space = true
|
|
generate_mipmaps = false
|
|
seamless = true
|
|
normalize = false
|
|
noise = SubResource("FastNoiseLite_bhwwd")
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_u1jpj"]
|
|
albedo_color = Color(0.413112, 0.278715, 0.129439, 1)
|
|
albedo_texture = SubResource("NoiseTexture2D_pdbwf")
|
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_bhwwd"]
|
|
material = SubResource("StandardMaterial3D_u1jpj")
|
|
radial_segments = 128
|
|
rings = 1
|
|
cap_top = false
|
|
cap_bottom = false
|
|
|
|
[node name="GameWorld" type="Node3D"]
|
|
script = ExtResource("1_6c6v5")
|
|
|
|
[node name="mainView" type="Camera3D" parent="."]
|
|
transform = Transform3D(-1, 4.37115e-08, -7.57103e-08, -1.64863e-08, 0.756196, 0.654346, 8.58542e-08, 0.654346, -0.756196, 0, 7.4595, -1.28195)
|
|
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, 68.9355)
|
|
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, 68.9355)
|
|
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, 68.9355)
|
|
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")]
|
|
script = ExtResource("6_bhwwd")
|
|
|
|
[node name="controlBox" type="MeshInstance3D" parent="PlayerPlane"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 6)
|
|
visible = false
|
|
mesh = SubResource("BoxMesh_e3xe6")
|
|
skeleton = NodePath("../idaPack")
|
|
script = ExtResource("5_u1jpj")
|
|
|
|
[node name="groundScroll" type="MeshInstance3D" parent="."]
|
|
transform = Transform3D(-1.31134e-05, -300, 0, 300, -1.31134e-05, 0, 0, 0, 300, 0, -150.051, 99.7523)
|
|
mesh = SubResource("CylinderMesh_bhwwd")
|
|
skeleton = NodePath("../GroundPlane")
|
|
script = ExtResource("8_pdbwf")
|
|
rotationSpeed = 0.4
|