Proper firing logic handling
This commit is contained in:
parent
b58c740e06
commit
6a317d1913
12 changed files with 44 additions and 20 deletions
|
@ -1,7 +1,7 @@
|
|||
[gd_scene load_steps=8 format=3 uid="uid://dwx5tcatj35gu"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dts8lbivkgsmj" path="res://base/scripts/player/player.gd" id="1_1w3ab"]
|
||||
[ext_resource type="Texture2D" uid="uid://dftqlo1lltx5f" path="res://base/assets/sprites/guns/gangstaholder/static.png" id="2_1w3ab"]
|
||||
[ext_resource type="Texture2D" uid="uid://cy3ija8ratxjq" path="res://base/assets/sprites/guns/gangstaholder/shoot1.png" id="2_gt0rj"]
|
||||
[ext_resource type="PackedScene" uid="uid://bb6ovrbusyxpi" path="res://base/scenes/weapons/weapon_base.tscn" id="2_ma1q3"]
|
||||
[ext_resource type="Script" uid="uid://byhp4pklbjltn" path="res://base/scripts/player/weapon_container.gd" id="3_1w3ab"]
|
||||
[ext_resource type="Script" uid="uid://diu6eno2ag6ga" path="res://base/scripts/player/weapon_slot.gd" id="4_gt0rj"]
|
||||
|
@ -32,7 +32,7 @@ grow_horizontal = 2
|
|||
grow_vertical = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
texture = ExtResource("2_1w3ab")
|
||||
texture = ExtResource("2_gt0rj")
|
||||
stretch_mode = 6
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="HUD/Weapon"]
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
[sub_resource type="Resource" id="Resource_s6ep3"]
|
||||
script = ExtResource("2_wftdl")
|
||||
fire_delay = 0.3
|
||||
fire_delay = 0.35
|
||||
metadata/_custom_type_script = "uid://dsvgbyeerw1ld"
|
||||
|
||||
[node name="Weapon" instance=ExtResource("1_dnsf3")]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
[sub_resource type="Resource" id="Resource_ij06d"]
|
||||
script = ExtResource("2_bt0tf")
|
||||
fire_delay = 0.5
|
||||
fire_delay = 0.3
|
||||
metadata/_custom_type_script = "uid://ckexgw71dd5jc"
|
||||
|
||||
[node name="Weapon" type="Node3D"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue