REM/scenes/levels/cruel_calculus.tscn
2026-03-26 20:37:29 -06:00

170 lines
6.3 KiB
Plaintext

[gd_scene load_steps=19 format=3 uid="uid://cpfo8atfe731v"]
[ext_resource type="Script" uid="uid://cvv7oseudq14x" path="res://scripts/levels/cruel_calculus.gd" id="1_4pmv6"]
[ext_resource type="PackedScene" uid="uid://ser0oa3o1n56" path="res://scenes/player/Player.tscn" id="1_b6uyy"]
[ext_resource type="Shader" uid="uid://x34r6y5jmh1a" path="res://shaders/glitch_material.gdshader" id="1_wlkp0"]
[ext_resource type="Texture2D" uid="uid://pj866ifft1x5" path="res://assets/textures/sample_code.png" id="4_2wapi"]
[ext_resource type="PackedScene" uid="uid://bh0m8jrngk1sv" path="res://scenes/warp_area.tscn" id="6_s7tex"]
[ext_resource type="Texture2D" uid="uid://dnujqpqdxqltf" path="res://assets/textures/wood/WoodFloor008/WoodFloor008_1K-PNG_Color.png" id="7_2cop1"]
[ext_resource type="Script" uid="uid://bg6aimgk1ttjr" path="res://scripts/curve_generator.gd" id="7_7m3yd"]
[ext_resource type="Script" uid="uid://vmbr6bsgtvbp" path="res://scripts/curvetroller.gd" id="8_2cop1"]
[sub_resource type="Environment" id="Environment_b6uyy"]
background_mode = 1
background_color = Color(0.907942, 0.907942, 0.907942, 1)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_gx17s"]
transparency = 1
albedo_color = Color(0.298039, 1, 0.294118, 0.588235)
[sub_resource type="BoxMesh" id="BoxMesh_7m3yd"]
material = SubResource("StandardMaterial3D_gx17s")
size = Vector3(3, 4, 1)
[sub_resource type="BoxShape3D" id="BoxShape3D_2cop1"]
size = Vector3(3, 4, 1)
[sub_resource type="ShaderMaterial" id="ShaderMaterial_2wapi"]
render_priority = 0
shader = ExtResource("1_wlkp0")
shader_parameter/transparency = 1.0
shader_parameter/shake_power = 0.2
shader_parameter/shake_rate = 0.209
shader_parameter/shake_speed = 5.0
shader_parameter/shake_block_size = 30.5
shader_parameter/shake_color_rate = 0.5
shader_parameter/main_tex = ExtResource("4_2wapi")
[sub_resource type="PlaneMesh" id="PlaneMesh_s7tex"]
material = SubResource("ShaderMaterial_2wapi")
size = Vector2(8, 5)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_7m3yd"]
albedo_color = Color(0.576471, 1, 0.376471, 1)
[sub_resource type="Curve3D" id="Curve3D_s7tex"]
bake_interval = 0.1
[sub_resource type="Curve3D" id="Curve3D_7m3yd"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_s7tex"]
albedo_texture = ExtResource("7_2cop1")
uv1_triplanar = true
uv1_world_triplanar = true
[node name="CruelCalculus" type="Node"]
script = ExtResource("1_4pmv6")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_b6uyy")
[node name="Player" parent="." instance=ExtResource("1_b6uyy")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17.3916, 0.776252, 18.2306)
[node name="WarpSpawnPoints" type="Node3D" parent="."]
[node name="ToHauntedHouse" parent="WarpSpawnPoints" instance=ExtResource("6_s7tex")]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 7.73687, 2.14721, 4.66332)
monitorable = false
[node name="MeshInstance3D" type="MeshInstance3D" parent="WarpSpawnPoints/ToHauntedHouse"]
mesh = SubResource("BoxMesh_7m3yd")
[node name="CollisionShape3D" type="CollisionShape3D" parent="WarpSpawnPoints/ToHauntedHouse"]
shape = SubResource("BoxShape3D_2cop1")
[node name="Label3D" type="Label3D" parent="WarpSpawnPoints/ToHauntedHouse"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.36281, 0)
billboard = 2
text = "To Gag Haunted House"
font_size = 75
[node name="HauntedSpawn" type="Node3D" parent="WarpSpawnPoints/ToHauntedHouse"]
transform = Transform3D(-4.37722e-08, 0, 1, 0, 1, 0, -1, 0, -4.37722e-08, 0.280861, -0.86668, -2.85476)
[node name="Floor" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.288589, -0.286865, 4.4383)
use_collision = true
size = Vector3(16.953, 0.42627, 4.88678)
[node name="Floor2" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -37.9315, 7.65063, 4.4383)
use_collision = true
size = Vector3(16.953, 0.42627, 4.88678)
[node name="GlitchWall" type="MeshInstance3D" parent="."]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 2.24414, 0.396535)
mesh = SubResource("PlaneMesh_s7tex")
[node name="Curvetroller1" type="CSGBox3D" parent="." groups=["interactable"]]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -17.3911, 0.546084, 16.9607)
use_collision = true
size = Vector3(0.5, 1.14539, 0.5)
material = SubResource("StandardMaterial3D_7m3yd")
script = ExtResource("8_2cop1")
mode = 4
math_sign = -1
delta = 1.0
base = 1
[node name="InteractLabel" type="Label3D" parent="Curvetroller1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.717568, 0)
[node name="FunctionPath1" type="Path3D" parent="."]
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74228e-08, 0, -1, -8.8352, -0.240075, 4.72045)
curve = SubResource("Curve3D_s7tex")
script = ExtResource("7_7m3yd")
use_case = 1
slope = 0.5
start_point = 1
end_point = 20
func_type = 4
[node name="FunctionPolygon" type="CSGPolygon3D" parent="FunctionPath1"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.90735e-06, 0, -1.57132)
use_collision = true
polygon = PackedVector2Array(0, 0, 0, 0.1, 4, 0.1, 4, 0)
mode = 2
path_node = NodePath("..")
path_interval_type = 0
path_interval = 1.0
path_simplify_angle = 0.0
path_rotation = 2
path_rotation_accurate = false
path_local = true
path_continuous_u = true
path_u_distance = 1.0
path_joined = false
[node name="Stairs" type="Path3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.71637, -0.0702048, 7.67467)
curve = SubResource("Curve3D_7m3yd")
script = ExtResource("7_7m3yd")
use_case = 2
end_point = 10
[node name="CSGPolygon3D" type="CSGPolygon3D" parent="Stairs"]
use_collision = true
polygon = PackedVector2Array(0, 0, 0, 0.1, 8, 0.1, 8, 0)
mode = 2
path_node = NodePath("..")
path_interval_type = 0
path_interval = 1.0
path_simplify_angle = 0.0
path_rotation = 2
path_rotation_accurate = false
path_local = true
path_continuous_u = true
path_u_distance = 1.0
path_joined = false
material = SubResource("StandardMaterial3D_s7tex")
[node name="ButtonPath" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.04148, -0.286865, 14.4405)
use_collision = true
size = Vector3(3.67339, 0.42627, 15.1683)
[node name="CSGBox3D" type="CSGBox3D" parent="ButtonPath"]
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, -8.18214, 0, 4.55314)
size = Vector3(6.07075, 0.42627, 12.6733)