From 0901fc0035352a9a73b43da60be0861e2fd97a2a Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Wed, 6 Dec 2023 17:04:41 +0100 Subject: [PATCH] Add mobile-optimized settings and controls The TPS demo can now run on mobile devices. Basic touch controls are provided. When running on a mobile device, the settings menu no longer lists options that have no effect when using the Mobile rendering method. Default settings have also been optimized for mobile if running on a mobile device. --- menu/menu.gd | 11 + menu/settings.gd | 25 +- player/player.tscn | 556 ++++++++++++++++++++++++++------------------- 3 files changed, 342 insertions(+), 250 deletions(-) diff --git a/menu/menu.gd b/menu/menu.gd index b63be248..292741e2 100644 --- a/menu/menu.gd +++ b/menu/menu.gd @@ -124,6 +124,17 @@ func _ready(): ]: _make_button_group(menu) + if Settings.is_mobile: + # Hide settings that are not effective or relevant on mobile platforms. + for menu in [ + display_mode_menu, vsync_menu, scale_filter_menu, taa_menu, gi_type_menu, gi_quality_menu, + ssao_menu, ssil_menu, volumetric_fog_menu, + ]: + menu.visible = false + + # Mobile GPUs only support MSAA up to 4×. + msaa_8x.visible = false + func _process(_delta): if loading.visible: var progress = [] diff --git a/menu/settings.gd b/menu/settings.gd index 710bca8a..b2d41df4 100644 --- a/menu/settings.gd +++ b/menu/settings.gd @@ -14,31 +14,32 @@ enum GIQuality { const CONFIG_FILE_PATH = "user://settings.ini" -const DEFAULTS = { +var is_mobile := OS.has_feature("mobile") + +var defaults := { video = { display_mode = Window.MODE_EXCLUSIVE_FULLSCREEN, vsync = DisplayServer.VSYNC_ENABLED, - max_fps = 0, - resolution_scale = 1.0, - scale_filter = Viewport.SCALING_3D_MODE_FSR2, + max_fps = 0 if not is_mobile else 30, # Cap to 30 FPS on mobile to ensure consistency and reduce power consumption + resolution_scale = 1.0 if not is_mobile else 0.5, # Native on desktop, Performance on mobile + scale_filter = Viewport.SCALING_3D_MODE_FSR2 if not is_mobile else Viewport.SCALING_3D_MODE_BILINEAR, }, rendering = { taa = false, msaa = Viewport.MSAA_DISABLED, - fxaa = false, + fxaa = is_mobile, shadow_mapping = true, gi_type = GIType.VOXEL_GI, - gi_quality = GIQuality.LOW, - ssao_quality = RenderingServer.ENV_SSAO_QUALITY_MEDIUM, + gi_quality = GIQuality.LOW if not is_mobile else GIQuality.DISABLED, + ssao_quality = RenderingServer.ENV_SSAO_QUALITY_MEDIUM if not is_mobile else -1, # Disabled on mobile ssil_quality = -1, # Disabled bloom = true, - volumetric_fog = true, + volumetric_fog = not is_mobile, }, } var config_file := ConfigFile.new() - func _ready(): load_settings() @@ -53,10 +54,10 @@ func load_settings(): config_file.load(CONFIG_FILE_PATH) # Initialize defaults for values not found in the existing configuration file, # so we don't have to specify them every time we use `ConfigFile.get_value()`. - for section in DEFAULTS: - for key in DEFAULTS[section]: + for section in defaults: + for key in defaults[section]: if not config_file.has_section_key(section, key): - config_file.set_value(section, key, DEFAULTS[section][key]) + config_file.set_value(section, key, defaults[section][key]) func save_settings(): diff --git a/player/player.tscn b/player/player.tscn index ee1ce218..7b1d13af 100644 --- a/player/player.tscn +++ b/player/player.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=107 format=3 uid="uid://cs1k22tdf04k4"] +[gd_scene load_steps=112 format=3 uid="uid://cs1k22tdf04k4"] [ext_resource type="Script" path="res://player/player.gd" id="1"] [ext_resource type="PackedScene" uid="uid://div25sd40yx1d" path="res://player/model/player.glb" id="2"] @@ -66,7 +66,7 @@ albedo_texture = ExtResource("11") _data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.791139, 0.990909), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0] point_count = 3 -[sub_resource type="Animation" id="Animation_nk48h"] +[sub_resource type="Animation" id="Animation_2puxs"] resource_name = "AIM-Center" length = 0.001 tracks/0/type = "position_3d" @@ -1379,7 +1379,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_ddnka"] +[sub_resource type="Animation" id="Animation_x4s6x"] resource_name = "AIM-Down" length = 0.001 tracks/0/type = "position_3d" @@ -2692,7 +2692,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_5b4tf"] +[sub_resource type="Animation" id="Animation_v704u"] resource_name = "AIM-Left-noexp" length = 0.001 tracks/0/type = "position_3d" @@ -4005,7 +4005,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_ar4ec"] +[sub_resource type="Animation" id="Animation_kh50e"] resource_name = "AIM-Right-noexp" length = 0.001 tracks/0/type = "position_3d" @@ -5318,7 +5318,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_ysytt"] +[sub_resource type="Animation" id="Animation_jkvvl"] resource_name = "AIM-Up" length = 0.001 tracks/0/type = "position_3d" @@ -6631,7 +6631,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_reqhm"] +[sub_resource type="Animation" id="Animation_3tjyi"] resource_name = "ARMCANNON-noexp" length = 0.916667 tracks/0/type = "position_3d" @@ -7944,7 +7944,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_ryu8y"] +[sub_resource type="Animation" id="Animation_pfcro"] resource_name = "borrar1-noexp" length = 2.5 tracks/0/type = "position_3d" @@ -9257,7 +9257,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_xcfq5"] +[sub_resource type="Animation" id="Animation_7oy20"] resource_name = "borrar2-noexp" length = 2.5 tracks/0/type = "position_3d" @@ -10570,7 +10570,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_i0rbr"] +[sub_resource type="Animation" id="Animation_6k4wd"] resource_name = "borrar3-noexp" length = 2.5 tracks/0/type = "position_3d" @@ -11883,7 +11883,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_av8f6"] +[sub_resource type="Animation" id="Animation_4axvs"] resource_name = "Cannon_activation-noexp" length = 0.916667 tracks/0/type = "position_3d" @@ -13196,7 +13196,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_6v1k5"] +[sub_resource type="Animation" id="Animation_i831s"] resource_name = "Cannon_Charge" length = 1.875 tracks/0/type = "position_3d" @@ -14509,7 +14509,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_d2xac"] +[sub_resource type="Animation" id="Animation_dcgnx"] resource_name = "Cannon_Charge-cycle" length = 0.416667 loop_mode = 1 @@ -15823,7 +15823,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_a4jsj"] +[sub_resource type="Animation" id="Animation_xkr1v"] resource_name = "flinch1" length = 0.416667 tracks/0/type = "position_3d" @@ -17136,7 +17136,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_2xp3o"] +[sub_resource type="Animation" id="Animation_epxeg"] resource_name = "flinch1_001" length = 0.416667 tracks/0/type = "position_3d" @@ -18449,7 +18449,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_dm15w"] +[sub_resource type="Animation" id="Animation_p4l8a"] resource_name = "flinch2" length = 0.416667 tracks/0/type = "position_3d" @@ -19762,7 +19762,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_7i2jo"] +[sub_resource type="Animation" id="Animation_tfc04"] resource_name = "flinch_heavy" length = 0.416667 tracks/0/type = "position_3d" @@ -21075,7 +21075,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_881il"] +[sub_resource type="Animation" id="Animation_x46y1"] resource_name = "jump_1_up" length = 0.25 tracks/0/type = "position_3d" @@ -22388,7 +22388,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_8sowg"] +[sub_resource type="Animation" id="Animation_am0uh"] resource_name = "jump_5_hardlanding" length = 0.416667 tracks/0/type = "position_3d" @@ -23701,7 +23701,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_bjahd"] +[sub_resource type="Animation" id="Animation_wjj4p"] resource_name = "metarigAction-noexp" length = 1.66667 tracks/0/type = "position_3d" @@ -25014,7 +25014,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_cl0qq"] +[sub_resource type="Animation" id="Animation_gxk7b"] resource_name = "running_aiming" length = 2.5 tracks/0/type = "position_3d" @@ -26327,7 +26327,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_u7awe"] +[sub_resource type="Animation" id="Animation_vluaj"] resource_name = "strafe_allinone-noexp" length = 9.79167 tracks/0/type = "position_3d" @@ -27640,7 +27640,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_q16eu"] +[sub_resource type="Animation" id="Animation_md765"] resource_name = "strafe_idle_to_forward-noexp" length = 7.91667 tracks/0/type = "position_3d" @@ -28953,7 +28953,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_6inf7"] +[sub_resource type="Animation" id="Animation_7cpro"] resource_name = "strafe_neu_to_left-noexp" length = 0.833333 tracks/0/type = "position_3d" @@ -30266,7 +30266,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_a33ej"] +[sub_resource type="Animation" id="Animation_cocrh"] resource_name = "strafe_neu_to_right-noexp" length = 0.833333 tracks/0/type = "position_3d" @@ -31579,7 +31579,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_5axe6"] +[sub_resource type="Animation" id="Animation_wbkl2"] resource_name = "Strafeapartirderun-noexp" length = 2.5 tracks/0/type = "position_3d" @@ -32892,7 +32892,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_h3brn"] +[sub_resource type="Animation" id="Animation_8b3vj"] resource_name = "xxx_001-noexp" length = 0.833333 tracks/0/type = "position_3d" @@ -34205,7 +34205,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_t7kpn"] +[sub_resource type="Animation" id="Animation_hg03y"] resource_name = "yateusare-noexp" length = 0.916667 tracks/0/type = "position_3d" @@ -35518,7 +35518,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_arr7f"] +[sub_resource type="Animation" id="Animation_44hrq"] resource_name = "z_running_PH-noexp" length = 1.66667 tracks/0/type = "position_3d" @@ -36831,7 +36831,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_twos7"] +[sub_resource type="Animation" id="Animation_wocid"] resource_name = "zdasdasdas-noexp" length = 3.33333 tracks/0/type = "position_3d" @@ -38144,7 +38144,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_72pas"] +[sub_resource type="Animation" id="Animation_tfpxl"] resource_name = "zDSDASD-noexp" length = 1.04167 tracks/0/type = "position_3d" @@ -39457,7 +39457,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, -0.384436, -5.74738e-10, 4.27475e-09, 0.923152) -[sub_resource type="Animation" id="Animation_tj74l"] +[sub_resource type="Animation" id="Animation_c0ohw"] resource_name = "zjump_fullcycle-noexp" length = 1.25 tracks/0/type = "position_3d" @@ -40770,7 +40770,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_78etr"] +[sub_resource type="Animation" id="Animation_jlbp5"] resource_name = "zkneepadmod-noexp" length = 0.416667 tracks/0/type = "position_3d" @@ -42083,7 +42083,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_17ip0"] +[sub_resource type="Animation" id="Animation_nbjfp"] resource_name = "zSPINE-BOUNCE-noexp" length = 0.833333 tracks/0/type = "position_3d" @@ -43396,7 +43396,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_bd8yp"] +[sub_resource type="Animation" id="Animation_4e174"] resource_name = "zSPINE_LR-noexp" length = 1.66667 tracks/0/type = "position_3d" @@ -44709,7 +44709,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_l8mi3"] +[sub_resource type="Animation" id="Animation_lc8up"] resource_name = "zSPINE_StS-noexp" length = 1.66667 tracks/0/type = "position_3d" @@ -46022,7 +46022,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_dmtrn"] +[sub_resource type="Animation" id="Animation_3dpfc"] resource_name = "zSPINE_ud-noexp" length = 1.66667 tracks/0/type = "position_3d" @@ -47335,7 +47335,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_r3qdw"] +[sub_resource type="Animation" id="Animation_lrt8v"] resource_name = "Zstrafetest-noexp" length = 2.5 tracks/0/type = "position_3d" @@ -48648,7 +48648,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_5c6jq"] +[sub_resource type="Animation" id="Animation_114ff"] resource_name = "zzARMCANNONNOUSAR-noexp" length = 0.916667 tracks/0/type = "position_3d" @@ -49961,7 +49961,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_iumhc"] +[sub_resource type="Animation" id="Animation_ck1iw"] resource_name = "zzIdleph-noexp" length = 5.375 tracks/0/type = "position_3d" @@ -51274,7 +51274,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_0gmsb"] +[sub_resource type="Animation" id="Animation_6voi1"] resource_name = "Idle-cycle" length = 15.0 loop_mode = 1 @@ -52588,7 +52588,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_uja4c"] +[sub_resource type="Animation" id="Animation_v0608"] resource_name = "Idlecombat-cycle" length = 3.33333 loop_mode = 1 @@ -53902,7 +53902,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_47a44"] +[sub_resource type="Animation" id="Animation_4kavo"] resource_name = "Idlecombatrest-cycle" length = 10.0 loop_mode = 1 @@ -55216,7 +55216,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_3m1rl"] +[sub_resource type="Animation" id="Animation_mmdlt"] resource_name = "eyes-cycle" length = 5.0 loop_mode = 1 @@ -56530,7 +56530,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_1o860"] +[sub_resource type="Animation" id="Animation_n56b1"] resource_name = "jump_2_upwards-cycle" length = 0.416667 loop_mode = 1 @@ -57844,7 +57844,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_om4st"] +[sub_resource type="Animation" id="Animation_spmaj"] resource_name = "jump_3_midair-cycle" length = 1.25 loop_mode = 1 @@ -59158,7 +59158,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_cyni8"] +[sub_resource type="Animation" id="Animation_1in58"] resource_name = "jump_4_falling-cycle" length = 0.833333 loop_mode = 1 @@ -60472,7 +60472,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 0.760341, 0.625441, 0.76034) -[sub_resource type="Animation" id="Animation_jo7dy"] +[sub_resource type="Animation" id="Animation_l0ph2"] resource_name = "lean_left-cycle" length = 0.833333 loop_mode = 1 @@ -61786,7 +61786,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_0m4ng"] +[sub_resource type="Animation" id="Animation_nvwdo"] resource_name = "lean_right-cycle" length = 0.833333 loop_mode = 1 @@ -63100,7 +63100,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_g87dl"] +[sub_resource type="Animation" id="Animation_qqw11"] resource_name = "running_gun-cycle" length = 0.833333 loop_mode = 1 @@ -64414,7 +64414,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_mapls"] +[sub_resource type="Animation" id="Animation_bi8ch"] resource_name = "running_nogun-cycle" length = 0.833333 loop_mode = 1 @@ -65728,7 +65728,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_kqmcw"] +[sub_resource type="Animation" id="Animation_1bywr"] resource_name = "strafe_back-cycle" length = 0.833333 loop_mode = 1 @@ -67042,7 +67042,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_7phda"] +[sub_resource type="Animation" id="Animation_r2odd"] resource_name = "strafe_front-cycle" length = 0.833333 loop_mode = 1 @@ -68356,7 +68356,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_4ll2y"] +[sub_resource type="Animation" id="Animation_2rtoj"] resource_name = "strafe_left-cycle" length = 0.833333 loop_mode = 1 @@ -69670,7 +69670,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_qo8rr"] +[sub_resource type="Animation" id="Animation_big32"] resource_name = "strafe_right-cycle" length = 0.833333 loop_mode = 1 @@ -70984,7 +70984,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_5eih8"] +[sub_resource type="Animation" id="Animation_0s5sb"] resource_name = "walking_gun-cycle" length = 1.25 loop_mode = 1 @@ -72298,7 +72298,7 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="Animation" id="Animation_2gy8a"] +[sub_resource type="Animation" id="Animation_paiwa"] resource_name = "walking_nogun-cycle" length = 1.25 loop_mode = 1 @@ -73612,64 +73612,64 @@ tracks/186/interp = 1 tracks/186/loop_wrap = true tracks/186/keys = PackedFloat32Array(0, 1, 7.37258e-07, 3.86478e-06, -5.63318e-08, 1) -[sub_resource type="AnimationLibrary" id="AnimationLibrary_b344y"] +[sub_resource type="AnimationLibrary" id="AnimationLibrary_ig487"] _data = { -"AIM-Center": SubResource("Animation_nk48h"), -"AIM-Down": SubResource("Animation_ddnka"), -"AIM-Left-noexp": SubResource("Animation_5b4tf"), -"AIM-Right-noexp": SubResource("Animation_ar4ec"), -"AIM-Up": SubResource("Animation_ysytt"), -"ARMCANNON-noexp": SubResource("Animation_reqhm"), -"Cannon_Charge": SubResource("Animation_6v1k5"), -"Cannon_Charge-cycle": SubResource("Animation_d2xac"), -"Cannon_activation-noexp": SubResource("Animation_av8f6"), -"Idle": SubResource("Animation_0gmsb"), -"Idlecombat": SubResource("Animation_uja4c"), -"Idlecombatrest": SubResource("Animation_47a44"), -"Strafeapartirderun-noexp": SubResource("Animation_5axe6"), -"Zstrafetest-noexp": SubResource("Animation_r3qdw"), -"borrar1-noexp": SubResource("Animation_ryu8y"), -"borrar2-noexp": SubResource("Animation_xcfq5"), -"borrar3-noexp": SubResource("Animation_i0rbr"), -"eyes": SubResource("Animation_3m1rl"), -"flinch1": SubResource("Animation_a4jsj"), -"flinch1_001": SubResource("Animation_2xp3o"), -"flinch2": SubResource("Animation_dm15w"), -"flinch_heavy": SubResource("Animation_7i2jo"), -"jump_1_up": SubResource("Animation_881il"), -"jump_2_upwards": SubResource("Animation_1o860"), -"jump_3_midair": SubResource("Animation_om4st"), -"jump_4_falling": SubResource("Animation_cyni8"), -"jump_5_hardlanding": SubResource("Animation_8sowg"), -"lean_left": SubResource("Animation_jo7dy"), -"lean_right": SubResource("Animation_0m4ng"), -"metarigAction-noexp": SubResource("Animation_bjahd"), -"running_aiming": SubResource("Animation_cl0qq"), -"running_gun": SubResource("Animation_g87dl"), -"running_nogun": SubResource("Animation_mapls"), -"strafe_allinone-noexp": SubResource("Animation_u7awe"), -"strafe_back": SubResource("Animation_kqmcw"), -"strafe_front": SubResource("Animation_7phda"), -"strafe_idle_to_forward-noexp": SubResource("Animation_q16eu"), -"strafe_left": SubResource("Animation_4ll2y"), -"strafe_neu_to_left-noexp": SubResource("Animation_6inf7"), -"strafe_neu_to_right-noexp": SubResource("Animation_a33ej"), -"strafe_right": SubResource("Animation_qo8rr"), -"walking_gun": SubResource("Animation_5eih8"), -"walking_nogun": SubResource("Animation_2gy8a"), -"xxx_001-noexp": SubResource("Animation_h3brn"), -"yateusare-noexp": SubResource("Animation_t7kpn"), -"zDSDASD-noexp": SubResource("Animation_72pas"), -"zSPINE-BOUNCE-noexp": SubResource("Animation_17ip0"), -"zSPINE_LR-noexp": SubResource("Animation_bd8yp"), -"zSPINE_StS-noexp": SubResource("Animation_l8mi3"), -"zSPINE_ud-noexp": SubResource("Animation_dmtrn"), -"z_running_PH-noexp": SubResource("Animation_arr7f"), -"zdasdasdas-noexp": SubResource("Animation_twos7"), -"zjump_fullcycle-noexp": SubResource("Animation_tj74l"), -"zkneepadmod-noexp": SubResource("Animation_78etr"), -"zzARMCANNONNOUSAR-noexp": SubResource("Animation_5c6jq"), -"zzIdleph-noexp": SubResource("Animation_iumhc") +"AIM-Center": SubResource("Animation_2puxs"), +"AIM-Down": SubResource("Animation_x4s6x"), +"AIM-Left-noexp": SubResource("Animation_v704u"), +"AIM-Right-noexp": SubResource("Animation_kh50e"), +"AIM-Up": SubResource("Animation_jkvvl"), +"ARMCANNON-noexp": SubResource("Animation_3tjyi"), +"Cannon_Charge": SubResource("Animation_i831s"), +"Cannon_Charge-cycle": SubResource("Animation_dcgnx"), +"Cannon_activation-noexp": SubResource("Animation_4axvs"), +"Idle": SubResource("Animation_6voi1"), +"Idlecombat": SubResource("Animation_v0608"), +"Idlecombatrest": SubResource("Animation_4kavo"), +"Strafeapartirderun-noexp": SubResource("Animation_wbkl2"), +"Zstrafetest-noexp": SubResource("Animation_lrt8v"), +"borrar1-noexp": SubResource("Animation_pfcro"), +"borrar2-noexp": SubResource("Animation_7oy20"), +"borrar3-noexp": SubResource("Animation_6k4wd"), +"eyes": SubResource("Animation_mmdlt"), +"flinch1": SubResource("Animation_xkr1v"), +"flinch1_001": SubResource("Animation_epxeg"), +"flinch2": SubResource("Animation_p4l8a"), +"flinch_heavy": SubResource("Animation_tfc04"), +"jump_1_up": SubResource("Animation_x46y1"), +"jump_2_upwards": SubResource("Animation_n56b1"), +"jump_3_midair": SubResource("Animation_spmaj"), +"jump_4_falling": SubResource("Animation_1in58"), +"jump_5_hardlanding": SubResource("Animation_am0uh"), +"lean_left": SubResource("Animation_l0ph2"), +"lean_right": SubResource("Animation_nvwdo"), +"metarigAction-noexp": SubResource("Animation_wjj4p"), +"running_aiming": SubResource("Animation_gxk7b"), +"running_gun": SubResource("Animation_qqw11"), +"running_nogun": SubResource("Animation_bi8ch"), +"strafe_allinone-noexp": SubResource("Animation_vluaj"), +"strafe_back": SubResource("Animation_1bywr"), +"strafe_front": SubResource("Animation_r2odd"), +"strafe_idle_to_forward-noexp": SubResource("Animation_md765"), +"strafe_left": SubResource("Animation_2rtoj"), +"strafe_neu_to_left-noexp": SubResource("Animation_7cpro"), +"strafe_neu_to_right-noexp": SubResource("Animation_cocrh"), +"strafe_right": SubResource("Animation_big32"), +"walking_gun": SubResource("Animation_0s5sb"), +"walking_nogun": SubResource("Animation_paiwa"), +"xxx_001-noexp": SubResource("Animation_8b3vj"), +"yateusare-noexp": SubResource("Animation_hg03y"), +"zDSDASD-noexp": SubResource("Animation_tfpxl"), +"zSPINE-BOUNCE-noexp": SubResource("Animation_nbjfp"), +"zSPINE_LR-noexp": SubResource("Animation_4e174"), +"zSPINE_StS-noexp": SubResource("Animation_lc8up"), +"zSPINE_ud-noexp": SubResource("Animation_3dpfc"), +"z_running_PH-noexp": SubResource("Animation_44hrq"), +"zdasdasdas-noexp": SubResource("Animation_wocid"), +"zjump_fullcycle-noexp": SubResource("Animation_c0ohw"), +"zkneepadmod-noexp": SubResource("Animation_jlbp5"), +"zzARMCANNONNOUSAR-noexp": SubResource("Animation_114ff"), +"zzIdleph-noexp": SubResource("Animation_ck1iw") } [sub_resource type="AnimationNodeAdd3" id="9"] @@ -73925,6 +73925,29 @@ streams_count = 1 stream_0/stream = ExtResource("11_cqsut") stream_0/weight = 1.0 +[sub_resource type="Gradient" id="Gradient_m4e8i"] +colors = PackedColorArray(0, 0.243137, 0.462745, 0.478431, 1, 0.301961, 1, 0.290196) + +[sub_resource type="GradientTexture2D" id="GradientTexture2D_hj6cq"] +gradient = SubResource("Gradient_m4e8i") +width = 512 +height = 256 + +[sub_resource type="GradientTexture2D" id="GradientTexture2D_w8kl5"] +gradient = SubResource("Gradient_m4e8i") +width = 256 +height = 384 + +[sub_resource type="GradientTexture2D" id="GradientTexture2D_yatsv"] +gradient = SubResource("Gradient_m4e8i") +width = 256 +height = 384 + +[sub_resource type="GradientTexture2D" id="GradientTexture2D_mcmga"] +gradient = SubResource("Gradient_m4e8i") +width = 256 +height = 256 + [node name="Player" type="CharacterBody3D"] collision_layer = 6 collision_mask = 7 @@ -73949,94 +73972,94 @@ color_rect = NodePath("../ColorRect") transform = Transform3D(0.803991, 0, 0, 0, 0.803991, 0, 0, 0, 0.803991, 0, 0, 0) [node name="Skeleton3D" parent="PlayerModel/Robot_Skeleton" index="0"] -bones/1/position = Vector3(0.117048, 2.22194, -0.186977) -bones/1/rotation = Quaternion(0.192638, -0.0373912, -0.000890941, 0.980557) -bones/2/position = Vector3(2.83638e-05, 0.241005, -0.000525682) -bones/2/rotation = Quaternion(-0.063047, 0.0269172, -0.00761125, 0.997618) -bones/3/position = Vector3(3.28969e-05, 0.105126, -0.000122525) -bones/3/rotation = Quaternion(-0.071675, 0.0278921, -0.00216924, 0.997036) -bones/4/position = Vector3(2.8357e-05, 0.119086, 0.000543124) -bones/4/rotation = Quaternion(-0.00854415, 0.0279119, 0.00184162, 0.999572) -bones/5/position = Vector3(-1.09855e-08, 0.326488, -1.01432e-05) -bones/5/rotation = Quaternion(0.180714, -0.000136304, -0.00300117, 0.983531) -bones/6/rotation = Quaternion(-0.0452669, 0.830387, 0.554429, 0.0319046) -bones/7/position = Vector3(-1.83356e-10, -0.000460287, -0.0101297) -bones/7/rotation = Quaternion(-0.00541782, 0.706918, 0.707275, 0.000311119) +bones/1/position = Vector3(0.104854, 2.20026, -0.196469) +bones/1/rotation = Quaternion(0.18808, -0.0142709, -0.00587565, 0.982033) +bones/2/position = Vector3(-5.92569e-06, 0.237742, -2.96987e-05) +bones/2/rotation = Quaternion(-0.0380228, 0.0736416, -0.0197191, 0.996365) +bones/3/position = Vector3(-6.23654e-06, 0.100862, -0.000141428) +bones/3/rotation = Quaternion(-0.0466496, 0.0760818, -0.00484708, 0.995998) +bones/4/position = Vector3(-5.93366e-06, 0.115884, -0.000257685) +bones/4/rotation = Quaternion(0.0163743, 0.0759933, 0.00607883, 0.996955) +bones/5/position = Vector3(-6.96564e-06, 0.325494, -0.000146543) +bones/5/rotation = Quaternion(0.180715, -7.89816e-05, -0.00173905, 0.983534) +bones/6/rotation = Quaternion(-0.0298396, 0.87043, 0.488927, 0.0491118) +bones/7/position = Vector3(-1.51233e-10, -0.000460325, -0.0142523) +bones/7/rotation = Quaternion(-0.00450835, 0.707052, 0.707145, 0.00199279) bones/8/rotation = Quaternion(0.965926, 2.04982e-08, 1.46421e-07, 0.258819) -bones/10/position = Vector3(-0.0256014, 0.245584, 0.126631) -bones/11/rotation = Quaternion(4.16415e-07, 0.930597, 0.366045, -5.69531e-07) -bones/12/rotation = Quaternion(4.16676e-07, 0.930597, 0.366045, -5.69879e-07) -bones/13/rotation = Quaternion(0.0442983, 0.958142, -0.282457, 0.0147928) -bones/14/rotation = Quaternion(2.09597e-07, 0.959165, -0.282846, -7.20663e-07) -bones/15/rotation = Quaternion(-0.32544, -0.358506, -0.431488, 0.76117) -bones/16/rotation = Quaternion(-0.639571, 0.0303077, 0.143202, 0.754668) -bones/17/rotation = Quaternion(-0.0839352, 0.0104351, -0.223937, 0.970926) -bones/18/rotation = Quaternion(-0.0911932, -0.000524446, -0.216371, 0.972043) -bones/20/rotation = Quaternion(-0.0274616, -0.0144161, 0.990251, 0.135799) -bones/22/rotation = Quaternion(-0.106077, -0.0364108, 0.00165498, 0.99369) -bones/23/rotation = Quaternion(-0.179584, -0.0201824, -0.00189573, 0.983534) -bones/24/rotation = Quaternion(-0.30097, -0.119639, 0.00134586, 0.946098) -bones/25/rotation = Quaternion(-0.316018, -0.073635, -0.0128545, 0.945804) -bones/25/scale = Vector3(0.923173, 0.923173, 0.923173) -bones/27/rotation = Quaternion(-0.0485867, 0.0485873, -0.705438, 0.705433) -bones/28/rotation = Quaternion(2.32104e-05, -0.00803497, 0.442678, 0.896645) +bones/10/position = Vector3(-8.7954e-09, 0.245584, 0.126631) +bones/11/rotation = Quaternion(3.36996e-07, 0.97094, 0.239325, -6.20657e-07) +bones/12/rotation = Quaternion(3.3717e-07, 0.97094, 0.239325, -6.20588e-07) +bones/13/rotation = Quaternion(0.0478773, 0.979991, -0.192932, 0.0101304) +bones/14/rotation = Quaternion(2.77573e-07, 0.981162, -0.193188, -6.99177e-07) +bones/15/rotation = Quaternion(-0.324693, -0.36049, -0.453992, 0.747337) +bones/16/rotation = Quaternion(-0.555083, -0.0427616, -0.123698, 0.821433) +bones/17/rotation = Quaternion(-0.121583, 0.0141665, -0.277679, 0.952844) +bones/18/rotation = Quaternion(-0.139626, -0.00243451, -0.278702, 0.95017) +bones/20/rotation = Quaternion(-0.0322359, -0.0169027, 0.986549, 0.15936) +bones/22/rotation = Quaternion(-0.141978, -0.0326563, -0.000404122, 0.989331) +bones/23/rotation = Quaternion(-0.235681, -0.0200405, -0.0030498, 0.971619) +bones/24/rotation = Quaternion(-0.354501, -0.119521, -0.00548753, 0.927369) +bones/25/rotation = Quaternion(-0.401022, -0.0721545, -0.0195214, 0.913014) +bones/25/scale = Vector3(0.887743, 0.887743, 0.887743) +bones/27/rotation = Quaternion(-0.0623089, 0.0623095, -0.704359, 0.704354) +bones/28/rotation = Quaternion(0.000162786, -0.00791267, 0.485182, 0.874378) bones/28/scale = Vector3(0.999995, 1.00001, 1) bones/29/rotation = Quaternion(0.00420373, 0.00610656, 0.137006, 0.990542) -bones/30/rotation = Quaternion(-1.98249e-05, -0.00407944, 0.500799, 0.865554) -bones/33/rotation = Quaternion(-0.114236, -0.0240216, -0.00713382, 0.993138) -bones/34/rotation = Quaternion(-0.247394, -0.0241979, -0.00254064, 0.968609) -bones/35/rotation = Quaternion(-0.364889, -0.119449, -0.00682902, 0.923332) -bones/36/rotation = Quaternion(-0.386319, -0.0700191, -0.0241565, 0.919386) -bones/36/scale = Vector3(0.879088, 0.879088, 0.879088) -bones/39/rotation = Quaternion(-0.0895898, -0.0119833, -0.00194944, 0.995905) -bones/40/rotation = Quaternion(-0.342805, -0.0145693, -0.00724018, 0.939266) -bones/41/rotation = Quaternion(-0.484333, -0.117484, -0.0226389, 0.866664) -bones/42/rotation = Quaternion(-0.45765, -0.0707842, -0.0240206, 0.885985) -bones/42/scale = Vector3(0.779008, 0.779008, 0.779008) -bones/45/rotation = Quaternion(0.185235, -0.126909, 0.96681, 0.1219) -bones/47/rotation = Quaternion(-0.416959, 0.02116, 0.170213, 0.892594) -bones/48/rotation = Quaternion(0.0797499, 0.0712581, 0.590878, 0.799641) -bones/49/rotation = Quaternion(-0.313893, -0.0184781, -0.170888, 0.93377) -bones/50/rotation = Quaternion(-0.340608, 0.368538, 0.441509, 0.743798) -bones/51/rotation = Quaternion(-0.578954, 0.0903062, 0.0517151, 0.808692) -bones/52/rotation = Quaternion(-0.086213, -0.0373539, 0.385061, 0.918096) -bones/53/rotation = Quaternion(-0.088253, 0.0104554, 0.342738, 0.935218) +bones/30/rotation = Quaternion(-0.00021551, -0.00407379, 0.541747, 0.840532) +bones/33/rotation = Quaternion(-0.114502, -0.0199688, -0.0078425, 0.993191) +bones/34/rotation = Quaternion(-0.28995, -0.0208442, -0.00430438, 0.956805) +bones/35/rotation = Quaternion(-0.414053, -0.118909, -0.0132476, 0.902356) +bones/36/rotation = Quaternion(-0.427131, -0.0688663, -0.0272699, 0.901151) +bones/36/scale = Vector3(0.838802, 0.838802, 0.838802) +bones/39/rotation = Quaternion(-0.0894824, -0.0109772, -0.00205843, 0.995926) +bones/40/rotation = Quaternion(-0.35857, -0.0129086, -0.00840497, 0.933376) +bones/41/rotation = Quaternion(-0.502334, -0.116986, -0.0250885, 0.856356) +bones/42/rotation = Quaternion(-0.471991, -0.0703844, -0.025168, 0.878429) +bones/42/scale = Vector3(0.758905, 0.758906, 0.758906) +bones/45/rotation = Quaternion(0.188508, -0.13484, 0.961887, 0.14511) +bones/47/rotation = Quaternion(-0.179411, 0.0256131, -0.329447, 0.926618) +bones/48/rotation = Quaternion(0.0941906, 0.128614, 0.366758, 0.916556) +bones/49/rotation = Quaternion(-0.18755, -0.0481944, -0.371911, 0.907846) +bones/50/rotation = Quaternion(-0.342994, 0.373999, 0.446622, 0.736891) +bones/51/rotation = Quaternion(-0.646877, -0.0113083, -0.291651, 0.70453) +bones/52/rotation = Quaternion(-0.0968744, -0.0226832, 0.373815, 0.922151) +bones/53/rotation = Quaternion(-0.107716, -0.00885807, 0.336602, 0.935424) bones/53/scale = Vector3(1.00345, 1.00345, 1.00345) bones/55/rotation = Quaternion(0.0015298, -0.0653359, 0.997819, 0.00923565) -bones/56/rotation = Quaternion(0.0176412, -0.0175437, 0.996521, 0.0795392) +bones/56/rotation = Quaternion(0.0148258, -0.017097, 0.992188, 0.122683) bones/56/scale = Vector3(0.989954, 0.989954, 0.989954) -bones/58/rotation = Quaternion(-0.156689, 0.0308207, 0.0269785, 0.986798) +bones/58/rotation = Quaternion(-0.149436, 0.0297457, 0.0247308, 0.988014) bones/58/scale = Vector3(1, 1, 0.99999) -bones/59/rotation = Quaternion(-0.299757, 0.0258423, 0.0116888, 0.953594) +bones/59/rotation = Quaternion(-0.262768, 0.0248335, 0.0104452, 0.964483) bones/59/scale = Vector3(1.00001, 0.999999, 0.99999) -bones/60/rotation = Quaternion(-0.382941, 0.11172, -0.0601358, 0.915018) +bones/60/rotation = Quaternion(-0.346636, 0.112847, -0.0552274, 0.929548) bones/60/scale = Vector3(1.00003, 0.999986, 0.999971) -bones/61/rotation = Quaternion(-0.46778, 0.0705037, 0.024831, 0.880679) -bones/61/scale = Vector3(0.84613, 0.84613, 0.84613) -bones/63/rotation = Quaternion(-0.150558, -0.150091, 0.674438, 0.707063) -bones/64/rotation = Quaternion(-0.000621839, 0.00864326, -0.501001, 0.865403) +bones/61/rotation = Quaternion(-0.427232, 0.0715603, 0.021598, 0.901047) +bones/61/scale = Vector3(0.876971, 0.876971, 0.876971) +bones/63/rotation = Quaternion(-0.139589, -0.138592, 0.676794, 0.709406) +bones/64/rotation = Quaternion(0.000107093, 0.00785866, -0.52049, 0.853832) bones/64/scale = Vector3(0.999964, 1.00002, 1) -bones/65/rotation = Quaternion(0.00604107, -0.00577643, -0.260024, 0.965566) +bones/65/rotation = Quaternion(0.00393461, -0.00597093, -0.148322, 0.988913) bones/65/scale = Vector3(0.999961, 1.00004, 0.999999) -bones/66/rotation = Quaternion(-0.000544051, 0.00402015, -0.60582, 0.795591) -bones/66/scale = Vector3(0.970135, 0.970135, 0.970135) -bones/69/rotation = Quaternion(-0.144656, 0.0320435, 0.034609, 0.988357) +bones/66/rotation = Quaternion(-0.000415207, 0.0040355, -0.580067, 0.814559) +bones/66/scale = Vector3(0.996911, 0.996911, 0.996911) +bones/69/rotation = Quaternion(-0.11235, 0.0302317, 0.0294685, 0.992771) bones/69/scale = Vector3(1, 1, 0.99999) -bones/70/rotation = Quaternion(-0.363114, 0.0271615, 0.0129624, 0.931259) +bones/70/rotation = Quaternion(-0.314567, 0.0255781, 0.0112065, 0.948824) bones/70/scale = Vector3(1.00001, 0.999998, 0.999988) -bones/71/rotation = Quaternion(-0.45702, 0.108434, -0.0708946, 0.879971) +bones/71/rotation = Quaternion(-0.419655, 0.10975, -0.06629, 0.898583) bones/71/scale = Vector3(1.00003, 0.99997, 0.999986) -bones/72/rotation = Quaternion(-0.516257, 0.0657484, 0.0341079, 0.853225) -bones/72/scale = Vector3(0.774743, 0.774743, 0.774743) -bones/75/rotation = Quaternion(-0.56869, 0.0670711, 0.0329979, 0.819149) -bones/75/scale = Vector3(0.693892, 0.693892, 0.693892) -bones/77/rotation = Quaternion(-0.13315, 0.0351469, 0.0298569, 0.990022) +bones/72/rotation = Quaternion(-0.446275, 0.0682685, 0.0287334, 0.891825) +bones/72/scale = Vector3(0.818695, 0.818695, 0.818695) +bones/75/rotation = Quaternion(-0.485444, 0.069989, 0.0262475, 0.871066) +bones/75/scale = Vector3(0.743706, 0.743706, 0.743706) +bones/77/rotation = Quaternion(-0.0847373, 0.033137, 0.0234623, 0.995576) bones/77/scale = Vector3(1, 1, 0.999991) -bones/78/rotation = Quaternion(-0.431685, 0.0289239, 0.0139621, 0.901453) +bones/78/rotation = Quaternion(-0.37941, 0.0268254, 0.0123367, 0.924757) bones/78/scale = Vector3(1.00001, 0.999996, 0.999989) -bones/79/rotation = Quaternion(-0.531842, 0.10447, -0.0817208, 0.836392) +bones/79/rotation = Quaternion(-0.499397, 0.105654, -0.0780161, 0.856361) bones/79/scale = Vector3(1.00002, 0.999946, 1.00001) -bones/81/rotation = Quaternion(-0.15058, -0.0912731, 0.980066, 0.0920107) +bones/81/rotation = Quaternion(-0.142741, -0.0836843, 0.976887, 0.13533) bones/81/scale = Vector3(1.00003, 0.999997, 0.999962) bones/82/scale = Vector3(0.806007, 0.723313, 0.806006) bones/83/rotation = Quaternion(-0.499999, -0.499999, 0.500002, 0.499999) @@ -74050,70 +74073,70 @@ bones/89/rotation = Quaternion(-1.75019e-05, 0.00750475, 0.999972, -3.4666e-05) bones/90/position = Vector3(-5.19207e-06, 0.109669, -0.0266081) bones/91/position = Vector3(0.000285693, 1.38812e-06, -0.119667) bones/92/position = Vector3(-4.50757e-06, 0.000595328, 0.0266991) -bones/95/rotation = Quaternion(-0.339745, -0.0179847, 0.0606531, 0.938387) -bones/96/rotation = Quaternion(0.098945, -0.107441, -0.435873, 0.888077) -bones/97/rotation = Quaternion(-0.191864, 0.0533846, 0.370386, 0.907278) -bones/98/rotation = Quaternion(0.999318, -0.0317964, 0.00342586, -0.0184531) -bones/99/rotation = Quaternion(0.701597, 0.155973, 0.496183, -0.48707) -bones/100/rotation = Quaternion(-0.0686971, -0.149493, 0.885116, 0.435319) -bones/101/rotation = Quaternion(-0.138924, -0.19006, 0.941931, 0.239466) -bones/102/rotation = Quaternion(0.248667, 0.833115, -0.478544, 0.122802) -bones/103/rotation = Quaternion(0.0731327, -0.0491872, 0.0395466, 0.995323) -bones/104/rotation = Quaternion(-0.635166, 0.249726, 0.604484, 0.410853) -bones/105/rotation = Quaternion(0.074729, -0.1694, 0.889084, -0.418627) -bones/106/rotation = Quaternion(0.159365, -0.195092, 0.955008, -0.156531) -bones/107/rotation = Quaternion(-0.236496, 0.777121, -0.583217, -0.00314152) -bones/108/rotation = Quaternion(0.041637, 0.0557916, -0.00101692, 0.997573) -bones/112/rotation = Quaternion(0.997164, 0.0332636, 0.000280334, -0.0675114) -bones/113/rotation = Quaternion(0.998783, -0.0168314, -0.00351096, -0.0462342) -bones/114/position = Vector3(0.111635, 0.106854, 0.118433) -bones/114/rotation = Quaternion(0.0276923, 0.74408, 0.666955, -0.0273527) -bones/115/position = Vector3(-0.0909754, 0.109138, 0.127612) -bones/115/rotation = Quaternion(0.0314504, 0.744724, 0.66627, -0.0219422) -bones/116/rotation = Quaternion(0.895653, 0.055786, -0.0475846, 0.438668) -bones/117/rotation = Quaternion(0.207405, -3.23293e-08, 3.38518e-08, 0.978255) +bones/95/rotation = Quaternion(-0.360097, -0.00472357, -0.279718, 0.889981) +bones/96/rotation = Quaternion(0.166641, -0.0700174, -0.636215, 0.750039) +bones/97/rotation = Quaternion(-0.307624, 0.032997, 0.00283803, 0.950931) +bones/98/rotation = Quaternion(0.998211, -0.0577643, 0.00676314, -0.0138863) +bones/99/rotation = Quaternion(0.61391, 0.278189, 0.628448, -0.388302) +bones/100/rotation = Quaternion(-0.0861279, -0.193034, 0.887071, 0.410396) +bones/101/rotation = Quaternion(-0.158515, -0.181675, 0.887469, 0.392767) +bones/102/rotation = Quaternion(0.255297, 0.780371, -0.570776, -0.00761551) +bones/103/rotation = Quaternion(0.0683003, -0.0306093, 0.0435098, 0.996246) +bones/104/rotation = Quaternion(-0.716895, 0.119959, 0.451857, 0.517201) +bones/105/rotation = Quaternion(0.0856757, -0.215876, 0.912466, -0.336842) +bones/106/rotation = Quaternion(0.161468, -0.249429, 0.944261, -0.141722) +bones/107/rotation = Quaternion(-0.279294, 0.759202, -0.566072, -0.158649) +bones/108/rotation = Quaternion(0.0104143, 0.0390365, 0.018593, 0.999011) +bones/112/rotation = Quaternion(0.997546, 0.0481105, 0.0021815, -0.0508299) +bones/113/rotation = Quaternion(0.997994, -0.0236205, -0.00414627, -0.0585852) +bones/114/position = Vector3(0.116098, 0.104653, 0.121132) +bones/114/rotation = Quaternion(0.0409119, 0.735965, 0.674512, -0.0414208) +bones/115/position = Vector3(-0.0867024, 0.107899, 0.13399) +bones/115/rotation = Quaternion(0.0452762, 0.736514, 0.674013, -0.034694) +bones/116/rotation = Quaternion(0.883725, 0.046367, -0.0485261, 0.463169) +bones/117/rotation = Quaternion(0.306478, -1.56224e-08, 8.0356e-08, 0.951878) bones/117/scale = Vector3(1, 1, 0.999994) -bones/118/rotation = Quaternion(0.111737, -1.70468e-09, -3.38048e-09, 0.993738) -bones/118/scale = Vector3(1.03266, 1.03266, 1.03266) -bones/119/rotation = Quaternion(-0.527542, -0.0948497, 0.00307055, 0.844212) -bones/120/rotation = Quaternion(1.63343e-08, 0.959381, -0.282113, -3.9359e-08) +bones/118/rotation = Quaternion(0.211403, -6.06922e-10, 4.48176e-10, 0.977399) +bones/118/scale = Vector3(1.02731, 1.02731, 1.02731) +bones/119/rotation = Quaternion(-0.579564, -0.0827533, 0.00425309, 0.810703) +bones/120/rotation = Quaternion(1.46152e-08, 0.947055, -0.321073, -3.98246e-08) bones/121/rotation = Quaternion(-0.384436, 5.74738e-10, -6.29245e-09, 0.923152) -bones/122/position = Vector3(-1.10605e-07, 0.0866697, -0.124063) -bones/122/rotation = Quaternion(0.988835, 1.6858e-07, -9.30702e-09, 0.149014) +bones/122/position = Vector3(-1.10367e-07, 0.0866593, -0.124062) +bones/122/rotation = Quaternion(0.975758, 7.98927e-09, 1.87817e-09, 0.218853) bones/122/scale = Vector3(1, 1.00001, 1.00005) -bones/123/position = Vector3(-2.9442e-09, 0.0552025, -0.129837) -bones/124/rotation = Quaternion(0.972286, -0.000760905, 0.00377622, 0.233764) -bones/125/rotation = Quaternion(0.3574, -1.01769e-07, 2.59751e-07, 0.933951) +bones/123/position = Vector3(-9.969e-10, 0.0552025, -0.129837) +bones/124/rotation = Quaternion(0.964064, -0.0418083, 0.0357483, 0.259911) +bones/125/rotation = Quaternion(0.238863, -2.62933e-08, 1.71891e-08, 0.971053) bones/125/scale = Vector3(1, 1, 0.999998) -bones/126/rotation = Quaternion(0.194192, 1.08038e-09, 9.18039e-10, 0.980964) -bones/126/scale = Vector3(1.00604, 1.00604, 1.00603) +bones/126/rotation = Quaternion(0.116835, 4.23503e-10, 4.73152e-10, 0.993151) +bones/126/scale = Vector3(1.01139, 1.01139, 1.01139) bones/127/position = Vector3(0.0175439, 0.447091, -0.00175865) -bones/127/rotation = Quaternion(-0.616636, 0.0884013, -0.0368789, 0.7814) -bones/128/rotation = Quaternion(1.56253e-08, 0.939887, -0.341486, -4.17537e-08) +bones/127/rotation = Quaternion(-0.637368, 0.0360692, -0.0474582, 0.768251) +bones/128/rotation = Quaternion(1.61549e-08, 0.94396, -0.330059, -4.16294e-08) bones/129/rotation = Quaternion(-0.384436, -5.74738e-10, 4.27475e-09, 0.923152) -bones/130/position = Vector3(1.00428e-07, 0.0880043, -0.12418) -bones/130/rotation = Quaternion(0.967216, -1.36611e-07, 7.63393e-09, 0.253954) +bones/130/position = Vector3(9.74815e-08, 0.0873366, -0.124122) +bones/130/rotation = Quaternion(0.985241, -2.05651e-07, 1.41017e-08, 0.171171) bones/130/scale = Vector3(1, 1, 1.00005) -bones/131/position = Vector3(-5.70392e-09, 0.0609566, -0.129562) -bones/132/position = Vector3(0.187198, 1.84115, 1.06563) -bones/133/position = Vector3(-0.0885928, 1.84115, 1.06563) -bones/134/position = Vector3(0.32442, 1.39742, 0.0372229) -bones/135/position = Vector3(-0.0888666, 1.66098, -0.427314) +bones/131/position = Vector3(-6.87605e-09, 0.057269, -0.129738) +bones/132/position = Vector3(0.166081, 1.84115, 1.06563) +bones/133/position = Vector3(-0.10971, 1.84115, 1.06563) +bones/134/position = Vector3(0.318282, 1.50646, -0.104571) +bones/135/position = Vector3(-0.113354, 1.43356, -0.340231) bones/135/rotation = Quaternion(0.998099, -2.22234e-10, 0.0616301, 3.59907e-09) -bones/136/position = Vector3(0.00268129, 2.56055, 7.7703) -bones/137/position = Vector3(0.557749, 2.3575, -0.368711) +bones/136/position = Vector3(2.29668, 2.70144, 6.73997) +bones/137/position = Vector3(0.533847, 2.34196, -0.216553) bones/137/rotation = Quaternion(-0.707078, 0.00643217, -0.00643217, 0.707078) -bones/138/position = Vector3(0.495816, 2.70715, -0.399974) -bones/139/position = Vector3(-0.31546, 2.45017, 0.158211) +bones/138/position = Vector3(0.603294, 2.64077, -0.401332) +bones/139/position = Vector3(-0.325213, 2.38367, -0.0374912) bones/139/rotation = Quaternion(-0.707078, 0.00643217, -0.00643217, 0.707078) -bones/140/position = Vector3(-0.534667, 2.5764, -0.37891) -bones/142/position = Vector3(-0.137896, 1.38327, -0.626978) -bones/143/position = Vector3(0.0175218, 3.21222, -1.24379) -bones/143/rotation = Quaternion(0.99835, 0, -0.0574184, 0) -bones/143/scale = Vector3(1, 1.03008, 1) +bones/140/position = Vector3(-0.389398, 2.63096, -0.376294) +bones/142/position = Vector3(-0.137896, 1.38568, -0.626978) +bones/143/position = Vector3(0.0101307, 3.31997, -1.24379) +bones/143/rotation = Quaternion(0.996128, 0, -0.0879101, 0) +bones/143/scale = Vector3(1, 0.99417, 1) [node name="GunBone" type="BoneAttachment3D" parent="PlayerModel/Robot_Skeleton/Skeleton3D" index="5"] -transform = Transform3D(0.436536, 0.170919, -0.887242, 0.709297, 0.54571, 0.454029, 0.559914, -0.824562, 0.116573, -0.346575, 1.18472, 0.176002) +transform = Transform3D(0.164894, 0.379504, -0.914178, 0.330685, 0.852414, 0.413502, 0.933074, -0.369166, 0.0150082, -0.37512, 1.08962, -0.0347968) bone_name = "hand.R" bone_idx = 55 @@ -74168,7 +74191,7 @@ root_node = NodePath("../PlayerModel") root_motion_track = NodePath("Robot_Skeleton/Skeleton3D:root") callback_mode_process = 0 libraries = { -"": SubResource("AnimationLibrary_b344y") +"": SubResource("AnimationLibrary_ig487") } tree_root = SubResource("30") anim_player = NodePath("../PlayerModel/AnimationPlayer") @@ -74257,4 +74280,61 @@ wait_time = 0.4 one_shot = true autostart = true +[node name="TouchControls" type="Node2D" parent="."] + +[node name="MoveForward" type="TouchScreenButton" parent="TouchControls"] +self_modulate = Color(1, 1, 1, 0) +position = Vector2(106, 345) +texture_normal = SubResource("GradientTexture2D_hj6cq") +passby_press = true +action = "move_forward" +visibility_mode = 1 + +[node name="MoveBackward" type="TouchScreenButton" parent="TouchControls"] +self_modulate = Color(1, 1, 1, 0) +position = Vector2(103, 725) +texture_normal = SubResource("GradientTexture2D_hj6cq") +passby_press = true +action = "move_back" +visibility_mode = 1 + +[node name="MoveLeft" type="TouchScreenButton" parent="TouchControls"] +self_modulate = Color(1, 1, 1, 0) +position = Vector2(103, 472) +texture_normal = SubResource("GradientTexture2D_w8kl5") +passby_press = true +action = "move_left" +visibility_mode = 1 + +[node name="MoveRight" type="TouchScreenButton" parent="TouchControls"] +self_modulate = Color(1, 1, 1, 0) +position = Vector2(359, 472) +texture_normal = SubResource("GradientTexture2D_yatsv") +passby_press = true +action = "move_right" +visibility_mode = 1 + +[node name="Jump" type="TouchScreenButton" parent="TouchControls"] +self_modulate = Color(1, 1, 1, 0) +position = Vector2(1615, 784) +texture_normal = SubResource("GradientTexture2D_mcmga") +action = "jump" +visibility_mode = 1 + +[node name="Shoot" type="TouchScreenButton" parent="TouchControls"] +self_modulate = Color(1, 1, 1, 0) +position = Vector2(1615, 616) +scale = Vector2(1, 0.542969) +texture_normal = SubResource("GradientTexture2D_mcmga") +passby_press = true +action = "shoot" +visibility_mode = 1 + +[node name="Aim" type="TouchScreenButton" parent="TouchControls"] +self_modulate = Color(1, 1, 1, 0) +position = Vector2(1611, 357) +texture_normal = SubResource("GradientTexture2D_mcmga") +action = "aim" +visibility_mode = 1 + [editable path="PlayerModel"]