Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
b675495c6e
BIN
art/TripleWand.png
Normal file
BIN
art/TripleWand.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 232 B |
34
art/TripleWand.png.import
Normal file
34
art/TripleWand.png.import
Normal file
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/TripleWand.png-c3be8bf1f27f8a1003796699f4ff6abc.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://art/TripleWand.png"
|
||||
dest_files=[ "res://.import/TripleWand.png-c3be8bf1f27f8a1003796699f4ff6abc.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=false
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=false
|
||||
svg/scale=1.0
|
12
magic/Wands/TripleWand.tscn
Normal file
12
magic/Wands/TripleWand.tscn
Normal file
|
@ -0,0 +1,12 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://art/TripleWand.png" type="Texture" id=1]
|
||||
|
||||
[node name="TripleWand" type="Sprite"]
|
||||
rotation = 1.5708
|
||||
texture = ExtResource( 1 )
|
||||
offset = Vector2( 0, -11 )
|
||||
|
||||
[node name="ProjectileSpawn" type="Position2D" parent="."]
|
||||
|
||||
[node name="ShootDelay" type="Timer" parent="."]
|
|
@ -78,3 +78,12 @@ func _on_Conduit1_toggled(button_pressed):
|
|||
parent.WandManager.set_current_conduit(active_conduit)
|
||||
else:
|
||||
parent.WandManager.clear_conduit()
|
||||
|
||||
|
||||
func _on_Conduit2_toggled(button_pressed):
|
||||
if button_pressed and Conduit2.is_visible():
|
||||
active_conduit = Globals.Magic[Globals.Conduit2]
|
||||
print(active_conduit)
|
||||
parent.WandManager.set_current_conduit(active_conduit)
|
||||
else:
|
||||
parent.WandManager.clear_conduit()
|
||||
|
|
Loading…
Reference in a new issue