Compare commits

...

2 Commits
main ... gds

Author SHA1 Message Date
Atlas Cove a744ba2927 forgot me files 2023-01-04 19:14:33 +00:00
Atlas Cove d9d1e56a28 Made branch with inkgd 2023-01-04 19:13:41 +00:00
10 changed files with 549 additions and 4 deletions

3
.gitignore vendored
View File

@ -10,4 +10,5 @@ export_presets.cfg
# Mono-specific ignores
.mono/
data_*/
# Extra
examples

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "addons/inkgd"]
path = addons/inkgd
url = https://github.com/ephread/inkgd.git

21
LICENSE.txt Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2022 DmitriySalnikov
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the Software), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, andor sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,3 +1,6 @@
# give
Godot/Ink VN Environment
# Give
*Godot/Ink VN Environment*
# Dependencies
TODO: Add dependencies

1
addons/inkgd Submodule

@ -0,0 +1 @@
Subproject commit ff64af3ceaaf165f2afe900faf6c310cc6443fe8

34
ci_export_presets.cfg Normal file
View File

@ -0,0 +1,34 @@
[preset.0]
name="HTML5"
platform="HTML5"
runnable=true
custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="../inkgd.html"
script_export_mode=1
script_encryption_key=""
[preset.0.options]
custom_template/debug=""
custom_template/release=""
variant/export_type=0
vram_texture_compression/for_desktop=true
vram_texture_compression/for_mobile=false
html/export_icon=true
html/custom_html_shell=""
html/head_include=""
html/canvas_resize_policy=2
html/focus_canvas_on_start=true
html/experimental_virtual_keyboard=false
progressive_web_app/enabled=false
progressive_web_app/offline_page=""
progressive_web_app/display=1
progressive_web_app/orientation=0
progressive_web_app/icon_144x144=""
progressive_web_app/icon_180x180=""
progressive_web_app/icon_512x512=""
progressive_web_app/background_color=Color( 0, 0, 0, 1 )

7
default_env.tres Normal file
View File

@ -0,0 +1,7 @@
[gd_resource type="Environment" load_steps=2 format=2]
[sub_resource type="ProceduralSky" id=1]
[resource]
background_mode = 2
background_sky = SubResource( 1 )

9
give_mainwindow.gd Normal file
View File

@ -0,0 +1,9 @@
extends Control
var mtext:RichTextLabel
var ttext:RichTextLabel
func _ready():
#TODO: Add ink ready function
mtext=get_node("Panel/MainText")
ttext=get_node("Panel2/TitleText")
func _process(delta):
pass

34
give_mainwindow.tscn Normal file
View File

@ -0,0 +1,34 @@
[gd_scene load_steps=2 format=2]
[ext_resource path="res://give_mainwindow.gd" type="Script" id=1]
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
[node name="Panel" type="Panel" parent="."]
anchor_top = 0.667
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -4.20004
margin_right = 2.0
margin_bottom = -1.0
[node name="MainText" type="RichTextLabel" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 9.0
margin_top = 11.0
margin_right = -12.0
margin_bottom = -10.0
[node name="Panel2" type="Panel" parent="."]
margin_right = 40.0
margin_bottom = 40.0
[node name="TitleText" type="RichTextLabel" parent="Panel2"]
margin_left = 9.0
margin_top = 407.0
margin_right = 49.0
margin_bottom = 447.0

432
project.godot Normal file
View File

@ -0,0 +1,432 @@
; Engine configuration file.
; It's best edited using the editor UI and not directly,
; since the parameters that go here are not all obvious.
;
; Format:
; [section] ; section goes between []
; param=value ; assign values to parameters
config_version=4
_global_script_classes=[ {
"base": "MarginContainer",
"class": "ChoiceContainer",
"language": "GDScript",
"path": "res://examples/scenes/common/choice_container.gd"
}, {
"base": "Reference",
"class": "InkBase",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/common/ink_base.gd"
}, {
"base": "InkValue",
"class": "InkBoolValue",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/values/bool_value.gd"
}, {
"base": "Reference",
"class": "InkCSharpValidator",
"language": "GDScript",
"path": "res://addons/inkgd/editor/common/ink_csharp_validator.gd"
}, {
"base": "InkBase",
"class": "InkCallStack",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/callstack.gd"
}, {
"base": "InkObject",
"class": "InkChoice",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/content/choices/choice.gd"
}, {
"base": "InkObject",
"class": "InkChoicePoint",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/content/choices/choice_point.gd"
}, {
"base": "InkExecutionConfiguration",
"class": "InkCompilationConfiguration",
"language": "GDScript",
"path": "res://addons/inkgd/editor/common/executors/structures/ink_compilation_configuration.gd"
}, {
"base": "InkExternalCommandExecutor",
"class": "InkCompiler",
"language": "GDScript",
"path": "res://addons/inkgd/editor/common/executors/ink_compiler.gd"
}, {
"base": "Reference",
"class": "InkConfiguration",
"language": "GDScript",
"path": "res://addons/inkgd/editor/common/ink_configuration.gd"
}, {
"base": "InkExternalCommandExecutor",
"class": "InkConfigurationTester",
"language": "GDScript",
"path": "res://addons/inkgd/editor/common/executors/ink_configuration_tester.gd"
}, {
"base": "InkObject",
"class": "InkContainer",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/content/container.gd"
}, {
"base": "InkObject",
"class": "InkControlCommand",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/content/control_command.gd"
}, {
"base": "InkBase",
"class": "InkDebugMetadata",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/debug_metadata.gd"
}, {
"base": "InkObject",
"class": "InkDivert",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/content/divert.gd"
}, {
"base": "InkValue",
"class": "InkDivertTargetValue",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/values/divert_target_value.gd"
}, {
"base": "Reference",
"class": "InkEditorInterface",
"language": "GDScript",
"path": "res://addons/inkgd/editor/common/ink_editor_interface.gd"
}, {
"base": "Reference",
"class": "InkExecutionConfiguration",
"language": "GDScript",
"path": "res://addons/inkgd/editor/common/executors/structures/ink_execution_configuration.gd"
}, {
"base": "Reference",
"class": "InkExecutionResult",
"language": "GDScript",
"path": "res://addons/inkgd/editor/common/executors/structures/ink_execution_result.gd"
}, {
"base": "Reference",
"class": "InkExternalCommandExecutor",
"language": "GDScript",
"path": "res://addons/inkgd/editor/common/executors/ink_external_command_executor.gd"
}, {
"base": "InkValue",
"class": "InkFloatValue",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/values/float_value.gd"
}, {
"base": "InkBase",
"class": "InkFlow",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/flow.gd"
}, {
"base": "Reference",
"class": "InkFunctionResult",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/extra/function_result.gd"
}, {
"base": "Reference",
"class": "InkGDProfiler",
"language": "GDScript",
"path": "res://examples/scenes/common/profiler.gd"
}, {
"base": "InkObject",
"class": "InkGlue",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/content/glue.gd"
}, {
"base": "InkValue",
"class": "InkIntValue",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/values/int_value.gd"
}, {
"base": "EditorImportPlugin",
"class": "InkJsonImportPlugin",
"language": "GDScript",
"path": "res://addons/inkgd/editor/import_plugins/ink_json_import_plugin.gd"
}, {
"base": "Reference",
"class": "InkKeyValuePair",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/extra/key_value_pair.gd"
}, {
"base": "InkObject",
"class": "InkList",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/lists/ink_list.gd"
}, {
"base": "InkObject",
"class": "InkListDefinition",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/lists/list_definition.gd"
}, {
"base": "InkObject",
"class": "InkListDefinitionsOrigin",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/lists/list_definitions_origin.gd"
}, {
"base": "InkObject",
"class": "InkListItem",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/lists/structs/ink_list_item.gd"
}, {
"base": "InkValue",
"class": "InkListValue",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/values/list_value.gd"
}, {
"base": "InkObject",
"class": "InkNativeFunctionCall",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/content/native_function_call.gd"
}, {
"base": "InkBase",
"class": "InkObject",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/common/ink_object.gd"
}, {
"base": "InkBase",
"class": "InkPath",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/ink_path.gd"
}, {
"base": "Node",
"class": "InkPlayer",
"language": "GDScript",
"path": "res://addons/inkgd/ink_player.gd"
}, {
"base": "Reference",
"class": "InkPlayerFactory",
"language": "GDScript",
"path": "res://addons/inkgd/ink_player_factory.gd"
}, {
"base": "InkBase",
"class": "InkPointer",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/structs/pointer.gd"
}, {
"base": "InkBase",
"class": "InkProfiler",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/profiler.gd"
}, {
"base": "Resource",
"class": "InkResource",
"language": "GDScript",
"path": "res://addons/inkgd/editor/import_plugins/ink_resource.gd"
}, {
"base": "InkBase",
"class": "InkSearchResult",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/search_result.gd"
}, {
"base": "InkBase",
"class": "InkSimpleJSON",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/simple_json.gd"
}, {
"base": "EditorImportPlugin",
"class": "InkSourceImportPlugin",
"language": "GDScript",
"path": "res://addons/inkgd/editor/import_plugins/ink_source_import_plugin.gd"
}, {
"base": "Reference",
"class": "InkStateElement",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/extra/state_element.gd"
}, {
"base": "InkBase",
"class": "InkStatePatch",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/state_patch.gd"
}, {
"base": "InkBase",
"class": "InkStaticJSON",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/static/json.gd"
}, {
"base": "Reference",
"class": "InkStaticNativeFunctionCall",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/static/native_function_call.gd"
}, {
"base": "Reference",
"class": "InkStopWatch",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/extra/stopwatch.gd"
}, {
"base": "InkObject",
"class": "InkStory",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/story.gd"
}, {
"base": "InkBase",
"class": "InkStoryState",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/story_state.gd"
}, {
"base": "Reference",
"class": "InkStringSet",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/extra/string_set.gd"
}, {
"base": "InkValue",
"class": "InkStringValue",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/values/string_value.gd"
}, {
"base": "Reference",
"class": "InkStringWriter",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/extra/string_writer.gd"
}, {
"base": "InkObject",
"class": "InkTag",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/content/tag.gd"
}, {
"base": "Reference",
"class": "InkTryGetResult",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/extra/try_get_result.gd"
}, {
"base": "Reference",
"class": "InkUtils",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/extra/utils.gd"
}, {
"base": "InkObject",
"class": "InkValue",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/values/value.gd"
}, {
"base": "InkObject",
"class": "InkVariableAssignment",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/content/variable_assignment.gd"
}, {
"base": "InkValue",
"class": "InkVariablePointerValue",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/values/variable_pointer_value.gd"
}, {
"base": "InkObject",
"class": "InkVariableReference",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/content/variable_reference.gd"
}, {
"base": "InkBase",
"class": "InkVariablesState",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/variables_state.gd"
}, {
"base": "InkObject",
"class": "InkVoid",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/content/void.gd"
}, {
"base": "Reference",
"class": "StoryError",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/extra/story_error.gd"
}, {
"base": "Reference",
"class": "StoryErrorMetadata",
"language": "GDScript",
"path": "res://addons/inkgd/runtime/extra/story_error_metadata.gd"
} ]
_global_script_class_icons={
"ChoiceContainer": "",
"InkBase": "",
"InkBoolValue": "",
"InkCSharpValidator": "",
"InkCallStack": "",
"InkChoice": "",
"InkChoicePoint": "",
"InkCompilationConfiguration": "",
"InkCompiler": "",
"InkConfiguration": "",
"InkConfigurationTester": "",
"InkContainer": "",
"InkControlCommand": "",
"InkDebugMetadata": "",
"InkDivert": "",
"InkDivertTargetValue": "",
"InkEditorInterface": "",
"InkExecutionConfiguration": "",
"InkExecutionResult": "",
"InkExternalCommandExecutor": "",
"InkFloatValue": "",
"InkFlow": "",
"InkFunctionResult": "",
"InkGDProfiler": "",
"InkGlue": "",
"InkIntValue": "",
"InkJsonImportPlugin": "",
"InkKeyValuePair": "",
"InkList": "",
"InkListDefinition": "",
"InkListDefinitionsOrigin": "",
"InkListItem": "",
"InkListValue": "",
"InkNativeFunctionCall": "",
"InkObject": "",
"InkPath": "",
"InkPlayer": "",
"InkPlayerFactory": "",
"InkPointer": "",
"InkProfiler": "",
"InkResource": "",
"InkSearchResult": "",
"InkSimpleJSON": "",
"InkSourceImportPlugin": "",
"InkStateElement": "",
"InkStatePatch": "",
"InkStaticJSON": "",
"InkStaticNativeFunctionCall": "",
"InkStopWatch": "",
"InkStory": "",
"InkStoryState": "",
"InkStringSet": "",
"InkStringValue": "",
"InkStringWriter": "",
"InkTag": "",
"InkTryGetResult": "",
"InkUtils": "",
"InkValue": "",
"InkVariableAssignment": "",
"InkVariablePointerValue": "",
"InkVariableReference": "",
"InkVariablesState": "",
"InkVoid": "",
"StoryError": "",
"StoryErrorMetadata": ""
}
[application]
config/name="GIVE"
config/icon="res://icon.png"
[debug]
settings/qoi_import/print_debug=true
[editor_plugins]
enabled=PoolStringArray( )
[gdnative]
singletons=[ ]
[mono]
project/assembly_name="GIVE"
[physics]
common/enable_pause_aware_picking=true
[rendering]
environment/default_environment="res://default_env.tres"