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.
 
 
 

30 lines
603 B

extends "res://scripts/player.gd"
onready var placement = preload("res://scripts/placement.gd").new(self, "res://scenes/heroes/1_wall.tscn")
# --- Godot overrides ---
func _ready():
placement.start_action = "hero_1_place_wall"
placement.confirm_action = "hero_1_confirm_wall"
placement.delete_action = "hero_1_remove_wall"
placement.max_placed = 5
func _process(delta):
if is_network_master():
placement.place_input()
func _exit_tree():
._exit_tree()
if placement:
placement.clear()
# --- Player overrides ---
func spawn():
.spawn()
if placement:
placement.clear()
# --- Own ---