TestGame/assets/characters/coco/npc_coco.tscn

66 lines
2.3 KiB
Plaintext
Raw Normal View History

2025-01-02 12:09:30 +01:00
[gd_scene load_steps=10 format=3 uid="uid://b2maarsg7u3po"]
2024-12-27 21:00:07 +01:00
2025-01-02 12:09:30 +01:00
[ext_resource type="Script" path="res://src/viewport.gd" id="1_7jjp2"]
[ext_resource type="SpineSkeletonDataResource" uid="uid://dn5wtcrr40ahd" path="res://assets/characters/coco/coco.tres" id="2_8ur8k"]
[ext_resource type="Script" path="res://src/spine_sprite.gd" id="3_m02kv"]
2024-12-27 21:00:07 +01:00
2025-01-04 23:07:42 +01:00
[sub_resource type="ViewportTexture" id="ViewportTexture_usswm"]
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-04 23:07:42 +01:00
albedo_texture = SubResource("ViewportTexture_usswm")
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"]
[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
[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("1_7jjp2")
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"]
2024-12-28 01:58:19 +01:00
position = Vector2(512, 887)
2024-12-27 21:00:07 +01:00
scale = Vector2(0.5, 0.5)
2025-01-02 12:09:30 +01:00
skeleton_data_res = ExtResource("2_8ur8k")
2024-12-27 21:00:07 +01:00
preview_skin = "default"
preview_animation = "animation"
preview_frame = true
preview_time = 0.0
2025-01-02 12:09:30 +01:00
script = ExtResource("3_m02kv")
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")