cawez_puzzlebox/player/player_node_purple.tscn
2024-06-27 10:59:57 -04:00

100 lines
3.2 KiB
Plaintext

[gd_scene load_steps=12 format=3 uid="uid://bye3fco1aohci"]
[ext_resource type="Script" path="res://player/player_moves.gd" id="1_nbhsb"]
[ext_resource type="PackedScene" uid="uid://vd1e7ah8aitu" path="res://player/player_model_purple.blend" id="2_uqmql"]
[ext_resource type="Script" path="res://player/seek_level.gd" id="3_uaf6a"]
[ext_resource type="Texture2D" uid="uid://dwv866wxa0nqa" path="res://primitives/icons/hitbox3.png" id="4_qnlaf"]
[ext_resource type="Script" path="res://ui/scale_ui.gd" id="5_l0t34"]
[ext_resource type="Script" path="res://player/fractal_indicator.gd" id="6_pikh0"]
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_s88nq"]
friction = 7.0
rough = true
[sub_resource type="SphereShape3D" id="SphereShape3D_qx3du"]
radius = 1.0
[sub_resource type="GDScript" id="GDScript_pbl37"]
script/source = "extends Node3D
"
[sub_resource type="Gradient" id="Gradient_7vpin"]
colors = PackedColorArray(0.756863, 0.619608, 0.756863, 1, 0.905882, 0.254902, 1, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_0w018"]
gradient = SubResource("Gradient_7vpin")
[node name="player" type="RigidBody3D"]
collision_layer = 5
physics_material_override = SubResource("PhysicsMaterial_s88nq")
gravity_scale = 0.0
linear_damp = 0.3
angular_damp = 6.0
script = ExtResource("1_nbhsb")
[node name="collider" type="CollisionShape3D" parent="."]
shape = SubResource("SphereShape3D_qx3du")
[node name="player_model" parent="." instance=ExtResource("2_uqmql")]
[node name="grounded" type="RayCast3D" parent="."]
top_level = true
target_position = Vector3(0, -1.01, 0)
[node name="grounded_override" type="RayCast3D" parent="."]
top_level = true
target_position = Vector3(0, -2, 0)
collision_mask = 32
[node name="level" type="Node3D" parent="."]
top_level = true
script = ExtResource("3_uaf6a")
[node name="gimbal_y" type="Node3D" parent="level"]
transform = Transform3D(-1, 8.74228e-08, 0, -8.74228e-08, -1, 0, 0, 0, 1, 0, 0, 0)
script = SubResource("GDScript_pbl37")
[node name="gimbal_x" type="Node3D" parent="level/gimbal_y"]
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, -1, 0, 1, -4.37114e-08, 0, 0, 0)
[node name="stick" type="Node3D" parent="level/gimbal_y/gimbal_x"]
[node name="camera" type="Camera3D" parent="level/gimbal_y/gimbal_x/stick"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 14.3224)
fov = 1.0
[node name="Sprite3D" type="Sprite3D" parent="level/gimbal_y/gimbal_x/stick/camera"]
transform = Transform3D(0.001, 0, 0, 0, 0.001, 0, 0, 0, 0.001, 0, 0, -0.306273)
texture = ExtResource("4_qnlaf")
[node name="true_level" type="Node3D" parent="level"]
top_level = true
[node name="CanvasLayer" type="CanvasLayer" parent="."]
script = ExtResource("5_l0t34")
[node name="Control" type="Control" parent="CanvasLayer"]
layout_mode = 3
anchors_preset = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="TextureRect" type="TextureRect" parent="CanvasLayer/Control"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -20.0
offset_right = 1260.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(1, 0.28)
texture = SubResource("GradientTexture1D_0w018")
script = ExtResource("6_pikh0")