Fixed settings and updated player view. Fixed many other smaler things
This commit is contained in:
@@ -15,7 +15,8 @@ func _ready():
|
||||
characters.list_dir_begin()
|
||||
var file_name = characters.get_next()
|
||||
while file_name != "":
|
||||
if !file_name.ends_with(".import"):
|
||||
file_name = file_name.replace('.import', '') # <--- remove the .import
|
||||
if file_name.ends_with(".png"):
|
||||
|
||||
var texture = load("res://characters/" + file_name)
|
||||
|
||||
@@ -36,9 +37,4 @@ func show_grid():
|
||||
|
||||
func select_character(file_name: String):
|
||||
print("select_character")
|
||||
#character_grid_container.visible = false
|
||||
character_selected.emit(file_name)
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
pass
|
||||
character_selected.emit(file_name)
|
||||
Reference in New Issue
Block a user