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

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