mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-13 00:05:55 +00:00
Custom module
This commit is contained in:
parent
e43f67c872
commit
0b1ea343dc
25 changed files with 598 additions and 33 deletions
25
Dialogue/Styles/Layers/Image_Layer/Image/custom_image.tscn
Normal file
25
Dialogue/Styles/Layers/Image_Layer/Image/custom_image.tscn
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://bvoym0jf534us"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ct3rq3r2th80u" path="res://Dialogue/Styles/Layers/Image_Layer/Image/image_layer.gd" id="1_3ircq"]
|
||||
[ext_resource type="Script" uid="uid://hiekbi2rsq1j" path="res://Dialogue/Styles/Layers/Image_Layer/Image/node_image_holder.gd" id="2_3ircq"]
|
||||
|
||||
[node name="ImageLayer" type="Control"]
|
||||
layout_direction = 2
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_3ircq")
|
||||
|
||||
[node name="DialogicNode_ImageHolder" type="ColorRect" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
color = Color(1, 1, 1, 0)
|
||||
script = ExtResource("2_3ircq")
|
||||
2
Dialogue/Styles/Layers/Image_Layer/Image/image_layer.gd
Normal file
2
Dialogue/Styles/Layers/Image_Layer/Image/image_layer.gd
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
@tool
|
||||
extends DialogicLayoutLayer
|
||||
|
|
@ -0,0 +1 @@
|
|||
uid://ct3rq3r2th80u
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
class_name DialogicNode_ImageHolder
|
||||
extends DialogicNode_BackgroundHolder
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
add_to_group('dialogic_image_holders')
|
||||
|
|
@ -0,0 +1 @@
|
|||
uid://hiekbi2rsq1j
|
||||
Loading…
Add table
Add a link
Reference in a new issue