[gd_scene load_steps=17 format=3 uid="uid://cj7k48mei62om"] [ext_resource type="Texture2D" uid="uid://dj20ug78dpiv7" path="res://assets/fx/questionmark.png" id="1_yklwq"] [ext_resource type="Script" path="res://src/viewport.gd" id="2_hqn5a"] [ext_resource type="SpineAtlasResource" uid="uid://cihrnyj2oc1ri" path="res://assets/characters/megumi/spine.atlas" id="3_y5njy"] [ext_resource type="SpineSkeletonFileResource" uid="uid://dt8npmbm4bckf" path="res://assets/characters/megumi/spine.skel" id="4_icsgk"] [ext_resource type="Script" path="res://src/spine_sprite.gd" id="5_g61qc"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_s0iww"] transparency = 1 shading_mode = 0 diffuse_mode = 3 specular_mode = 2 albedo_texture = ExtResource("1_yklwq") billboard_mode = 3 particles_anim_h_frames = 1 particles_anim_v_frames = 1 particles_anim_loop = false [sub_resource type="QuadMesh" id="QuadMesh_uqum3"] material = SubResource("StandardMaterial3D_s0iww") size = Vector2(0.1, 0.1) [sub_resource type="Curve" id="Curve_px5jj"] min_value = -200.0 max_value = 200.0 _data = [Vector2(0, 149.721), 0.0, 0.0, 0, 0, Vector2(0.519757, 25.9576), -848.296, -848.296, 0, 0, Vector2(0.966565, -105.541), 0.0, 0.0, 0, 0] point_count = 3 [sub_resource type="Curve" id="Curve_l10dy"] max_value = 200.0 _data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.56535, 83.9717), 420.727, 420.727, 0, 0, Vector2(0.729483, 200), 0.0, 0.0, 0, 0] point_count = 3 [sub_resource type="ViewportTexture" id="ViewportTexture_rdjkf"] viewport_path = NodePath("MeshInstance3D/SubViewport") [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_a31vv"] transparency = 1 blend_mode = 4 no_depth_test = true shading_mode = 0 diffuse_mode = 3 specular_mode = 1 albedo_texture = SubResource("ViewportTexture_rdjkf") texture_filter = 0 texture_repeat = false billboard_mode = 1 [sub_resource type="QuadMesh" id="QuadMesh_iwcmf"] size = Vector2(2, 2) [sub_resource type="SpineSkeletonDataResource" id="SpineSkeletonDataResource_3qxbc"] atlas_res = ExtResource("3_y5njy") skeleton_file_res = ExtResource("4_icsgk") [sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_232ej"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_wn1m5"] [sub_resource type="CylinderShape3D" id="CylinderShape3D_cbp6h"] [node name="NPC_Megumi" 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="CPUParticles3D" type="CPUParticles3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0637626, 0.611801, 0) visible = false cast_shadow = 0 gi_mode = 0 amount = 1 lifetime = 2.0 preprocess = 3.0 explosiveness = 0.5 mesh = SubResource("QuadMesh_uqum3") direction = Vector3(1, 1, 0) spread = 90.0 flatness = 1.0 gravity = Vector3(0, 0.1, 0) linear_accel_curve = SubResource("Curve_px5jj") anim_speed_max = 60.44 anim_speed_curve = SubResource("Curve_l10dy") [node name="MeshInstance3D" type="MeshInstance3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.1, 0) layers = 1023 material_override = SubResource("StandardMaterial3D_a31vv") cast_shadow = 0 gi_mode = 2 mesh = SubResource("QuadMesh_iwcmf") script = ExtResource("2_hqn5a") [node name="SubViewport" type="SubViewport" parent="MeshInstance3D"] transparent_bg = true positional_shadow_atlas_quad_0 = 0 canvas_cull_mask = 4294966273 size = Vector2i(3000, 3000) [node name="SpineSprite" type="SpineSprite" parent="MeshInstance3D/SubViewport"] light_mask = 0 visibility_layer = 3 position = Vector2(940, -20) skeleton_data_res = SubResource("SpineSkeletonDataResource_3qxbc") normal_material = SubResource("CanvasItemMaterial_232ej") preview_skin = "default" preview_animation = "animation" preview_frame = false preview_time = 0.733333 script = ExtResource("5_g61qc") [node name="CollisionShape3D" type="CollisionShape3D" parent="."] transform = Transform3D(0.3, 0, 0, 0, 0.3, 0, 0, 0, 0.3, 0, 0, 0) shape = SubResource("CylinderShape3D_wn1m5") [node name="Area3D" type="Area3D" parent="." groups=["Player"]] [node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"] shape = SubResource("CylinderShape3D_cbp6h")