diff --git a/Assets/HUD/Sprite.svg b/Assets/HUD/Sprite.svg new file mode 100644 index 0000000..c5fa454 --- /dev/null +++ b/Assets/HUD/Sprite.svg @@ -0,0 +1,55 @@ + + + + + + + + image/svg+xml + + + + + + + diff --git a/Assets/Weapons/Handgun/DefaultMaterial.material b/Assets/Weapons/Handgun/DefaultMaterial.material new file mode 100644 index 0000000..6bb7a0a Binary files /dev/null and b/Assets/Weapons/Handgun/DefaultMaterial.material differ diff --git a/Assets/Weapons/Handgun/Handgun.tscn b/Assets/Weapons/Handgun/Handgun.tscn index fb1c518..bdc2ee6 100644 --- a/Assets/Weapons/Handgun/Handgun.tscn +++ b/Assets/Weapons/Handgun/Handgun.tscn @@ -1,48 +1,11 @@ -[gd_scene load_steps=9 format=2] +[gd_scene load_steps=3 format=2] [ext_resource path="res://Assets/Weapons/Handgun/Handgun.gltf" type="PackedScene" id=1] [ext_resource path="res://Assets/Weapons/Weapon.gd" type="Script" id=2] -[sub_resource type="AnimationNodeAdd2" id=1] - -[sub_resource type="AnimationNodeAnimation" id=2] -animation = "StaticAction" - -[sub_resource type="AnimationNodeAnimation" id=3] -animation = "SlideAction" - -[sub_resource type="AnimationNodeBlendTree" id=4] -nodes/Add2/node = SubResource( 1 ) -nodes/Add2/position = Vector2( 400, 160 ) -nodes/Animation/node = SubResource( 3 ) -nodes/Animation/position = Vector2( 100, 100 ) -"nodes/Animation 2/node" = SubResource( 2 ) -"nodes/Animation 2/position" = Vector2( 100, 280 ) -nodes/output/position = Vector2( 660, 200 ) -node_connections = [ "output", 0, "Add2", "Add2", 0, "Animation", "Add2", 1, "Animation 2" ] - -[sub_resource type="AnimationNodeStateMachine" id=5] -states/Shoot/node = SubResource( 4 ) -states/Shoot/position = Vector2( 450, 217 ) - -[sub_resource type="AnimationNodeStateMachinePlayback" id=6] - [node name="Weapon" type="Spatial"] script = ExtResource( 2 ) [node name="Handgun" parent="." instance=ExtResource( 1 )] -[node name="Static" parent="Handgun" index="0"] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.175396, 0.110301, 1.48199e-08 ) - -[node name="Slide" parent="Handgun/Static" index="2"] -transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.175396, -0.110301, -1.48199e-08 ) - -[node name="AnimationTree" type="AnimationTree" parent="."] -tree_root = SubResource( 5 ) -anim_player = NodePath("../Handgun/AnimationPlayer") -active = true -parameters/playback = SubResource( 6 ) -parameters/Shoot/Add2/add_amount = 1.0 - [editable path="Handgun"]