您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

flag_keeper.gd 459B

1234567891011121314151617181920212223242526
  1. extends Node
  2. @onready var main_interface = $"../.."
  3. @onready var flags: Dictionary
  4. # Called when the node enters the scene tree for the first time.
  5. func _ready():
  6. flags = {
  7. "total_score": {
  8. "next": 0,
  9. "list": [1,10,],
  10. },
  11. "current_score": {
  12. "next": 0,
  13. "list": [],
  14. },
  15. "narration_milestones": {
  16. "next": 0,
  17. "list": [],
  18. }
  19. }
  20. # Called every frame. 'delta' is the elapsed time since the previous frame.
  21. func _process(delta):
  22. pass