commit 2c982d3dc3de343fd5dd91f709b2c12c804577a9 Author: lightyears Date: Wed Dec 14 21:37:50 2022 +0800 Hello, world! diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8ad74f7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Normalize EOL for all files that Git considers text files. +* text=auto eol=lf diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4709183 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# Godot 4+ specific ignores +.godot/ diff --git a/CMSGame.csproj b/CMSGame.csproj new file mode 100644 index 0000000..4b7499a --- /dev/null +++ b/CMSGame.csproj @@ -0,0 +1,6 @@ + + + net6.0 + true + + \ No newline at end of file diff --git a/CMSGame.sln b/CMSGame.sln new file mode 100644 index 0000000..afcaff8 --- /dev/null +++ b/CMSGame.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CMSGame", "CMSGame.csproj", "{534CDCCF-F7E1-489C-A847-C1B9330CA453}" +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 + {534CDCCF-F7E1-489C-A847-C1B9330CA453}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {534CDCCF-F7E1-489C-A847-C1B9330CA453}.Debug|Any CPU.Build.0 = Debug|Any CPU + {534CDCCF-F7E1-489C-A847-C1B9330CA453}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU + {534CDCCF-F7E1-489C-A847-C1B9330CA453}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU + {534CDCCF-F7E1-489C-A847-C1B9330CA453}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU + {534CDCCF-F7E1-489C-A847-C1B9330CA453}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU + EndGlobalSection +EndGlobal diff --git a/README.md b/README.md new file mode 100644 index 0000000..03bcdc4 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# 山与海的国 diff --git a/Scenes/Main.cs b/Scenes/Main.cs new file mode 100644 index 0000000..158dd72 --- /dev/null +++ b/Scenes/Main.cs @@ -0,0 +1,16 @@ +using Godot; +using System; + +public partial class Main : Control +{ + // Called when the node enters the scene tree for the first time. + public override void _Ready() + { + } + + // Called every frame. 'delta' is the elapsed time since the previous frame. + public override void _Process(double delta) + { + GD.Print("Hello, world!"); + } +} diff --git a/Scenes/Main.tscn b/Scenes/Main.tscn new file mode 100644 index 0000000..18a6d16 --- /dev/null +++ b/Scenes/Main.tscn @@ -0,0 +1,16 @@ +[gd_scene load_steps=2 format=3 uid="uid://bphcmx4a7omp4"] + +[ext_resource type="Script" path="res://scenes/Main.cs" id="1_slm00"] + +[node name="Main" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +script = ExtResource("1_slm00") + +[node name="Label" type="Label" parent="."] +layout_mode = 0 +offset_right = 40.0 +offset_bottom = 23.0 +text = "The Country of Moutains and Seas" 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..2a9675e --- /dev/null +++ b/icon.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://divkstj8175jn" +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/lossy_quality=0.7 +compress/hdr_compression=1 +compress/bptc_ldr=0 +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..79e8734 --- /dev/null +++ b/project.godot @@ -0,0 +1,20 @@ +; 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="The Country of Mountains and Seas" +run/main_scene="res://scenes/Main.tscn" +config/features=PackedStringArray("4.0", "Forward Plus") +config/icon="res://icon.svg" + +[dotnet] + +project/assembly_name="CMSGame"