Initial Android commit

This commit is contained in:
OleSTEEP 2024-11-10 03:34:28 +03:00
commit 1e2b80c13d
8521 changed files with 231475 additions and 0 deletions

View file

@ -0,0 +1,8 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://addons/dialogic/Editor/Events/Templates/EventTemplate.tscn" type="PackedScene" id=1]
[node name="ExampleCustomEvent" instance=ExtResource( 1 )]
[node name="OptionsControl" parent="PanelContainer/MarginContainer/VBoxContainer/Header" index="7"]
items = [ "Move Up", null, 0, false, false, 0, 0, null, "", false, "Move Down", null, 0, false, false, 1, 0, null, "", false, "", null, 0, false, false, 2, 0, null, "", false, "Remove", null, 0, false, false, 3, 0, null, "", false ]

View file

@ -0,0 +1,33 @@
tool
extends "res://addons/dialogic/Editor/Events/Parts/EventPart.gd"
onready var input_field = $InputField
func _ready():
input_field.connect("text_changed", self, "_on_InputField_text_changed")
pass
func load_data(data:Dictionary):
.load_data(data)
input_field.text = event_data["my_text_key"]
func get_preview():
return ""
func _on_InputField_text_changed(text):
event_data["my_text_key"] = text
data_changed()

View file

@ -0,0 +1,16 @@
[gd_scene load_steps=3 format=2]
[ext_resource path="res://addons/dialogic/Editor/Events/Parts/Text/CustomLineEdit.tscn" type="PackedScene" id=1]
[ext_resource path="res://addons/dialogic/Example Assets/CustomEvents/EventPart_Example.gd" type="Script" id=2]
[node name="EventPart_Example" type="HBoxContainer"]
margin_right = 40.0
margin_bottom = 40.0
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="InputField" parent="." instance=ExtResource( 1 )]
margin_top = 6.0
margin_bottom = 33.0

View file

@ -0,0 +1,13 @@
extends Node
func handle_event(event_data, dialog_node):
" \n If this event should wait for dialog advance to occur, uncomment the WAITING line \n If this event should block the dialog from continuing, uncomment the WAITINT_INPUT line \n While other states exist, they generally are not neccesary, but include IDLE, TYPING, and ANIMATING \n "
pass
dialog_node._load_next_event()
dialog_node.set_state(dialog_node.state.READY)