Fixed wands for real
This commit is contained in:
parent
09243dad4d
commit
a1f807687a
|
@ -14,3 +14,5 @@ position = Vector2( -8.01086e-05, -22 )
|
||||||
rotation = -1.5708
|
rotation = -1.5708
|
||||||
|
|
||||||
[node name="ShootDelay" type="Timer" parent="."]
|
[node name="ShootDelay" type="Timer" parent="."]
|
||||||
|
wait_time = 0.3
|
||||||
|
one_shot = true
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
[ext_resource path="res://magic/Wands/WandClass.gd" type="Script" id=2]
|
[ext_resource path="res://magic/Wands/WandClass.gd" type="Script" id=2]
|
||||||
|
|
||||||
[node name="PrismWand" type="Sprite"]
|
[node name="PrismWand" type="Sprite"]
|
||||||
|
position = Vector2( 4, 0 )
|
||||||
rotation = 1.5708
|
rotation = 1.5708
|
||||||
texture = ExtResource( 1 )
|
texture = ExtResource( 1 )
|
||||||
offset = Vector2( 0, -10 )
|
offset = Vector2( 0, -10 )
|
||||||
|
@ -14,3 +15,5 @@ position = Vector2( 0, -20 )
|
||||||
rotation = -1.5708
|
rotation = -1.5708
|
||||||
|
|
||||||
[node name="ShootDelay" type="Timer" parent="."]
|
[node name="ShootDelay" type="Timer" parent="."]
|
||||||
|
wait_time = 0.3
|
||||||
|
one_shot = true
|
||||||
|
|
|
@ -19,3 +19,4 @@ position = Vector2( -8.01086e-05, -22 )
|
||||||
position = Vector2( 4.99993, -20 )
|
position = Vector2( 4.99993, -20 )
|
||||||
|
|
||||||
[node name="ShootDelay" type="Timer" parent="."]
|
[node name="ShootDelay" type="Timer" parent="."]
|
||||||
|
wait_time = 0.3
|
||||||
|
|
|
@ -33,6 +33,7 @@ onready var Effect4 = $Inventory/Effects/Effect4
|
||||||
func _process(delta):
|
func _process(delta):
|
||||||
if Input.is_action_just_pressed("inventory"):
|
if Input.is_action_just_pressed("inventory"):
|
||||||
set_open(!open)
|
set_open(!open)
|
||||||
|
print(active_conduit)
|
||||||
|
|
||||||
func set_open(new):
|
func set_open(new):
|
||||||
if open != new:
|
if open != new:
|
||||||
|
|
Loading…
Reference in a new issue