more weapon select tweaks, still need to fix the 0 index highlighting issue

This commit is contained in:
derek
2024-12-11 16:29:53 -06:00
parent 5ceaa00785
commit 906b566e7b
4 changed files with 9 additions and 9 deletions

View File

@@ -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