[gd_scene load_steps=25 format=3 uid="uid://8rcvw1vnjcf7"] [ext_resource type="Script" path="res://script/character/character.gd" id="1_tonbs"] [ext_resource type="Script" path="res://script/character/hitbox.gd" id="2_6xf87"] [ext_resource type="Script" path="res://script/character/status.gd" id="2_txdip"] [ext_resource type="Shader" path="res://render/shader/character.gdshader" id="3_ed424"] [ext_resource type="Script" path="res://script/character/move.gd" id="4_66r53"] [ext_resource type="Texture2D" uid="uid://daqn6aqfp1hva" path="res://resource/animation/character/hero01_long_attack.png" id="4_fcd8a"] [ext_resource type="Script" path="res://script/character/view.gd" id="4_vijjv"] [ext_resource type="Script" path="res://script/character/skill.gd" id="6_h4xqy"] [ext_resource type="AnimationLibrary" uid="uid://croik07a1qko5" path="res://resource/skill_animation_library/animation_library.tres" id="6_pakq5"] [ext_resource type="SpriteFrames" uid="uid://jpxh0jr8wp8g" path="res://resource/animation/character/hero01_basic.aseprite" id="6_whjpk"] [ext_resource type="Script" path="res://script/character/battle.gd" id="8_w84sf"] [ext_resource type="Script" path="res://script/character/buff.gd" id="9_jlnhy"] [ext_resource type="Script" path="res://script/character/effect.gd" id="12_eyfcd"] [ext_resource type="Script" path="res://script/character/core.gd" id="14_gua01"] [ext_resource type="SpriteFrames" uid="uid://2cb8lknel0ih" path="res://resource/animation/character/basic_move.aseprite" id="15_70jx1"] [ext_resource type="Script" path="res://script/character/throw.gd" id="16_ot265"] [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_l0gkv"] height = 1.0 [sub_resource type="Curve" id="Curve_v7nnw"] _data = [Vector2(0, 0.498516), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] point_count = 2 [sub_resource type="CylinderShape3D" id="CylinderShape3D_ehwx5"] height = 1.0 radius = 1.0 [sub_resource type="ShaderMaterial" id="ShaderMaterial_3u7mw"] render_priority = 0 shader = ExtResource("3_ed424") shader_parameter/flash_white = null shader_parameter/deformation_dir = Vector2(0, 0) shader_parameter/deformation_rate = 0.0 shader_parameter/tex = ExtResource("4_fcd8a") [sub_resource type="Curve" id="Curve_1lu0a"] _data = [Vector2(0, 0), 0.0, 0.0, 0, 1, Vector2(0.503856, 0), 0.0, 0.0, 0, 0, Vector2(1, 1), 2.01554, 0.0, 1, 0] point_count = 3 [sub_resource type="Animation" id="Animation_dbjx6"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Status:break_level") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [0] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("Status:is_speed_y_freeze") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 1, "values": [false] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_avnjy"] _data = { "RESET": SubResource("Animation_dbjx6") } [sub_resource type="Curve" id="Curve_e7j3f"] max_value = 6.0 _data = [Vector2(0, 6), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] point_count = 2 [node name="Character" type="CharacterBody3D"] collision_layer = 2 slide_on_ceiling = false floor_stop_on_slope = false floor_block_on_wall = false script = ExtResource("1_tonbs") [node name="Collision" type="CollisionShape3D" parent="."] unique_name_in_owner = true shape = SubResource("CapsuleShape3D_l0gkv") [node name="Pushbox" type="Area3D" parent="."] unique_name_in_owner = true collision_layer = 16 collision_mask = 16 script = ExtResource("2_6xf87") pushbox_curve = SubResource("Curve_v7nnw") [node name="CollisionShape3D" type="CollisionShape3D" parent="Pushbox"] shape = SubResource("CylinderShape3D_ehwx5") [node name="Status" type="Node3D" parent="."] unique_name_in_owner = true script = ExtResource("2_txdip") [node name="View" type="AnimatedSprite3D" parent="."] unique_name_in_owner = true transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.376646, 0) layers = 524288 material_override = SubResource("ShaderMaterial_3u7mw") lod_bias = 0.001 gi_mode = 0 pixel_size = 0.02 double_sided = false texture_filter = 0 sprite_frames = ExtResource("6_whjpk") animation = &"basic_air_flash" frame = 7 script = ExtResource("4_vijjv") [node name="Move" type="Node3D" parent="."] unique_name_in_owner = true script = ExtResource("4_66r53") after_image_speed_curve = SubResource("Curve_1lu0a") [node name="Skill" type="AnimationPlayer" parent="."] unique_name_in_owner = true libraries = { "": SubResource("AnimationLibrary_avnjy"), "animation_library": ExtResource("6_pakq5") } script = ExtResource("6_h4xqy") [node name="Buff" type="Node3D" parent="."] unique_name_in_owner = true script = ExtResource("9_jlnhy") [node name="Battle" type="Node3D" parent="."] unique_name_in_owner = true script = ExtResource("8_w84sf") hit_back_limit_curve = SubResource("Curve_e7j3f") [node name="Effect" type="Node3D" parent="."] unique_name_in_owner = true script = ExtResource("12_eyfcd") [node name="Core" type="Node3D" parent="."] unique_name_in_owner = true script = ExtResource("14_gua01") [node name="Throw" type="AnimatedSprite3D" parent="."] unique_name_in_owner = true visible = false pixel_size = 0.02 sprite_frames = ExtResource("15_70jx1") animation = &"airhit1" script = ExtResource("16_ot265") [connection signal="area_entered" from="Pushbox" to="Pushbox" method="on_area_entered"] [connection signal="area_exited" from="Pushbox" to="Pushbox" method="on_area_exited"] [connection signal="animation_finished" from="View" to="View" method="_on_animation_finished"] [connection signal="animation_finished" from="Skill" to="Skill" method="_on_animation_finished"]