diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..cbfbc5b --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "addons/inkgd"] + path = addons/inkgd + url = https://github.com/ephread/inkgd.git diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..7bdd053 --- /dev/null +++ b/LICENSE.txt @@ -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. \ No newline at end of file diff --git a/README.md b/README.md index b1b74e6..e51ae0e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ -# give - -Godot/Ink VN Environment \ No newline at end of file +# Give + +*Godot/Ink VN Environment* + +# Dependencies +TODO: Add dependencies diff --git a/addons/inkgd b/addons/inkgd new file mode 160000 index 0000000..ff64af3 --- /dev/null +++ b/addons/inkgd @@ -0,0 +1 @@ +Subproject commit ff64af3ceaaf165f2afe900faf6c310cc6443fe8 diff --git a/ci_export_presets.cfg b/ci_export_presets.cfg new file mode 100644 index 0000000..825d3c7 --- /dev/null +++ b/ci_export_presets.cfg @@ -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 ) diff --git a/default_env.tres b/default_env.tres new file mode 100644 index 0000000..20207a4 --- /dev/null +++ b/default_env.tres @@ -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 ) diff --git a/give_mainwindow.gd b/give_mainwindow.gd new file mode 100644 index 0000000..b6ae924 --- /dev/null +++ b/give_mainwindow.gd @@ -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 diff --git a/give_mainwindow.tscn b/give_mainwindow.tscn new file mode 100644 index 0000000..b171e8d --- /dev/null +++ b/give_mainwindow.tscn @@ -0,0 +1,3 @@ +[gd_scene format=2] + +[node name="Node2D" type="Node2D"] diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..53d5595 --- /dev/null +++ b/project.godot @@ -0,0 +1,34 @@ +; 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 + +[application] + +config/name="GIVE" +config/icon="res://icon.png" + +[debug] + +settings/qoi_import/print_debug=true + +[editor_plugins] + +enabled=PoolStringArray( ) + +[gdnative] + +singletons=[ ] + +[physics] + +common/enable_pause_aware_picking=true + +[rendering] + +environment/default_environment="res://default_env.tres"