diff --git a/.gitignore b/.gitignore index 6eae8a8..d828712 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ +# IDEs +.godot .vscode/** !.vsocde/cSpell.json diff --git a/DKPK.csproj b/DKPK.csproj new file mode 100644 index 0000000..a0eeb63 --- /dev/null +++ b/DKPK.csproj @@ -0,0 +1,8 @@ + + + net7.0 + true + enable + $(DefaultItemExcludes);ScriptTemplates\**\*.cs + + diff --git a/DKPK.sln b/DKPK.sln new file mode 100644 index 0000000..eeba5c0 --- /dev/null +++ b/DKPK.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DKPK", "DKPK.csproj", "{D22DF52A-F864-45B7-9595-DADD94B0FAF1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + ExportDebug|Any CPU = ExportDebug|Any CPU + ExportRelease|Any CPU = ExportRelease|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {D22DF52A-F864-45B7-9595-DADD94B0FAF1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D22DF52A-F864-45B7-9595-DADD94B0FAF1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D22DF52A-F864-45B7-9595-DADD94B0FAF1}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU + {D22DF52A-F864-45B7-9595-DADD94B0FAF1}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU + {D22DF52A-F864-45B7-9595-DADD94B0FAF1}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU + {D22DF52A-F864-45B7-9595-DADD94B0FAF1}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU + EndGlobalSection +EndGlobal diff --git a/GlobalUsings.cs b/GlobalUsings.cs new file mode 100644 index 0000000..b454275 --- /dev/null +++ b/GlobalUsings.cs @@ -0,0 +1,5 @@ +global using System; +global using System.Collections; +global using System.Collections.Generic; +global using System.Linq; +global using Godot; diff --git a/README.md b/README.md index 9ed3755..cd3fd0b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ # 甜点战争与装甲兵团 -> 在腾讯文档中进行编辑 -> https://docs.qq.com/doc/DTW52cVlLcnhEaEpn +- [背景设定](https://docs.qq.com/doc/DTW52cVlLcnhEaEpn) diff --git a/Scenes/MainScene.cs b/Scenes/MainScene.cs new file mode 100644 index 0000000..c51dfe2 --- /dev/null +++ b/Scenes/MainScene.cs @@ -0,0 +1,10 @@ +namespace DKPK +{ + public partial class MainScene : Control + { + public override void _Ready() + { + } + } +} + diff --git a/Scenes/MainScene.tscn b/Scenes/MainScene.tscn new file mode 100644 index 0000000..7fbe02a --- /dev/null +++ b/Scenes/MainScene.tscn @@ -0,0 +1,12 @@ +[gd_scene load_steps=2 format=3 uid="uid://cp51cer8rkiv5"] + +[ext_resource type="Script" path="res://Scenes/MainScene.cs" id="1_8c3yr"] + +[node name="MainScene" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +script = ExtResource("1_8c3yr") diff --git a/ScriptTemplates/Node/.gdignore b/ScriptTemplates/Node/.gdignore new file mode 100644 index 0000000..e69de29 diff --git a/ScriptTemplates/Node/Standard.cs b/ScriptTemplates/Node/Standard.cs new file mode 100644 index 0000000..0b4ea8c --- /dev/null +++ b/ScriptTemplates/Node/Standard.cs @@ -0,0 +1,9 @@ +namespace DKPK +{ + public partial class _CLASS_ : _BASE_ + { + public override void _Ready() + { + } + } +} diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..adc26df --- /dev/null +++ b/icon.svg @@ -0,0 +1 @@ + diff --git a/icon.svg.import b/icon.svg.import new file mode 100644 index 0000000..80e3470 --- /dev/null +++ b/icon.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bwprbwxtxocxf" +path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://icon.svg" +dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false diff --git a/project.godot b/project.godot new file mode 100644 index 0000000..b350a59 --- /dev/null +++ b/project.godot @@ -0,0 +1,43 @@ +; 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=5 + +[application] + +config/name="DKPK" +config/name_localized={ +"en": "Dessert Kriege und Panzerkorps", +"zh_Hans": "甜点战争与装甲兵团", +"zh_Hant": "甜點戰爭與裝甲兵團" +} +run/main_scene="res://Scenes/MainScene.tscn" +config/features=PackedStringArray("4.0", "C#", "Forward Plus") +config/icon="res://icon.svg" + +[display] + +window/size/viewport_width=1600 +window/size/viewport_height=900 + +[dotnet] + +project/assembly_name="DKPK" + +[editor] + +script/templates_search_path="res://ScriptTemplates" +naming/default_signal_callback_name="On_{NodeName}_{SignalName}" +naming/default_signal_callback_to_self_name="On_{SignalName}" +naming/scene_name_casing=1 + +[rendering] + +anti_aliasing/quality/msaa_2d=1 +anti_aliasing/quality/msaa_3d=1 +anti_aliasing/quality/screen_space_aa=1