[gd_scene load_steps=8 format=2]

[ext_resource path="res://art/txwkloma.bmp" type="Texture" id=1]
[ext_resource path="res://art/VAMPIRE SURVIVOR/SPELLS/RPG_Weapons.png" type="Texture" id=2]

[sub_resource type="Shader" id=1]
code = "shader_type canvas_item;
render_mode blend_mix;

"

[sub_resource type="ShaderMaterial" id=2]
shader = SubResource( 1 )

[sub_resource type="AtlasTexture" id=3]
atlas = ExtResource( 2 )
region = Rect2( 41, 31, 48, 67 )

[sub_resource type="Animation" id=5]
resource_name = "attack2"
length = 0.5
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath("RPG_Weapons:rotation_degrees")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.15 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ 254.261, -47.1622 ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("txwkloma:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0.05, 0.2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( 70, 0 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("txwkloma:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0.05, 0.2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("RPG_Weapons:position")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0, 0.15 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( -9.54593, 19.799 ), Vector2( 24.7487, -25.1023 ) ]
}

[sub_resource type="Animation" id=28]
resource_name = "melee"
length = 0.5
step = 0.05
tracks/0/type = "value"
tracks/0/path = NodePath("RPG_Weapons:rotation_degrees")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.35 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ -47.1622, 254.261 ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("txwkloma:position")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0.05, 0.25 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( 70, 0 ) ]
}
tracks/2/type = "value"
tracks/2/path = NodePath("txwkloma:modulate")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray( 0.05, 0.25 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("RPG_Weapons:position")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0, 0.35 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 24.7487, -25.1023 ), Vector2( -9.54593, 19.799 ) ]
}
tracks/4/type = "value"
tracks/4/path = NodePath("RPG_Weapons:visible")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/keys = {
"times": PoolRealArray( 0, 0.35 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 1,
"values": [ true, false ]
}

[node name="weapon" type="Node2D"]

[node name="RPG_Weapons" type="Sprite" parent="."]
material = SubResource( 2 )
position = Vector2( 5.15179, 0.555578 )
rotation = 2.18305
texture = SubResource( 3 )
offset = Vector2( 0.754765, -30.8505 )
region_rect = Rect2( 47, 35, 36, 68 )

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/attack2 = SubResource( 5 )
anims/melee = SubResource( 28 )

[node name="txwkloma" type="Sprite" parent="."]
modulate = Color( 1, 1, 1, 0.25 )
position = Vector2( 52.5, 0 )
scale = Vector2( 2, 2 )
texture = ExtResource( 1 )
