Extensive work on virtually all of the visuals and the net code
This commit is contained in:
@@ -2,7 +2,7 @@ class_name ControlDisplay extends Control
|
||||
|
||||
@onready var range_attack_button : TextureButton = $RangedAttack
|
||||
@onready var melee_attack_button : TextureButton = $MeleeAttack
|
||||
@onready var trap_button : TextureButton = $Trap
|
||||
@onready var hack_button : TextureButton = $Hack
|
||||
@onready var detect_button : TextureButton = $Detect
|
||||
@onready var switch_button : TextureButton = $Switch
|
||||
|
||||
@@ -11,7 +11,7 @@ func _on_melee_range_changed(melee : bool) -> void:
|
||||
melee_attack_button.visible = melee
|
||||
|
||||
func _process(delta: float) -> void:
|
||||
trap_button.set_pressed_no_signal(Input.is_action_pressed("lay trap"))
|
||||
hack_button.set_pressed_no_signal(Input.is_action_pressed("install"))
|
||||
detect_button.set_pressed_no_signal(Input.is_action_pressed("detect"))
|
||||
switch_button.set_pressed_no_signal(Input.is_action_pressed("detonate"))
|
||||
melee_attack_button.set_pressed_no_signal(Input.is_action_pressed("attack"))
|
||||
|
||||
Reference in New Issue
Block a user