mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-15 02:13:47 +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)
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
uid://xwj105ltniqb
|
||||
uid://ci7s5odxo7543
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://cl6g6ymkhjven"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://xwj105ltniqb" path="res://addons/dialogic/Modules/Background/DefaultBackgroundScene/default_background.gd" id="1_nkdrp"]
|
||||
[ext_resource type="Script" uid="uid://ci7s5odxo7543" path="res://addons/dialogic/Modules/Background/DefaultBackgroundScene/default_background.gd" id="1_nkdrp"]
|
||||
|
||||
[node name="DefaultBackground" type="Control"]
|
||||
layout_mode = 3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue