2024-08-18 20:06:11 +02:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://wjbuh7jk50nm"]
|
2024-08-18 17:31:52 +02:00
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/Player.cs" id="1_aff2a"]
|
2024-08-18 20:06:11 +02:00
|
|
|
[ext_resource type="PackedScene" uid="uid://ddcoq5j1kntji" path="res://scenes/grappling_hook.tscn" id="2_s04ug"]
|
2024-08-18 17:31:52 +02:00
|
|
|
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_rgktv"]
|
|
|
|
height = 1.9
|
|
|
|
radius = 0.3
|
|
|
|
|
|
|
|
[node name="Player" type="CharacterBody3D" node_paths=PackedStringArray("Eye")]
|
|
|
|
script = ExtResource("1_aff2a")
|
|
|
|
Eye = NodePath("PlayerEyeCamera")
|
2024-08-18 20:06:11 +02:00
|
|
|
GrapplingHookInstantiable = ExtResource("2_s04ug")
|
2024-08-18 17:31:52 +02:00
|
|
|
|
|
|
|
[node name="PlayerEyeCamera" type="Camera3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.7, 0)
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.95, 0)
|
|
|
|
shape = SubResource("CylinderShape3D_rgktv")
|
2024-08-18 20:06:11 +02:00
|
|
|
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="CenterContainer"]
|
|
|
|
custom_minimum_size = Vector2(16, 2)
|
|
|
|
layout_mode = 2
|
|
|
|
mouse_filter = 1
|
|
|
|
|
|
|
|
[node name="ColorRect2" type="ColorRect" parent="CenterContainer"]
|
|
|
|
custom_minimum_size = Vector2(2, 16)
|
|
|
|
layout_mode = 2
|
|
|
|
mouse_filter = 1
|