Game.gd 308 B

12345678910111213
  1. extends Node2D
  2. var level: int = 0
  3. enum {READY, PLAYING, GAMEOVER}
  4. var status = READY
  5. # Called when the node enters the scene tree for the first time.
  6. func _ready():
  7. pass # Replace with function body.
  8. # Called every frame. 'delta' is the elapsed time since the previous frame.
  9. func _process(delta):
  10. pass