From 7a3b8208777982e3d17661d70a96f36b15b272b4 Mon Sep 17 00:00:00 2001 From: Adrian Mazur Date: Wed, 19 Aug 2026 02:26:55 +0200 Subject: [PATCH] feat: initialize Godot project with Git LFS --- .editorconfig | 4 ++ .gitattributes | 22 ++++++++++ .gitignore | 26 +++++++++++ .vscode/launch.json | 24 +++++++++++ .vscode/tasks.json | 16 +++++++ Assets/Textures/Skyboxes/skybox_emx_19.png | 3 ++ .../Skyboxes/skybox_emx_19.png.import | 41 ++++++++++++++++++ Night Shift.csproj | 8 ++++ Night Shift.sln | 19 ++++++++ Scenes/Main/Main.cs | 15 +++++++ Scenes/Main/Main.cs.uid | 1 + Scenes/Main/Main.tscn | 19 ++++++++ icon.svg | 1 + icon.svg.import | 43 +++++++++++++++++++ project.godot | 37 ++++++++++++++++ 15 files changed, 279 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json create mode 100644 Assets/Textures/Skyboxes/skybox_emx_19.png create mode 100644 Assets/Textures/Skyboxes/skybox_emx_19.png.import create mode 100644 Night Shift.csproj create mode 100644 Night Shift.sln create mode 100644 Scenes/Main/Main.cs create mode 100644 Scenes/Main/Main.cs.uid create mode 100644 Scenes/Main/Main.tscn create mode 100644 icon.svg create mode 100644 icon.svg.import create mode 100644 project.godot diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f28239b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,4 @@ +root = true + +[*] +charset = utf-8 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..195250d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,22 @@ +# Normalize EOL for all files that Git considers text files. +* text=auto eol=lf + +# Git LFS tracking for binary game assets. + +# Images +*.png filter=lfs diff=lfs merge=lfs -text +*.jpg filter=lfs diff=lfs merge=lfs -text +*.jpeg filter=lfs diff=lfs merge=lfs -text +*.webp filter=lfs diff=lfs merge=lfs -text +*.psd filter=lfs diff=lfs merge=lfs -text + +# Audio +*.wav filter=lfs diff=lfs merge=lfs -text +*.ogg filter=lfs diff=lfs merge=lfs -text +*.mp3 filter=lfs diff=lfs merge=lfs -text + +# 3D models and source files +*.glb filter=lfs diff=lfs merge=lfs -text +*.gltf filter=lfs diff=lfs merge=lfs -text +*.fbx filter=lfs diff=lfs merge=lfs -text +*.blend filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..640a6ab --- /dev/null +++ b/.gitignore @@ -0,0 +1,26 @@ +# Godot 4.2+ specific ignores +~*.dll + +# Godot 4+ specific ignores +.godot/ +.nomedia + +# Godot-specific ignores +.import/ +export.cfg +export_credentials.cfg +*.tmp + +# Imported translations generated from CSV files +*.translation + +# C#/Mono-specific ignores +.mono/ +data_*/ +mono_crash.*.json + +# Machine-local editor settings +.vscode/settings.json + +# Generated Android export project +/android/ diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..94a6626 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,24 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Launch", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "build", + "program": "${config:godotTools.editorPath.godot4}", + "args": [ + "--path", + "${workspaceFolder}" + ], + "cwd": "${workspaceFolder}", + "stopAtEntry": false + }, + { + "name": "Attach", + "type": "coreclr", + "request": "attach", + "processId": "${command:pickProcess}" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..63249de --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,16 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "type": "process", + "command": "dotnet", + "args": [ + "build", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "problemMatcher": "$msCompile" + } + ] +} diff --git a/Assets/Textures/Skyboxes/skybox_emx_19.png b/Assets/Textures/Skyboxes/skybox_emx_19.png new file mode 100644 index 0000000..4dee311 --- /dev/null +++ b/Assets/Textures/Skyboxes/skybox_emx_19.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:707ae74cb29481af9cd155426d4d1153670033de07537ad534fc700efb2f3ecf +size 4095234 diff --git a/Assets/Textures/Skyboxes/skybox_emx_19.png.import b/Assets/Textures/Skyboxes/skybox_emx_19.png.import new file mode 100644 index 0000000..cf8fbd1 --- /dev/null +++ b/Assets/Textures/Skyboxes/skybox_emx_19.png.import @@ -0,0 +1,41 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b5i827vmueyei" +path.s3tc="res://.godot/imported/skybox_emx_19.png-bcedc2389708497367e5aad83b1663bd.s3tc.ctex" +metadata={ +"imported_formats": ["s3tc_bptc"], +"vram_texture": true +} + +[deps] + +source_file="res://Assets/Textures/Skyboxes/skybox_emx_19.png" +dest_files=["res://.godot/imported/skybox_emx_19.png-bcedc2389708497367e5aad83b1663bd.s3tc.ctex"] + +[params] + +compress/mode=2 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=true +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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=0 diff --git a/Night Shift.csproj b/Night Shift.csproj new file mode 100644 index 0000000..1f8663c --- /dev/null +++ b/Night Shift.csproj @@ -0,0 +1,8 @@ + + + net8.0 + net9.0 + true + NightShift + + \ No newline at end of file diff --git a/Night Shift.sln b/Night Shift.sln new file mode 100644 index 0000000..ba5583e --- /dev/null +++ b/Night Shift.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Night Shift", "Night Shift.csproj", "{E25952AB-1907-46F3-BB14-3A724487A99E}" +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 + {E25952AB-1907-46F3-BB14-3A724487A99E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E25952AB-1907-46F3-BB14-3A724487A99E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E25952AB-1907-46F3-BB14-3A724487A99E}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU + {E25952AB-1907-46F3-BB14-3A724487A99E}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU + {E25952AB-1907-46F3-BB14-3A724487A99E}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU + {E25952AB-1907-46F3-BB14-3A724487A99E}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU + EndGlobalSection +EndGlobal diff --git a/Scenes/Main/Main.cs b/Scenes/Main/Main.cs new file mode 100644 index 0000000..72d5451 --- /dev/null +++ b/Scenes/Main/Main.cs @@ -0,0 +1,15 @@ +using Godot; +using System; + +public partial class Main : Node +{ + // 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) + { + } +} diff --git a/Scenes/Main/Main.cs.uid b/Scenes/Main/Main.cs.uid new file mode 100644 index 0000000..0170080 --- /dev/null +++ b/Scenes/Main/Main.cs.uid @@ -0,0 +1 @@ +uid://20xhubfcniqg diff --git a/Scenes/Main/Main.tscn b/Scenes/Main/Main.tscn new file mode 100644 index 0000000..5baabb9 --- /dev/null +++ b/Scenes/Main/Main.tscn @@ -0,0 +1,19 @@ +[gd_scene format=3 uid="uid://p766ipnev5hb"] + +[ext_resource type="Texture2D" uid="uid://b5i827vmueyei" path="res://Assets/Textures/Skyboxes/skybox_emx_19.png" id="1_p8rbg"] + +[sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_p8rbg"] +panorama = ExtResource("1_p8rbg") + +[sub_resource type="Sky" id="Sky_qtv3y"] +sky_material = SubResource("PanoramaSkyMaterial_p8rbg") + +[sub_resource type="Environment" id="Environment_cmk6n"] +background_mode = 2 +sky = SubResource("Sky_qtv3y") +glow_enabled = true + +[node name="Main" type="Node" unique_id=118718415] + +[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=262568438] +environment = SubResource("Environment_cmk6n") diff --git a/icon.svg b/icon.svg new file mode 100644 index 0000000..c6bbb7d --- /dev/null +++ b/icon.svg @@ -0,0 +1 @@ + diff --git a/icon.svg.import b/icon.svg.import new file mode 100644 index 0000000..97af084 --- /dev/null +++ b/icon.svg.import @@ -0,0 +1,43 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://baajrco0728he" +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/uastc_level=0 +compress/rdo_quality_loss=0.0 +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/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +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..5183679 --- /dev/null +++ b/project.godot @@ -0,0 +1,37 @@ +; 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="Night Shift" +config/features=PackedStringArray("4.7", "Forward Plus") +config/icon="res://icon.svg" + +[display] + +window/stretch/mode="canvas_items" +window/stretch/aspect="expand" + +[dotnet] + +project/assembly_name="Night Shift" + +[editor] + +naming/scene_name_casing=1 +naming/script_name_casing=1 + +[physics] + +3d/physics_engine="Jolt Physics" + +[rendering] + +rendering_device/driver.windows="d3d12"