mirror of
https://github.com/Relintai/broken_seals_2d.git
synced 2024-11-11 20:35:10 +01:00
Remove unneeded nodes from the character's scene.
This commit is contained in:
parent
5645a8ac7e
commit
d5e4aa6281
@ -3,7 +3,6 @@
|
|||||||
[ext_resource path="res://characters/char_t1_outline_split.png" type="Texture" id=1]
|
[ext_resource path="res://characters/char_t1_outline_split.png" type="Texture" id=1]
|
||||||
[ext_resource path="res://player/HumanoidCharacterBones2D.gd" type="Script" id=2]
|
[ext_resource path="res://player/HumanoidCharacterBones2D.gd" type="Script" id=2]
|
||||||
|
|
||||||
|
|
||||||
[sub_resource type="Animation" id=1]
|
[sub_resource type="Animation" id=1]
|
||||||
resource_name = "casting"
|
resource_name = "casting"
|
||||||
length = 2.0
|
length = 2.0
|
||||||
@ -2143,7 +2142,7 @@ animation = "run"
|
|||||||
[sub_resource type="AnimationNodeBlend2" id=8]
|
[sub_resource type="AnimationNodeBlend2" id=8]
|
||||||
|
|
||||||
[sub_resource type="AnimationNodeBlendTree" id=9]
|
[sub_resource type="AnimationNodeBlendTree" id=9]
|
||||||
graph_offset = Vector2( -322, -28 )
|
graph_offset = Vector2( -671, 298.5 )
|
||||||
nodes/RunScale/node = SubResource( 5 )
|
nodes/RunScale/node = SubResource( 5 )
|
||||||
nodes/RunScale/position = Vector2( -60, 500 )
|
nodes/RunScale/position = Vector2( -60, 500 )
|
||||||
nodes/idle/node = SubResource( 6 )
|
nodes/idle/node = SubResource( 6 )
|
||||||
@ -2192,7 +2191,7 @@ region_enabled = true
|
|||||||
region_rect = Rect2( 27, 57, 14, 6 )
|
region_rect = Rect2( 27, 57, 14, 6 )
|
||||||
|
|
||||||
[node name="Torso" type="Sprite" parent="Hip"]
|
[node name="Torso" type="Sprite" parent="Hip"]
|
||||||
position = Vector2( 0, -2.19333 )
|
position = Vector2( 0, -2.35694 )
|
||||||
texture = ExtResource( 1 )
|
texture = ExtResource( 1 )
|
||||||
offset = Vector2( 0, -5 )
|
offset = Vector2( 0, -5 )
|
||||||
region_enabled = true
|
region_enabled = true
|
||||||
@ -2322,31 +2321,6 @@ __meta__ = {
|
|||||||
"_edit_bone_": true
|
"_edit_bone_": true
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="CPUParticles2D" type="CPUParticles2D" parent="Hip/Torso/arm_l/hand_l/end"]
|
|
||||||
visible = false
|
|
||||||
position = Vector2( -0.53, 0.58 )
|
|
||||||
rotation = 0.204192
|
|
||||||
preprocess = 0.8
|
|
||||||
randomness = 0.07
|
|
||||||
local_coords = false
|
|
||||||
spread = 112.94
|
|
||||||
gravity = Vector2( 0, 0 )
|
|
||||||
initial_velocity = 12.0
|
|
||||||
initial_velocity_random = 0.54
|
|
||||||
angular_velocity = 310.59
|
|
||||||
angular_velocity_random = 0.84
|
|
||||||
linear_accel = 11.77
|
|
||||||
radial_accel = 37.26
|
|
||||||
tangential_accel = -13.72
|
|
||||||
tangential_accel_random = 0.79
|
|
||||||
damping = 77.44
|
|
||||||
damping_random = 0.09
|
|
||||||
angle_random = 0.86
|
|
||||||
scale_amount = 2.0
|
|
||||||
color = Color( 0.133333, 0.403922, 0.027451, 0.839216 )
|
|
||||||
hue_variation = 0.22
|
|
||||||
hue_variation_random = 0.88
|
|
||||||
|
|
||||||
[node name="shoulder_l" type="Sprite" parent="Hip/Torso/arm_l"]
|
[node name="shoulder_l" type="Sprite" parent="Hip/Torso/arm_l"]
|
||||||
position = Vector2( -0.913425, -1.12376 )
|
position = Vector2( -0.913425, -1.12376 )
|
||||||
texture = ExtResource( 1 )
|
texture = ExtResource( 1 )
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
[ext_resource path="res://characters/char_t1_outline_split.png" type="Texture" id=1]
|
[ext_resource path="res://characters/char_t1_outline_split.png" type="Texture" id=1]
|
||||||
[ext_resource path="res://player/HumanoidCharacterBones2D.gd" type="Script" id=2]
|
[ext_resource path="res://player/HumanoidCharacterBones2D.gd" type="Script" id=2]
|
||||||
|
|
||||||
|
|
||||||
[sub_resource type="Animation" id=1]
|
[sub_resource type="Animation" id=1]
|
||||||
resource_name = "casting"
|
resource_name = "casting"
|
||||||
length = 2.0
|
length = 2.0
|
||||||
@ -1900,7 +1899,7 @@ nodes/run/node = SubResource( 7 )
|
|||||||
nodes/run/position = Vector2( -280, 500 )
|
nodes/run/position = Vector2( -280, 500 )
|
||||||
nodes/walking/node = SubResource( 8 )
|
nodes/walking/node = SubResource( 8 )
|
||||||
nodes/walking/position = Vector2( 140, 320 )
|
nodes/walking/position = Vector2( 140, 320 )
|
||||||
node_connections = [ "walking", 0, "idle", "walking", 1, "RunScale", "RunScale", 0, "run", "output", 0, "walking" ]
|
node_connections = [ "output", 0, "walking", "walking", 0, "idle", "walking", 1, "RunScale", "RunScale", 0, "run" ]
|
||||||
|
|
||||||
[node name="CharacterSideModel" type="CharacterBones"]
|
[node name="CharacterSideModel" type="CharacterBones"]
|
||||||
rotation = 0.000121465
|
rotation = 0.000121465
|
||||||
@ -1926,22 +1925,15 @@ HUMANOID_BONE_HEAD_TOP = 15,
|
|||||||
HUMANOID_BONES_MAX = 16,"
|
HUMANOID_BONES_MAX = 16,"
|
||||||
bones = [ NodePath("Hip"), NodePath("Hip/Torso"), NodePath("Hip/leg_r"), NodePath("Hip/leg_r/foot_r"), NodePath("Hip/leg_r/foot_r/Position2D"), NodePath("Hip/leg_l"), NodePath("Hip/leg_l/foot_l"), NodePath("Hip/leg_l/foot_l/Position2D"), NodePath("arm_r"), NodePath("hand_r"), NodePath("Hip/Torso/remote_arm_r/remote_hand_r/Position2D"), NodePath("Hip/Torso/arm_l"), NodePath("Hip/Torso/arm_l/hand_l"), NodePath("Hip/Torso/arm_l/hand_l/end"), NodePath("Hip/Torso/Head"), NodePath("Hip/Torso/Head/Position2D") ]
|
bones = [ NodePath("Hip"), NodePath("Hip/Torso"), NodePath("Hip/leg_r"), NodePath("Hip/leg_r/foot_r"), NodePath("Hip/leg_r/foot_r/Position2D"), NodePath("Hip/leg_l"), NodePath("Hip/leg_l/foot_l"), NodePath("Hip/leg_l/foot_l/Position2D"), NodePath("arm_r"), NodePath("hand_r"), NodePath("Hip/Torso/remote_arm_r/remote_hand_r/Position2D"), NodePath("Hip/Torso/arm_l"), NodePath("Hip/Torso/arm_l/hand_l"), NodePath("Hip/Torso/arm_l/hand_l/end"), NodePath("Hip/Torso/Head"), NodePath("Hip/Torso/Head/Position2D") ]
|
||||||
|
|
||||||
[node name="model" type="Sprite" parent="."]
|
|
||||||
visible = false
|
|
||||||
texture = ExtResource( 1 )
|
|
||||||
offset = Vector2( 0, -15.5 )
|
|
||||||
region_enabled = true
|
|
||||||
region_rect = Rect2( 49, 21, 13, 37 )
|
|
||||||
|
|
||||||
[node name="arm_r" type="Sprite" parent="."]
|
[node name="arm_r" type="Sprite" parent="."]
|
||||||
position = Vector2( -3.50003, -24.5128 )
|
position = Vector2( -3.50002, -24.4539 )
|
||||||
texture = ExtResource( 1 )
|
texture = ExtResource( 1 )
|
||||||
offset = Vector2( 0, 3 )
|
offset = Vector2( 0, 3 )
|
||||||
region_enabled = true
|
region_enabled = true
|
||||||
region_rect = Rect2( 1, 11, 4, 9 )
|
region_rect = Rect2( 1, 11, 4, 9 )
|
||||||
|
|
||||||
[node name="hand_r" type="Sprite" parent="."]
|
[node name="hand_r" type="Sprite" parent="."]
|
||||||
position = Vector2( -3.50003, -19.0128 )
|
position = Vector2( -3.50002, -18.9539 )
|
||||||
texture = ExtResource( 1 )
|
texture = ExtResource( 1 )
|
||||||
offset = Vector2( 0, 3 )
|
offset = Vector2( 0, 3 )
|
||||||
region_enabled = true
|
region_enabled = true
|
||||||
@ -2016,7 +2008,7 @@ __meta__ = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[node name="Torso" type="Sprite" parent="Hip"]
|
[node name="Torso" type="Sprite" parent="Hip"]
|
||||||
position = Vector2( 1.24679e-05, -1.89734 )
|
position = Vector2( 1.96303e-05, -1.83837 )
|
||||||
texture = ExtResource( 1 )
|
texture = ExtResource( 1 )
|
||||||
offset = Vector2( 0, -5 )
|
offset = Vector2( 0, -5 )
|
||||||
region_enabled = true
|
region_enabled = true
|
||||||
@ -2098,31 +2090,6 @@ __meta__ = {
|
|||||||
"_edit_bone_": true
|
"_edit_bone_": true
|
||||||
}
|
}
|
||||||
|
|
||||||
[node name="CPUParticles2D" type="CPUParticles2D" parent="Hip/Torso/arm_l/hand_l/end"]
|
|
||||||
visible = false
|
|
||||||
position = Vector2( -0.53, 0.58 )
|
|
||||||
rotation = 0.204192
|
|
||||||
preprocess = 0.8
|
|
||||||
randomness = 0.07
|
|
||||||
local_coords = false
|
|
||||||
spread = 112.94
|
|
||||||
gravity = Vector2( 0, 0 )
|
|
||||||
initial_velocity = 12.0
|
|
||||||
initial_velocity_random = 0.54
|
|
||||||
angular_velocity = 310.59
|
|
||||||
angular_velocity_random = 0.84
|
|
||||||
linear_accel = 11.77
|
|
||||||
radial_accel = 37.26
|
|
||||||
tangential_accel = -13.72
|
|
||||||
tangential_accel_random = 0.79
|
|
||||||
damping = 77.44
|
|
||||||
damping_random = 0.09
|
|
||||||
angle_random = 0.86
|
|
||||||
scale_amount = 2.0
|
|
||||||
color = Color( 0.133333, 0.403922, 0.027451, 0.839216 )
|
|
||||||
hue_variation = 0.22
|
|
||||||
hue_variation_random = 0.88
|
|
||||||
|
|
||||||
[node name="shoulder_l" type="Sprite" parent="Hip/Torso/arm_l"]
|
[node name="shoulder_l" type="Sprite" parent="Hip/Torso/arm_l"]
|
||||||
position = Vector2( 0, -1.5 )
|
position = Vector2( 0, -1.5 )
|
||||||
texture = ExtResource( 1 )
|
texture = ExtResource( 1 )
|
||||||
|
@ -537,80 +537,80 @@ texture={
|
|||||||
|
|
||||||
ui_accept={
|
ui_accept={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777221,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777221,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777222,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777222,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null)
|
||||||
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
|
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
actionbar_1_0={
|
actionbar_1_0={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":82,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":82,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
actionbar_1_1={
|
actionbar_1_1={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":70,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":70,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
actionbar_1_2={
|
actionbar_1_2={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":67,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":67,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
actionbar_1_3={
|
actionbar_1_3={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":84,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":84,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
actionbar_1_4={
|
actionbar_1_4={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":71,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":71,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
actionbar_1_5={
|
actionbar_1_5={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":49,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":49,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
actionbar_1_6={
|
actionbar_1_6={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":50,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":50,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
actionbar_1_7={
|
actionbar_1_7={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":51,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":51,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
actionbar_1_8={
|
actionbar_1_8={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":52,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":52,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
actionbar_1_9={
|
actionbar_1_9={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":true,"control":false,"meta":false,"command":false,"pressed":false,"scancode":82,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":true,"control":false,"meta":false,"command":false,"pressed":false,"scancode":82,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
actionbar_1_10={
|
actionbar_1_10={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":true,"control":false,"meta":false,"command":false,"pressed":false,"scancode":70,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":true,"control":false,"meta":false,"command":false,"pressed":false,"scancode":70,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
actionbar_1_11={
|
actionbar_1_11={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":true,"control":false,"meta":false,"command":false,"pressed":false,"scancode":84,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":true,"control":false,"meta":false,"command":false,"pressed":false,"scancode":84,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
actionbar_1_12={
|
actionbar_1_12={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":true,"control":false,"meta":false,"command":false,"pressed":false,"scancode":39,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":true,"control":false,"meta":false,"command":false,"pressed":false,"scancode":39,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
sheath={
|
sheath={
|
||||||
"deadzone": 0.5,
|
"deadzone": 0.5,
|
||||||
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":80,"physical_scancode":0,"unicode":0,"echo":false,"script":null)
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":80,"unicode":0,"echo":false,"script":null)
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user