more weapon select tweaks, still need to fix the 0 index highlighting issue
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
#@tool
|
||||
extends Control
|
||||
|
||||
@export var outer_radius : int = 256
|
||||
@export var inner_radius : int = 256
|
||||
@export var line_width : int = 4
|
||||
|
||||
@onready var level_control = get_tree().current_scene
|
||||
var options = []
|
||||
|
||||
@onready var level_control = get_tree().current_scene
|
||||
|
||||
const outer_radius : int = 500
|
||||
const inner_radius : int = 100
|
||||
const bkg_color : Color = Color(1, 1, 1, .5)
|
||||
const line_color : Color = Color(1,1,1)
|
||||
const select_color = Color(1, 1, 1, .5)
|
||||
@@ -17,6 +16,10 @@ const IMAGE_SIZE = Vector2(512,512)
|
||||
|
||||
var selection
|
||||
|
||||
func open():
|
||||
show()
|
||||
update_weapon_list()
|
||||
|
||||
func close():
|
||||
hide()
|
||||
return selection
|
||||
|
||||
Reference in New Issue
Block a user