A team game with an emphasis on movement (with no shooting), inspired by Overwatch and Zineth
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.

35 lines
1.1 KiB

  1. extends OptionButton
  2. const hero_names = [
  3. "INDUSTRIA",
  4. "IRA",
  5. "LUSSURIA",
  6. "CARITAS",
  7. "PAZIENZA",
  8. "SUPERBIA",
  9. ]
  10. const hero_text = [
  11. "DILIGENCE.\n\nWallride by jumping on walls.\n\nHold left click to go faster (but spend charge).",
  12. "WRATH.\n\nPress E and click (or just click) to build a wall.\n\nRight click to destroy one.",
  13. "LUST.\n\nYou attract nearby heroes.\n\nPress E to switch to repelling them.",
  14. "GENEROSITY.\n\nMake contact with a friend to boost their speed.\n\nPress E to separate.",
  15. "PATIENCE.\n\nHold left mouse button on an enemy to slow them down.\n\nPress E to delete someone else's building (costs charge).",
  16. "PRIDE.\n\nDrag on enemies to bully them around.\n\nClick to build a portal. Click again to build its partner (costs charge).",
  17. ]
  18. func _ready():
  19. for hero_index in range(hero_names.size()):
  20. add_item(hero_names[hero_index], hero_index)
  21. connect("item_selected", self, "set_hero")
  22. func set_hero(hero):
  23. select(hero)
  24. networking.set_info_from_server("hero", hero)
  25. func random_hero():
  26. var hero = randi() % hero_names.size()
  27. set_hero(hero)
  28. return hero