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.

539 lines
12 KiB

  1. [gd_scene load_steps=7 format=2]
  2. [ext_resource path="res://scripts/lobby.gd" type="Script" id=1]
  3. [ext_resource path="res://scripts/hero_select.gd" type="Script" id=2]
  4. [sub_resource type="DynamicFontData" id=3]
  5. font_path = "res://assets/DejaVuSansMono.ttf"
  6. _sections_unfolded = [ "Resource" ]
  7. [sub_resource type="DynamicFont" id=4]
  8. size = 30
  9. use_mipmaps = false
  10. use_filter = false
  11. font_data = SubResource( 3 )
  12. _sections_unfolded = [ "Extra Spacing", "Font", "Resource", "Settings" ]
  13. [sub_resource type="DynamicFontData" id=1]
  14. font_path = "res://assets/DejaVuSansMono.ttf"
  15. _sections_unfolded = [ "Resource" ]
  16. [sub_resource type="DynamicFont" id=2]
  17. size = 16
  18. use_mipmaps = false
  19. use_filter = false
  20. font_data = SubResource( 1 )
  21. _sections_unfolded = [ "Font", "Resource", "Settings" ]
  22. [node name="Control" type="Control"]
  23. anchor_left = 0.0
  24. anchor_top = 0.0
  25. anchor_right = 0.0
  26. anchor_bottom = 0.0
  27. margin_left = 80.0
  28. margin_top = 99.0
  29. margin_right = 120.0
  30. margin_bottom = 139.0
  31. rect_pivot_offset = Vector2( 0, 0 )
  32. mouse_filter = 0
  33. mouse_default_cursor_shape = 0
  34. size_flags_horizontal = 1
  35. size_flags_vertical = 1
  36. script = ExtResource( 1 )
  37. _sections_unfolded = [ "Anchor" ]
  38. [node name="Title" type="Label" parent="." index="0"]
  39. anchor_left = 0.0
  40. anchor_top = 0.0
  41. anchor_right = 0.0
  42. anchor_bottom = 0.0
  43. margin_left = 7.0
  44. margin_top = -72.0
  45. margin_right = 195.0
  46. margin_bottom = -32.0
  47. rect_pivot_offset = Vector2( 0, 0 )
  48. mouse_filter = 2
  49. mouse_default_cursor_shape = 0
  50. size_flags_horizontal = 1
  51. size_flags_vertical = 4
  52. custom_fonts/font = SubResource( 4 )
  53. text = "VANAGLORIA"
  54. percent_visible = 1.0
  55. lines_skipped = 0
  56. max_lines_visible = -1
  57. _sections_unfolded = [ "custom_fonts" ]
  58. [node name="Server" type="Button" parent="." index="1"]
  59. anchor_left = 0.0
  60. anchor_top = 0.0
  61. anchor_right = 0.0
  62. anchor_bottom = 0.0
  63. margin_left = 7.0
  64. margin_top = -9.0
  65. margin_right = 159.0
  66. margin_bottom = 46.0
  67. rect_pivot_offset = Vector2( 0, 0 )
  68. focus_mode = 2
  69. mouse_filter = 0
  70. mouse_default_cursor_shape = 0
  71. size_flags_horizontal = 1
  72. size_flags_vertical = 1
  73. toggle_mode = false
  74. enabled_focus_mode = 2
  75. shortcut = null
  76. group = null
  77. text = "Server"
  78. flat = false
  79. align = 1
  80. [node name="ServerStart" type="Button" parent="." index="2"]
  81. anchor_left = 0.0
  82. anchor_top = 0.0
  83. anchor_right = 0.0
  84. anchor_bottom = 0.0
  85. margin_left = 166.0
  86. margin_top = -10.0
  87. margin_right = 279.0
  88. margin_bottom = 45.0
  89. rect_pivot_offset = Vector2( 0, 0 )
  90. focus_mode = 2
  91. mouse_filter = 0
  92. mouse_default_cursor_shape = 0
  93. size_flags_horizontal = 1
  94. size_flags_vertical = 1
  95. toggle_mode = false
  96. enabled_focus_mode = 2
  97. shortcut = null
  98. group = null
  99. text = "Start game"
  100. flat = false
  101. align = 1
  102. _sections_unfolded = [ "Visibility" ]
  103. [node name="LevelSelect" type="OptionButton" parent="ServerStart" index="0"]
  104. anchor_left = 0.0
  105. anchor_top = 0.0
  106. anchor_right = 0.0
  107. anchor_bottom = 0.0
  108. margin_left = 123.0
  109. margin_top = 1.0
  110. margin_right = 238.0
  111. margin_bottom = 53.0
  112. rect_pivot_offset = Vector2( 0, 0 )
  113. focus_mode = 2
  114. mouse_filter = 0
  115. mouse_default_cursor_shape = 0
  116. size_flags_horizontal = 1
  117. size_flags_vertical = 1
  118. toggle_mode = false
  119. action_mode = 0
  120. enabled_focus_mode = 2
  121. shortcut = null
  122. group = null
  123. text = "Platform map"
  124. flat = false
  125. align = 0
  126. selected = 0
  127. items = [ "Platform map", null, false, 0, null, "City-like thing", null, false, 1, null, "Slide", null, false, 2, null ]
  128. [node name="HSeparator" type="HSeparator" parent="." index="3"]
  129. anchor_left = 0.0
  130. anchor_top = 0.0
  131. anchor_right = 0.0
  132. anchor_bottom = 0.0
  133. margin_left = 10.0
  134. margin_top = 61.0
  135. margin_right = 408.0
  136. margin_bottom = 65.0
  137. rect_pivot_offset = Vector2( 0, 0 )
  138. mouse_filter = 0
  139. mouse_default_cursor_shape = 0
  140. size_flags_horizontal = 1
  141. size_flags_vertical = 1
  142. [node name="Client" type="Button" parent="." index="4"]
  143. anchor_left = 0.0
  144. anchor_top = 0.0
  145. anchor_right = 0.0
  146. anchor_bottom = 0.0
  147. margin_left = 10.0
  148. margin_top = 76.0
  149. margin_right = 159.0
  150. margin_bottom = 133.0
  151. rect_pivot_offset = Vector2( 0, 0 )
  152. focus_mode = 2
  153. mouse_filter = 0
  154. mouse_default_cursor_shape = 0
  155. size_flags_horizontal = 1
  156. size_flags_vertical = 1
  157. toggle_mode = false
  158. enabled_focus_mode = 2
  159. shortcut = null
  160. group = null
  161. text = "Client"
  162. flat = false
  163. align = 1
  164. [node name="IPLabel" type="Label" parent="." index="5"]
  165. anchor_left = 0.0
  166. anchor_top = 0.0
  167. anchor_right = 0.0
  168. anchor_bottom = 0.0
  169. margin_left = 178.0
  170. margin_top = 85.0
  171. margin_right = 203.0
  172. margin_bottom = 101.0
  173. rect_pivot_offset = Vector2( 0, 0 )
  174. mouse_filter = 2
  175. mouse_default_cursor_shape = 0
  176. size_flags_horizontal = 1
  177. size_flags_vertical = 4
  178. text = "IP:"
  179. percent_visible = 1.0
  180. lines_skipped = 0
  181. max_lines_visible = -1
  182. _sections_unfolded = [ "Visibility" ]
  183. [node name="IP" type="TextEdit" parent="." index="6"]
  184. anchor_left = 0.0
  185. anchor_top = 0.0
  186. anchor_right = 0.0
  187. anchor_bottom = 0.0
  188. margin_left = 207.0
  189. margin_top = 83.0
  190. margin_right = 405.0
  191. margin_bottom = 101.0
  192. rect_pivot_offset = Vector2( 0, 0 )
  193. focus_mode = 2
  194. mouse_filter = 0
  195. mouse_default_cursor_shape = 0
  196. size_flags_horizontal = 1
  197. size_flags_vertical = 1
  198. text = "127.0.0.1"
  199. readonly = false
  200. highlight_current_line = false
  201. syntax_highlighting = false
  202. show_line_numbers = false
  203. highlight_all_occurrences = false
  204. override_selected_font_color = false
  205. context_menu_enabled = true
  206. smooth_scrolling = false
  207. v_scroll_speed = 80.0
  208. hiding_enabled = 0
  209. wrap_lines = false
  210. caret_block_mode = false
  211. caret_blink = false
  212. caret_blink_speed = 0.65
  213. caret_moving_by_right_click = true
  214. [node name="ForceStart" type="CheckBox" parent="." index="7"]
  215. anchor_left = 0.0
  216. anchor_top = 0.0
  217. anchor_right = 0.0
  218. anchor_bottom = 0.0
  219. margin_left = 172.0
  220. margin_top = 111.0
  221. margin_right = 196.0
  222. margin_bottom = 135.0
  223. rect_pivot_offset = Vector2( 0, 0 )
  224. focus_mode = 2
  225. mouse_filter = 0
  226. mouse_default_cursor_shape = 0
  227. size_flags_horizontal = 1
  228. size_flags_vertical = 1
  229. toggle_mode = true
  230. enabled_focus_mode = 2
  231. shortcut = null
  232. group = null
  233. flat = false
  234. align = 0
  235. [node name="ForceStartLabel" type="Label" parent="ForceStart" index="0"]
  236. anchor_left = 0.0
  237. anchor_top = 0.0
  238. anchor_right = 0.0
  239. anchor_bottom = 0.0
  240. margin_left = 29.0
  241. margin_top = 5.0
  242. margin_right = 69.0
  243. margin_bottom = 19.0
  244. rect_pivot_offset = Vector2( 0, 0 )
  245. mouse_filter = 2
  246. mouse_default_cursor_shape = 0
  247. size_flags_horizontal = 1
  248. size_flags_vertical = 4
  249. text = "Force game to start"
  250. percent_visible = 1.0
  251. lines_skipped = 0
  252. max_lines_visible = -1
  253. [node name="HSeparator2" type="HSeparator" parent="." index="8"]
  254. anchor_left = 0.0
  255. anchor_top = 0.0
  256. anchor_right = 0.0
  257. anchor_bottom = 0.0
  258. margin_left = 13.0
  259. margin_top = 154.0
  260. margin_right = 411.0
  261. margin_bottom = 158.0
  262. rect_pivot_offset = Vector2( 0, 0 )
  263. mouse_filter = 0
  264. mouse_default_cursor_shape = 0
  265. size_flags_horizontal = 1
  266. size_flags_vertical = 1
  267. [node name="Singleplayer" type="Button" parent="." index="9"]
  268. anchor_left = 0.0
  269. anchor_top = 0.0
  270. anchor_right = 0.0
  271. anchor_bottom = 0.0
  272. margin_left = 12.0
  273. margin_top = 174.0
  274. margin_right = 159.0
  275. margin_bottom = 237.0
  276. rect_pivot_offset = Vector2( 0, 0 )
  277. focus_mode = 2
  278. mouse_filter = 0
  279. mouse_default_cursor_shape = 0
  280. size_flags_horizontal = 1
  281. size_flags_vertical = 1
  282. toggle_mode = false
  283. enabled_focus_mode = 2
  284. shortcut = null
  285. group = null
  286. text = "Singleplayer"
  287. flat = false
  288. align = 1
  289. [node name="VSeparator" type="VSeparator" parent="." index="10"]
  290. anchor_left = 0.0
  291. anchor_top = 0.0
  292. anchor_right = 0.0
  293. anchor_bottom = 0.0
  294. margin_left = 431.0
  295. margin_top = -3.0
  296. margin_right = 435.0
  297. margin_bottom = 110.0
  298. rect_pivot_offset = Vector2( 0, 0 )
  299. mouse_filter = 0
  300. mouse_default_cursor_shape = 0
  301. size_flags_horizontal = 1
  302. size_flags_vertical = 1
  303. [node name="Label" type="Label" parent="." index="11"]
  304. anchor_left = 0.0
  305. anchor_top = 0.0
  306. anchor_right = 0.0
  307. anchor_bottom = 0.0
  308. margin_left = 459.0
  309. margin_top = -6.0
  310. margin_right = 564.0
  311. margin_bottom = 13.0
  312. rect_pivot_offset = Vector2( 0, 0 )
  313. mouse_filter = 2
  314. mouse_default_cursor_shape = 0
  315. size_flags_horizontal = 1
  316. size_flags_vertical = 4
  317. text = "Player Settings"
  318. percent_visible = 1.0
  319. lines_skipped = 0
  320. max_lines_visible = -1
  321. [node name="Username" type="TextEdit" parent="." index="12"]
  322. anchor_left = 0.0
  323. anchor_top = 0.0
  324. anchor_right = 0.0
  325. anchor_bottom = 0.0
  326. margin_left = 457.0
  327. margin_top = 27.0
  328. margin_right = 636.0
  329. margin_bottom = 47.0
  330. rect_pivot_offset = Vector2( 0, 0 )
  331. focus_mode = 2
  332. mouse_filter = 0
  333. mouse_default_cursor_shape = 0
  334. size_flags_horizontal = 1
  335. size_flags_vertical = 1
  336. text = "Nickname"
  337. readonly = false
  338. highlight_current_line = false
  339. syntax_highlighting = false
  340. show_line_numbers = false
  341. highlight_all_occurrences = false
  342. override_selected_font_color = false
  343. context_menu_enabled = true
  344. smooth_scrolling = false
  345. v_scroll_speed = 80.0
  346. hiding_enabled = 0
  347. wrap_lines = false
  348. caret_block_mode = false
  349. caret_blink = false
  350. caret_blink_speed = 0.65
  351. caret_moving_by_right_click = true
  352. [node name="HeroSelectLabel" type="Label" parent="." index="13"]
  353. anchor_left = 0.0
  354. anchor_top = 0.0
  355. anchor_right = 0.0
  356. anchor_bottom = 0.0
  357. margin_left = 460.0
  358. margin_top = 66.0
  359. margin_right = 538.0
  360. margin_bottom = 80.0
  361. rect_pivot_offset = Vector2( 0, 0 )
  362. mouse_filter = 2
  363. mouse_default_cursor_shape = 0
  364. size_flags_horizontal = 1
  365. size_flags_vertical = 4
  366. text = "Hero Select:"
  367. percent_visible = 1.0
  368. lines_skipped = 0
  369. max_lines_visible = -1
  370. [node name="HeroSelect" type="OptionButton" parent="." index="14"]
  371. anchor_left = 0.0
  372. anchor_top = 0.0
  373. anchor_right = 0.0
  374. anchor_bottom = 0.0
  375. margin_left = 457.0
  376. margin_top = 94.0
  377. margin_right = 645.0
  378. margin_bottom = 114.0
  379. rect_rotation = -0.0115615
  380. rect_pivot_offset = Vector2( 0, 0 )
  381. focus_mode = 2
  382. mouse_filter = 0
  383. mouse_default_cursor_shape = 0
  384. size_flags_horizontal = 1
  385. size_flags_vertical = 1
  386. toggle_mode = false
  387. action_mode = 0
  388. enabled_focus_mode = 2
  389. shortcut = null
  390. group = null
  391. flat = false
  392. align = 0
  393. selected = -1
  394. items = [ ]
  395. script = ExtResource( 2 )
  396. [node name="TeamLabel" type="Label" parent="." index="15"]
  397. anchor_left = 0.0
  398. anchor_top = 0.0
  399. anchor_right = 0.0
  400. anchor_bottom = 0.0
  401. margin_left = 459.0
  402. margin_top = 132.0
  403. margin_right = 558.0
  404. margin_bottom = 146.0
  405. rect_pivot_offset = Vector2( 0, 0 )
  406. mouse_filter = 2
  407. mouse_default_cursor_shape = 0
  408. size_flags_horizontal = 1
  409. size_flags_vertical = 4
  410. text = "Assigned team:"
  411. percent_visible = 1.0
  412. lines_skipped = 0
  413. max_lines_visible = -1
  414. [node name="Team" type="Label" parent="." index="16"]
  415. anchor_left = 0.0
  416. anchor_top = 0.0
  417. anchor_right = 0.0
  418. anchor_bottom = 0.0
  419. margin_left = 460.0
  420. margin_top = 157.0
  421. margin_right = 500.0
  422. margin_bottom = 171.0
  423. rect_pivot_offset = Vector2( 0, 0 )
  424. mouse_filter = 2
  425. mouse_default_cursor_shape = 0
  426. size_flags_horizontal = 1
  427. size_flags_vertical = 4
  428. percent_visible = 1.0
  429. lines_skipped = 0
  430. max_lines_visible = -1
  431. [node name="HSeparator3" type="HSeparator" parent="." index="17"]
  432. anchor_left = 0.0
  433. anchor_top = 0.0
  434. anchor_right = 0.0
  435. anchor_bottom = 0.0
  436. margin_left = 19.0
  437. margin_top = 254.0
  438. margin_right = 645.0
  439. margin_bottom = 258.0
  440. rect_pivot_offset = Vector2( 0, 0 )
  441. mouse_filter = 0
  442. mouse_default_cursor_shape = 0
  443. size_flags_horizontal = 1
  444. size_flags_vertical = 1
  445. [node name="PlayerListLabel" type="Label" parent="." index="18"]
  446. anchor_left = 0.0
  447. anchor_top = 0.0
  448. anchor_right = 0.0
  449. anchor_bottom = 0.0
  450. margin_left = 14.0
  451. margin_top = 270.0
  452. margin_right = 136.0
  453. margin_bottom = 284.0
  454. rect_pivot_offset = Vector2( 0, 0 )
  455. mouse_filter = 2
  456. mouse_default_cursor_shape = 0
  457. size_flags_horizontal = 1
  458. size_flags_vertical = 4
  459. text = "Connected Players:"
  460. percent_visible = 1.0
  461. lines_skipped = 0
  462. max_lines_visible = -1
  463. [node name="PlayerList" type="Label" parent="." index="19"]
  464. anchor_left = 0.5
  465. anchor_top = 0.5
  466. anchor_right = 0.5
  467. anchor_bottom = 0.5
  468. margin_left = -7.0
  469. margin_top = 270.0
  470. margin_right = 639.0
  471. margin_bottom = 460.0
  472. rect_pivot_offset = Vector2( 0, 0 )
  473. mouse_filter = 2
  474. mouse_default_cursor_shape = 0
  475. size_flags_horizontal = 1
  476. size_flags_vertical = 4
  477. custom_fonts/font = SubResource( 2 )
  478. text = "Waiting for players to connect...."
  479. percent_visible = 1.0
  480. lines_skipped = 0
  481. max_lines_visible = -1
  482. _sections_unfolded = [ "BBCode", "custom_fonts" ]