TinyAdventure/scenes/game.tscn

80 lines
2.9 KiB
Plaintext

[gd_scene load_steps=12 format=3 uid="uid://cqie4cy0uy1t0"]
[ext_resource type="Script" path="res://systems/QuestSystem.gd" id="4_8oxap"]
[ext_resource type="PackedScene" uid="uid://dmagdl5pi6jdj" path="res://world/level.tscn" id="6_svjo8"]
[ext_resource type="Script" path="res://player.gd" id="13_2wo8v"]
[ext_resource type="PackedScene" uid="uid://dy8vjf760prhq" path="res://assets/characters/rogue.tscn" id="15_2476h"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_y65pc"]
[sub_resource type="Sky" id="Sky_tw7u4"]
sky_material = SubResource("ProceduralSkyMaterial_y65pc")
[sub_resource type="Environment" id="Environment_v85yo"]
background_mode = 2
sky = SubResource("Sky_tw7u4")
ambient_light_source = 3
ambient_light_color = Color(0.662452, 0.662452, 0.662452, 1)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_jd31k"]
albedo_color = Color(1, 1, 0.698039, 1)
[sub_resource type="CapsuleMesh" id="CapsuleMesh_dwrtd"]
material = SubResource("StandardMaterial3D_jd31k")
radius = 0.12
height = 0.6
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_7kfad"]
radius = 0.24158
height = 0.952333
[sub_resource type="SphereShape3D" id="SphereShape3D_wrkyq"]
radius = 0.194932
[node name="Game" type="Node3D"]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_v85yo")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.836133, 0.124138, 0.534295, -0.548527, 0.189226, 0.81444, 0, -0.974055, 0.226311, 5.06819, 4.51394, 0)
shadow_enabled = true
[node name="Level" parent="." instance=ExtResource("6_svjo8")]
[node name="Player" type="CharacterBody3D" parent="."]
unique_name_in_owner = true
script = ExtResource("13_2wo8v")
[node name="MeshInstance3D" type="MeshInstance3D" parent="Player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.3, 0)
visible = false
mesh = SubResource("CapsuleMesh_dwrtd")
[node name="CollisionShape3D" type="CollisionShape3D" parent="Player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.470516, 0)
shape = SubResource("CapsuleShape3D_7kfad")
[node name="Geometry" type="Node3D" parent="Player"]
unique_name_in_owner = true
transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, 0, 0, 0)
[node name="Rogue" parent="Player/Geometry" instance=ExtResource("15_2476h")]
[node name="ActionableDetector" type="Area3D" parent="Player"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.325311)
collision_layer = 0
collision_mask = 16
[node name="CollisionShape3D" type="CollisionShape3D" parent="Player/ActionableDetector"]
shape = SubResource("SphereShape3D_wrkyq")
[node name="Camera3D" type="Camera3D" parent="Player"]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 0.460138, 0.887848, 0, -0.887848, 0.460138, 0, 2.91421, 1.186)
current = true
[node name="QuestSystem" type="Node" parent="."]
script = ExtResource("4_8oxap")