added the option for iframes

This commit is contained in:
pennyrigate 2023-02-20 00:48:01 -05:00
parent 19dd1809a2
commit 39a6c027c4
3 changed files with 56 additions and 39 deletions

View file

@ -711,6 +711,10 @@ scale_amount = 0.25
scale_amount_random = 0.5
scale_amount_curve = SubResource( 43 )
[node name="IframeTimer" type="Timer" parent="."]
wait_time = 0.3
[connection signal="body_entered" from="Area2D" to="." method="_on_Area2D_body_entered"]
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]
[connection signal="area_entered" from="SwordArea" to="." method="_on_SwordArea_area_entered"]
[connection signal="timeout" from="IframeTimer" to="." method="_on_IframeTimer_timeout"]