commit 55b35d1ae0b1bd243f59b146f705efb6b0030b91 Author: Mika Westphal Date: Tue Feb 14 14:50:44 2023 +0100 Init 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/.idea/.idea.Testing/.idea/.gitignore b/.idea/.idea.Testing/.idea/.gitignore new file mode 100644 index 0000000..8c2ef6f --- /dev/null +++ b/.idea/.idea.Testing/.idea/.gitignore @@ -0,0 +1,13 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/.idea.Testing.iml +/projectSettingsUpdater.xml +/modules.xml +/contentModel.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/.idea.Testing/.idea/encodings.xml b/.idea/.idea.Testing/.idea/encodings.xml new file mode 100644 index 0000000..df87cf9 --- /dev/null +++ b/.idea/.idea.Testing/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/.idea.Testing/.idea/indexLayout.xml b/.idea/.idea.Testing/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/.idea/.idea.Testing/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Map.tscn b/Map.tscn new file mode 100644 index 0000000..1ecb50c --- /dev/null +++ b/Map.tscn @@ -0,0 +1,77 @@ +[gd_scene load_steps=4 format=3 uid="uid://bj1phui7kwdq8"] + +[ext_resource type="Texture2D" uid="uid://8aiohgfnsgw7" path="res://Sprites/Map.png" id="1_ohr6w"] +[ext_resource type="PackedScene" uid="uid://j6hb87wtux7" path="res://NarutoEnemy.tscn" id="2_sivvd"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_t2wi6"] + +[node name="Node2D" type="Node2D"] + +[node name="Map" type="Sprite2D" parent="."] +position = Vector2(1916, 1082) +texture = ExtResource("1_ohr6w") + +[node name="End" type="Area2D" parent="Map"] +position = Vector2(1575.67, 1062.65) +scale = Vector2(10, 3) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="Map/End"] +shape = SubResource("RectangleShape2D_t2wi6") + +[node name="Points" type="Node2D" parent="Map"] + +[node name="Start" type="Node2D" parent="Map/Points"] +position = Vector2(-1894.2, -732.782) +scale = Vector2(10, 3) + +[node name="Point1" type="Node2D" parent="Map/Points"] +position = Vector2(-1507.55, -690.019) +scale = Vector2(10, 3) + +[node name="Point2" type="Node2D" parent="Map/Points"] +position = Vector2(-1851.07, 431.078) +scale = Vector2(10, 3) + +[node name="Point3" type="Node2D" parent="Map/Points"] +position = Vector2(-1221.1, 148.855) +scale = Vector2(10, 3) + +[node name="Point4" type="Node2D" parent="Map/Points"] +position = Vector2(-1828.39, 831.733) +scale = Vector2(10, 3) + +[node name="Point5" type="Node2D" parent="Map/Points"] +position = Vector2(-386.099, 888.517) +scale = Vector2(10, 3) + +[node name="Point6" type="Node2D" parent="Map/Points"] +position = Vector2(-642.679, 553.539) + +[node name="Point7" type="Node2D" parent="Map/Points"] +position = Vector2(-621.297, -579.684) + +[node name="Point8" type="Node2D" parent="Map/Points"] +position = Vector2(-129.521, -779.245) + +[node name="Point9" type="Node2D" parent="Map/Points"] +position = Vector2(319.492, -258.96) +scale = Vector2(56.3184, 0.217481) + +[node name="Point10" type="Node2D" parent="Map/Points"] +position = Vector2(248.22, 83.1448) + +[node name="Point11" type="Node2D" parent="Map/Points"] +position = Vector2(804.141, 47.5088) + +[node name="Point12" type="Node2D" parent="Map/Points"] +position = Vector2(1003.7, -636.701) + +[node name="Point13" type="Node2D" parent="Map/Points"] +position = Vector2(1338.68, -586.811) + +[node name="Point14" type="Node2D" parent="Map/Points"] +position = Vector2(1574.52, 1064.76) +scale = Vector2(1.03164, 1.00913) + +[node name="NarutoEnemy" parent="." instance=ExtResource("2_sivvd")] +position = Vector2(-310, 113) diff --git a/NarutoEnemy.tscn b/NarutoEnemy.tscn new file mode 100644 index 0000000..2a90ebb --- /dev/null +++ b/NarutoEnemy.tscn @@ -0,0 +1,19 @@ +[gd_scene load_steps=4 format=3 uid="uid://j6hb87wtux7"] + +[ext_resource type="Script" path="res://Scripts/NarutoEnemy.gd" id="1_y6vus"] +[ext_resource type="Texture2D" uid="uid://dxq0embg6b0x7" path="res://Sprites/NarutoHead.png" id="1_y27je"] + +[sub_resource type="RectangleShape2D" id="RectangleShape2D_v1ety"] + +[node name="NarutoEnemy" type="Node2D"] +script = ExtResource("1_y6vus") + +[node name="StaticBody2D" type="StaticBody2D" parent="."] +position = Vector2(460, 250) + +[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"] +scale = Vector2(45, 25) +shape = SubResource("RectangleShape2D_v1ety") + +[node name="NarutoHead" type="Sprite2D" parent="StaticBody2D"] +texture = ExtResource("1_y27je") diff --git a/Scripts/NarutoEnemy.gd b/Scripts/NarutoEnemy.gd new file mode 100644 index 0000000..9611df7 --- /dev/null +++ b/Scripts/NarutoEnemy.gd @@ -0,0 +1,11 @@ +extends Node2D + +export Node2D markerPointsParent = null +# Called when the node enters the scene tree for the first time. +func _ready(): + pass # Replace with function body. + + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta): + pass diff --git a/Sprites/Map.png b/Sprites/Map.png new file mode 100644 index 0000000..7ea7c5c Binary files /dev/null and b/Sprites/Map.png differ diff --git a/Sprites/Map.png.import b/Sprites/Map.png.import new file mode 100644 index 0000000..2c40aac --- /dev/null +++ b/Sprites/Map.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://8aiohgfnsgw7" +path="res://.godot/imported/Map.png-b4bbd162cc0dcbc041cb190b78d388b9.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/Map.png" +dest_files=["res://.godot/imported/Map.png-b4bbd162cc0dcbc041cb190b78d388b9.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 diff --git a/Sprites/NarutoHead.png b/Sprites/NarutoHead.png new file mode 100644 index 0000000..96c4874 Binary files /dev/null and b/Sprites/NarutoHead.png differ diff --git a/Sprites/NarutoHead.png.import b/Sprites/NarutoHead.png.import new file mode 100644 index 0000000..3984d14 --- /dev/null +++ b/Sprites/NarutoHead.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dxq0embg6b0x7" +path="res://.godot/imported/NarutoHead.png-895065dedb4051b52034df74e5b1d3a4.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Sprites/NarutoHead.png" +dest_files=["res://.godot/imported/NarutoHead.png-895065dedb4051b52034df74e5b1d3a4.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 diff --git a/Testing.csproj b/Testing.csproj new file mode 100644 index 0000000..dd1e7a3 --- /dev/null +++ b/Testing.csproj @@ -0,0 +1,6 @@ + + + net6.0 + true + + \ No newline at end of file diff --git a/Testing.sln b/Testing.sln new file mode 100644 index 0000000..a358804 --- /dev/null +++ b/Testing.sln @@ -0,0 +1,19 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2012 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Testing", "Testing.csproj", "{34FE6585-0C7A-43A4-8EA3-252FA520FC05}" +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 + {34FE6585-0C7A-43A4-8EA3-252FA520FC05}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {34FE6585-0C7A-43A4-8EA3-252FA520FC05}.Debug|Any CPU.Build.0 = Debug|Any CPU + {34FE6585-0C7A-43A4-8EA3-252FA520FC05}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU + {34FE6585-0C7A-43A4-8EA3-252FA520FC05}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU + {34FE6585-0C7A-43A4-8EA3-252FA520FC05}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU + {34FE6585-0C7A-43A4-8EA3-252FA520FC05}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU + EndGlobalSection +EndGlobal 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..e0e02a3 --- /dev/null +++ b/icon.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dbl5dtlcp6a52" +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..446527b --- /dev/null +++ b/project.godot @@ -0,0 +1,27 @@ +; 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="Testing" +run/main_scene="res://Map.tscn" +config/features=PackedStringArray("4.0", "C#", "Forward Plus") +config/icon="res://icon.svg" + +[display] + +window/size/viewport_width=3840 +window/size/viewport_height=2160 +window/stretch/mode="viewport" +window/stretch/aspect="ignore" + +[dotnet] + +project/assembly_name="Testing"