No Description
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.

ScrollingBG.gd 389B

12345678910111213141516171819
  1. extends TextureRect
  2. # Declare member variables here. Examples:
  3. # var a = 2
  4. # var b = "text"
  5. # Called when the node enters the scene tree for the first time.
  6. func _ready():
  7. Signals.connect("die",self,"game_over")
  8. # Called every frame. 'delta' is the elapsed time since the previous frame.
  9. #func _process(delta):
  10. # pass
  11. func game_over():
  12. material.set_shader_param("scroll_speed",0)