2025-01-02 12:09:30 +01:00
|
|
|
[gd_scene load_steps=13 format=3 uid="uid://boywgcl7f5ci6"]
|
2024-12-27 21:00:07 +01:00
|
|
|
|
2025-01-02 12:09:30 +01:00
|
|
|
[ext_resource type="Script" path="res://assets/characters/player.gd" id="1_bvkmh"]
|
|
|
|
|
[ext_resource type="Script" path="res://src/viewport.gd" id="3_d52t1"]
|
|
|
|
|
[ext_resource type="SpineAtlasResource" uid="uid://blgw2st7akt4s" path="res://assets/characters/coco/spine.atlas" id="4_u28hi"]
|
|
|
|
|
[ext_resource type="SpineSkeletonFileResource" uid="uid://drnpfi1niq3od" path="res://assets/characters/coco/spine.skel" id="5_enjjr"]
|
|
|
|
|
[ext_resource type="Script" path="res://src/spine_sprite.gd" id="5_migwh"]
|
2024-12-27 21:00:07 +01:00
|
|
|
|
2025-01-02 14:05:21 +01:00
|
|
|
[sub_resource type="ViewportTexture" id="ViewportTexture_xyxp2"]
|
2024-12-27 21:00:07 +01:00
|
|
|
viewport_path = NodePath("MeshInstance3D/SubViewport")
|
|
|
|
|
|
2024-12-29 03:07:59 +01:00
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_5xxpu"]
|
|
|
|
|
|
2024-12-27 21:00:07 +01:00
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a31vv"]
|
2024-12-29 03:07:59 +01:00
|
|
|
next_pass = SubResource("ShaderMaterial_5xxpu")
|
2024-12-27 21:00:07 +01:00
|
|
|
transparency = 1
|
2025-01-02 12:09:30 +01:00
|
|
|
shading_mode = 0
|
2024-12-29 03:07:59 +01:00
|
|
|
diffuse_mode = 3
|
2024-12-31 05:46:18 +01:00
|
|
|
specular_mode = 1
|
2025-01-02 14:05:21 +01:00
|
|
|
albedo_texture = SubResource("ViewportTexture_xyxp2")
|
2024-12-31 05:46:18 +01:00
|
|
|
billboard_mode = 1
|
2024-12-27 21:00:07 +01:00
|
|
|
|
|
|
|
|
[sub_resource type="QuadMesh" id="QuadMesh_iwcmf"]
|
|
|
|
|
|
2025-01-02 12:09:30 +01:00
|
|
|
[sub_resource type="SpineSkeletonDataResource" id="SpineSkeletonDataResource_16wh3"]
|
|
|
|
|
atlas_res = ExtResource("4_u28hi")
|
|
|
|
|
skeleton_file_res = ExtResource("5_enjjr")
|
|
|
|
|
|
2024-12-27 21:00:07 +01:00
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_wn1m5"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_cbp6h"]
|
|
|
|
|
|
|
|
|
|
[node name="Player" type="CharacterBody3D"]
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.48192, 0)
|
|
|
|
|
axis_lock_angular_x = true
|
|
|
|
|
axis_lock_angular_y = true
|
|
|
|
|
axis_lock_angular_z = true
|
2025-01-02 12:09:30 +01:00
|
|
|
script = ExtResource("1_bvkmh")
|
2024-12-27 21:00:07 +01:00
|
|
|
|
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
2025-01-02 12:09:30 +01:00
|
|
|
transform = Transform3D(0.999987, -0.00490892, -0.00171441, 0.00514322, 0.982274, 0.187382, 0.000764184, -0.187388, 0.982286, 0.116849, 1.63592, 5.342)
|
|
|
|
|
top_level = true
|
2024-12-27 21:00:07 +01:00
|
|
|
current = true
|
2024-12-28 01:58:19 +01:00
|
|
|
fov = 19.0
|
2024-12-29 03:07:59 +01:00
|
|
|
size = 1.5
|
2024-12-28 01:58:19 +01:00
|
|
|
far = 1000.0
|
2024-12-27 21:00:07 +01:00
|
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
2024-12-29 03:07:59 +01:00
|
|
|
layers = 2
|
2024-12-27 21:00:07 +01:00
|
|
|
material_override = SubResource("StandardMaterial3D_a31vv")
|
|
|
|
|
cast_shadow = 0
|
|
|
|
|
mesh = SubResource("QuadMesh_iwcmf")
|
2025-01-02 12:09:30 +01:00
|
|
|
script = ExtResource("3_d52t1")
|
2024-12-27 21:00:07 +01:00
|
|
|
|
|
|
|
|
[node name="SubViewport" type="SubViewport" parent="MeshInstance3D"]
|
|
|
|
|
transparent_bg = true
|
|
|
|
|
handle_input_locally = false
|
|
|
|
|
canvas_cull_mask = 4294966273
|
|
|
|
|
size = Vector2i(1024, 1024)
|
|
|
|
|
size_2d_override_stretch = true
|
|
|
|
|
|
|
|
|
|
[node name="SpineSprite" type="SpineSprite" parent="MeshInstance3D/SubViewport"]
|
2025-01-02 12:09:30 +01:00
|
|
|
position = Vector2(512, 466)
|
|
|
|
|
scale = Vector2(0.35, 0.35)
|
|
|
|
|
skeleton_data_res = SubResource("SpineSkeletonDataResource_16wh3")
|
2024-12-27 21:00:07 +01:00
|
|
|
preview_skin = "default"
|
|
|
|
|
preview_animation = "animation"
|
|
|
|
|
preview_frame = true
|
2025-01-02 12:09:30 +01:00
|
|
|
preview_time = 0.79
|
|
|
|
|
script = ExtResource("5_migwh")
|
|
|
|
|
time_scale = 2.5
|
2024-12-27 21:00:07 +01:00
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
|
|
|
transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, 0, 0, 0)
|
|
|
|
|
shape = SubResource("CylinderShape3D_wn1m5")
|
|
|
|
|
|
|
|
|
|
[node name="Area3D" type="Area3D" parent="." groups=["Player"]]
|
|
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
2024-12-31 05:19:57 +01:00
|
|
|
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
|
2024-12-27 21:00:07 +01:00
|
|
|
shape = SubResource("CylinderShape3D_cbp6h")
|