mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-14 17:03:48 +00:00
Updated dialogic
This commit is contained in:
parent
1d11462073
commit
cbb82512ee
483 changed files with 5743 additions and 2177 deletions
|
|
@ -19,6 +19,10 @@ func _update_background(argument:String, _time:float) -> void:
|
|||
if argument.begins_with('res://'):
|
||||
image_node.texture = load(argument)
|
||||
color_node.color = Color.TRANSPARENT
|
||||
elif argument.begins_with('user://'):
|
||||
var ext_image = Image.load_from_file(argument)
|
||||
image_node.texture = ImageTexture.create_from_image(ext_image)
|
||||
color_node.color = Color.TRANSPARENT
|
||||
elif argument.is_valid_html_color():
|
||||
image_node.texture = null
|
||||
color_node.color = Color(argument, 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue