A game created for the Godot Wild Jam #21
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

15 行
486B

  1. [gd_scene load_steps=2 format=2]
  2. [ext_resource path="res://Data/Scripts/ScreenShake.gd" type="Script" id=1]
  3. [node name="ScreenShake" type="Node2D"]
  4. script = ExtResource( 1 )
  5. [node name="Shake" type="Tween" parent="."]
  6. [node name="Frequency" type="Timer" parent="."]
  7. [node name="Duration" type="Timer" parent="."]
  8. [connection signal="timeout" from="Frequency" to="." method="_on_Frequency_timeout"]
  9. [connection signal="timeout" from="Duration" to="." method="_on_Duration_timeout"]