Compare commits
5 Commits
85b58b7fb5
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| f7ca00c9d9 | |||
| 1aee49178d | |||
| 3ff84d68b8 | |||
| 251a6972ba | |||
| 6df761ecb1 |
5
.editorconfig
Normal file
5
.editorconfig
Normal file
@@ -0,0 +1,5 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
charset = utf-8-bom
|
||||
9
.gitignore
vendored
Normal file
9
.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# Godot 4+ specific ignores
|
||||
.godot/
|
||||
/android/
|
||||
|
||||
bin
|
||||
obj
|
||||
|
||||
/Export
|
||||
.vs
|
||||
33
Sources/GodotProject.sln
Normal file
33
Sources/GodotProject.sln
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.13.35825.156 d17.13
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GodotProject", "GodotProject\GodotProject.csproj", "{3B34FBF4-4D2D-4607-A2D6-FFA589A72190}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SampleLib", "SampleLib\SampleLib.csproj", "{BB1C699E-A92B-C5D4-04F5-2A09EF631836}"
|
||||
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
|
||||
{3B34FBF4-4D2D-4607-A2D6-FFA589A72190}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3B34FBF4-4D2D-4607-A2D6-FFA589A72190}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3B34FBF4-4D2D-4607-A2D6-FFA589A72190}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU
|
||||
{3B34FBF4-4D2D-4607-A2D6-FFA589A72190}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU
|
||||
{3B34FBF4-4D2D-4607-A2D6-FFA589A72190}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU
|
||||
{3B34FBF4-4D2D-4607-A2D6-FFA589A72190}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU
|
||||
{BB1C699E-A92B-C5D4-04F5-2A09EF631836}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BB1C699E-A92B-C5D4-04F5-2A09EF631836}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BB1C699E-A92B-C5D4-04F5-2A09EF631836}.ExportDebug|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BB1C699E-A92B-C5D4-04F5-2A09EF631836}.ExportDebug|Any CPU.Build.0 = Release|Any CPU
|
||||
{BB1C699E-A92B-C5D4-04F5-2A09EF631836}.ExportRelease|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BB1C699E-A92B-C5D4-04F5-2A09EF631836}.ExportRelease|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
4
Sources/GodotProject/.editorconfig
Normal file
4
Sources/GodotProject/.editorconfig
Normal file
@@ -0,0 +1,4 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
charset = utf-8
|
||||
9
Sources/GodotProject/GodotProject.csproj
Normal file
9
Sources/GodotProject/GodotProject.csproj
Normal file
@@ -0,0 +1,9 @@
|
||||
<Project Sdk="Godot.NET.Sdk/4.4.0">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<EnableDynamicLoading>true</EnableDynamicLoading>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\SampleLib\SampleLib.csproj" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
13
Sources/GodotProject/LabelTest.cs
Normal file
13
Sources/GodotProject/LabelTest.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Godot;
|
||||
|
||||
public partial class LabelTest : Label
|
||||
{
|
||||
|
||||
public override void _Input(InputEvent @event)
|
||||
{
|
||||
if (@event is InputEventKey eventKey && eventKey.Pressed && eventKey.Keycode == Key.Space)
|
||||
{
|
||||
Text = SampleLib.SampleClass.SuperSampleString();
|
||||
}
|
||||
}
|
||||
}
|
||||
1
Sources/GodotProject/LabelTest.cs.uid
Normal file
1
Sources/GodotProject/LabelTest.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://dxsuvw2yajgyl
|
||||
6
Sources/GodotProject/Scripts/SampleScript0.cs
Normal file
6
Sources/GodotProject/Scripts/SampleScript0.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
public partial class SampleScript0 : Node
|
||||
{
|
||||
}
|
||||
1
Sources/GodotProject/Scripts/SampleScript0.cs.uid
Normal file
1
Sources/GodotProject/Scripts/SampleScript0.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://etelr8xonim3
|
||||
6
Sources/GodotProject/Scripts/SampleScript1.cs
Normal file
6
Sources/GodotProject/Scripts/SampleScript1.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
using Godot;
|
||||
using System;
|
||||
|
||||
public partial class SampleScript1 : Node
|
||||
{
|
||||
}
|
||||
1
Sources/GodotProject/Scripts/SampleScript1.cs.uid
Normal file
1
Sources/GodotProject/Scripts/SampleScript1.cs.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://byg6x4ry4vic
|
||||
69
Sources/GodotProject/export_presets.cfg
Normal file
69
Sources/GodotProject/export_presets.cfg
Normal file
@@ -0,0 +1,69 @@
|
||||
[preset.0]
|
||||
|
||||
name="Windows Desktop"
|
||||
platform="Windows Desktop"
|
||||
runnable=true
|
||||
advanced_options=true
|
||||
dedicated_server=false
|
||||
custom_features=""
|
||||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter=""
|
||||
export_path="../../Export/Export.exe"
|
||||
patches=PackedStringArray()
|
||||
encryption_include_filters=""
|
||||
encryption_exclude_filters=""
|
||||
seed=0
|
||||
encrypt_pck=false
|
||||
encrypt_directory=false
|
||||
script_export_mode=2
|
||||
|
||||
[preset.0.options]
|
||||
|
||||
custom_template/debug=""
|
||||
custom_template/release=""
|
||||
debug/export_console_wrapper=1
|
||||
binary_format/embed_pck=true
|
||||
texture_format/s3tc_bptc=true
|
||||
texture_format/etc2_astc=false
|
||||
binary_format/architecture="x86_64"
|
||||
codesign/enable=false
|
||||
codesign/timestamp=true
|
||||
codesign/timestamp_server_url=""
|
||||
codesign/digest_algorithm=1
|
||||
codesign/description=""
|
||||
codesign/custom_options=PackedStringArray()
|
||||
application/modify_resources=true
|
||||
application/icon=""
|
||||
application/console_wrapper_icon=""
|
||||
application/icon_interpolation=4
|
||||
application/file_version=""
|
||||
application/product_version=""
|
||||
application/company_name=""
|
||||
application/product_name=""
|
||||
application/file_description=""
|
||||
application/copyright=""
|
||||
application/trademarks=""
|
||||
application/export_angle=0
|
||||
application/export_d3d12=0
|
||||
application/d3d12_agility_sdk_multiarch=true
|
||||
ssh_remote_deploy/enabled=false
|
||||
ssh_remote_deploy/host="user@host_ip"
|
||||
ssh_remote_deploy/port="22"
|
||||
ssh_remote_deploy/extra_args_ssh=""
|
||||
ssh_remote_deploy/extra_args_scp=""
|
||||
ssh_remote_deploy/run_script="Expand-Archive -LiteralPath '{temp_dir}\\{archive_name}' -DestinationPath '{temp_dir}'
|
||||
$action = New-ScheduledTaskAction -Execute '{temp_dir}\\{exe_name}' -Argument '{cmd_args}'
|
||||
$trigger = New-ScheduledTaskTrigger -Once -At 00:00
|
||||
$settings = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries
|
||||
$task = New-ScheduledTask -Action $action -Trigger $trigger -Settings $settings
|
||||
Register-ScheduledTask godot_remote_debug -InputObject $task -Force:$true
|
||||
Start-ScheduledTask -TaskName godot_remote_debug
|
||||
while (Get-ScheduledTask -TaskName godot_remote_debug | ? State -eq running) { Start-Sleep -Milliseconds 100 }
|
||||
Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue"
|
||||
ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue
|
||||
Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue
|
||||
Remove-Item -Recurse -Force '{temp_dir}'"
|
||||
dotnet/include_scripts_content=false
|
||||
dotnet/include_debug_symbols=true
|
||||
dotnet/embed_build_outputs=true
|
||||
1
Sources/GodotProject/icon.svg
Normal file
1
Sources/GodotProject/icon.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128"><rect width="124" height="124" x="2" y="2" fill="#363d52" stroke="#212532" stroke-width="4" rx="14"/><g fill="#fff" transform="translate(12.322 12.322)scale(.101)"><path d="M105 673v33q407 354 814 0v-33z"/><path fill="#478cbf" d="m105 673 152 14q12 1 15 14l4 67 132 10 8-61q2-11 15-15h162q13 4 15 15l8 61 132-10 4-67q3-13 15-14l152-14V427q30-39 56-81-35-59-83-108-43 20-82 47-40-37-88-64 7-51 8-102-59-28-123-42-26 43-46 89-49-7-98 0-20-46-46-89-64 14-123 42 1 51 8 102-48 27-88 64-39-27-82-47-48 49-83 108 26 42 56 81zm0 33v39c0 276 813 276 814 0v-39l-134 12-5 69q-2 10-14 13l-162 11q-12 0-16-11l-10-65H446l-10 65q-4 11-16 11l-162-11q-12-3-14-13l-5-69z"/><path d="M483 600c0 34 58 34 58 0v-86c0-34-58-34-58 0z"/><circle cx="725" cy="526" r="90"/><circle cx="299" cy="526" r="90"/></g><g fill="#414042" transform="translate(12.322 12.322)scale(.101)"><circle cx="307" cy="532" r="60"/><circle cx="717" cy="532" r="60"/></g></svg>
|
||||
|
After Width: | Height: | Size: 994 B |
37
Sources/GodotProject/icon.svg.import
Normal file
37
Sources/GodotProject/icon.svg.import
Normal file
@@ -0,0 +1,37 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dtm1g7h0rtw4h"
|
||||
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
|
||||
21
Sources/GodotProject/project.godot
Normal file
21
Sources/GodotProject/project.godot
Normal file
@@ -0,0 +1,21 @@
|
||||
; 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="GodotProject"
|
||||
run/main_scene="uid://drarxdqog4j2u"
|
||||
config/features=PackedStringArray("4.4", "C#", "Forward Plus")
|
||||
config/icon="res://icon.svg"
|
||||
|
||||
[dotnet]
|
||||
|
||||
project/assembly_name="GodotProject"
|
||||
project/solution_directory="../"
|
||||
19
Sources/GodotProject/ui.tscn
Normal file
19
Sources/GodotProject/ui.tscn
Normal file
@@ -0,0 +1,19 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://drarxdqog4j2u"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dxsuvw2yajgyl" path="res://LabelTest.cs" id="1_fyqef"]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 1
|
||||
anchors_preset = -1
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
text = "가나라마바사"
|
||||
script = ExtResource("1_fyqef")
|
||||
6
Sources/SampleLib/Class1.cs
Normal file
6
Sources/SampleLib/Class1.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace SampleLib;
|
||||
|
||||
public class Class1
|
||||
{
|
||||
|
||||
}
|
||||
15
Sources/SampleLib/SampleClass.cs
Normal file
15
Sources/SampleLib/SampleClass.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace SampleLib
|
||||
{
|
||||
public static class SampleClass
|
||||
{
|
||||
public static string GetSampleString()
|
||||
{
|
||||
return "Sample" + "String";
|
||||
}
|
||||
|
||||
public static string SuperSampleString()
|
||||
{
|
||||
return "Super" + GetSampleString();
|
||||
}
|
||||
}
|
||||
}
|
||||
9
Sources/SampleLib/SampleLib.csproj
Normal file
9
Sources/SampleLib/SampleLib.csproj
Normal file
@@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user