A game created for the Godot Wild Jam #21
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
832B

  1. [gd_scene load_steps=5 format=2]
  2. [ext_resource path="res://Data/Graphics/placeholder.png" type="Texture" id=1]
  3. [ext_resource path="res://Data/Scripts/Glowdot.gd" type="Script" id=2]
  4. [ext_resource path="res://Data/Shaders/Glowdot.shader" type="Shader" id=3]
  5. [sub_resource type="ShaderMaterial" id=1]
  6. shader = ExtResource( 3 )
  7. shader_param/primary_color = Color( 1, 0.8, 0, 1 )
  8. shader_param/fade_offset = 0.15
  9. [node name="Glowdot" type="Sprite"]
  10. material = SubResource( 1 )
  11. texture = ExtResource( 1 )
  12. script = ExtResource( 2 )
  13. [node name="Pulse" type="Tween" parent="."]
  14. [node name="PulseIn" type="Timer" parent="."]
  15. [node name="PulseOut" type="Timer" parent="."]
  16. [connection signal="timeout" from="PulseIn" to="." method="_on_PulseIn_timeout"]
  17. [connection signal="timeout" from="PulseOut" to="." method="_on_PulseOut_timeout"]