diff --git a/.gitignore b/.gitignore index d9aac21..c8c7765 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ .import/ export.cfg export_presets.cfg +/addons # Imported translations (automatically generated from CSV files) *.translation @@ -13,3 +14,6 @@ export_presets.cfg .mono/ data_*/ mono_crash.*.json + +# Export +/exports diff --git a/Assets/Spash Screen.png b/Assets/Spash Screen.png new file mode 100644 index 0000000..bf8ff66 Binary files /dev/null and b/Assets/Spash Screen.png differ diff --git a/Assets/Spash Screen.png.import b/Assets/Spash Screen.png.import new file mode 100644 index 0000000..1361d31 --- /dev/null +++ b/Assets/Spash Screen.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://brwoiyy7bya4v" +path="res://.godot/imported/Spash Screen.png-e6aa26c153ad1313b21cd2d1ad781286.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/Spash Screen.png" +dest_files=["res://.godot/imported/Spash Screen.png-e6aa26c153ad1313b21cd2d1ad781286.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/icon.svg b/icon.svg new file mode 100644 index 0000000..9d8b7fa --- /dev/null +++ b/icon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icon.svg.import b/icon.svg.import new file mode 100644 index 0000000..9104f8e --- /dev/null +++ b/icon.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dh14dje1066et" +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..ef8bfb5 --- /dev/null +++ b/project.godot @@ -0,0 +1,83 @@ +; 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="brackeysGameJam2024.2" +config/version="0.0.0" +config/tags=PackedStringArray("game_jam") +run/main_scene="res://scenes/game/mainGame/main_game.tscn" +config/features=PackedStringArray("4.3", "GL Compatibility") +boot_splash/image="res://Assets/Spash Screen.png" +config/icon="res://icon.svg" + +[editor] + +version_control/plugin_name="GitPlugin" +version_control/autoload_on_startup=true + +[input] + +MOVE_UP={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"location":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":-1.0,"script":null) +] +} +MOVE_RIGHT={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":1.0,"script":null) +] +} +MOVE_DOWN={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":1.0,"script":null) +] +} +MOVE_LEFT={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null) +, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":-1.0,"script":null) +] +} +ATTACK={ +"deadzone": 0.5, +"events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":1,"canceled":false,"pressed":false,"double_click":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":true,"script":null) +] +} +BLOCK={ +"deadzone": 0.5, +"events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":2,"canceled":false,"pressed":false,"double_click":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":1,"pressure":0.0,"pressed":true,"script":null) +] +} +INTERACT={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":69,"key_label":0,"unicode":101,"location":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":2,"pressure":0.0,"pressed":true,"script":null) +] +} +ROLL={ +"deadzone": 0.5, +"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":32,"key_label":0,"unicode":32,"location":0,"echo":false,"script":null) +, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":1,"pressure":0.0,"pressed":true,"script":null) +] +} + +[internationalization] + +locale/translations=PackedStringArray("res://translations/translations.de.translation", "res://translations/translations.en.translation") + +[rendering] + +textures/vram_compression/import_etc2_astc=true diff --git a/scenes/game/mainGame/main_game.gd b/scenes/game/mainGame/main_game.gd new file mode 100644 index 0000000..d0e27c1 --- /dev/null +++ b/scenes/game/mainGame/main_game.gd @@ -0,0 +1,11 @@ +extends Node2D + + +# Called when the node enters the scene tree for the first time. +func _ready() -> void: + pass # Replace with function body. + print() + +# Called every frame. 'delta' is the elapsed time since the previous frame. +func _process(delta: float) -> void: + pass diff --git a/scenes/game/mainGame/main_game.tscn b/scenes/game/mainGame/main_game.tscn new file mode 100644 index 0000000..d4ffa9c --- /dev/null +++ b/scenes/game/mainGame/main_game.tscn @@ -0,0 +1,6 @@ +[gd_scene load_steps=2 format=3 uid="uid://dgxw2n4ei2ahe"] + +[ext_resource type="Script" path="res://scenes/game/mainGame/main_game.gd" id="1_napbe"] + +[node name="mainGame" type="Node2D"] +script = ExtResource("1_napbe") diff --git a/scenes/main/main.tscn b/scenes/main/main.tscn new file mode 100644 index 0000000..4c0b614 --- /dev/null +++ b/scenes/main/main.tscn @@ -0,0 +1,3 @@ +[gd_scene format=3 uid="uid://bwsbkfnkncfhp"] + +[node name="Main" type="Node"] diff --git a/translations/translations.csv b/translations/translations.csv new file mode 100644 index 0000000..e40bb0e --- /dev/null +++ b/translations/translations.csv @@ -0,0 +1,2 @@ +keys,de,en +START_GAME,Spielen,Play diff --git a/translations/translations.csv.import b/translations/translations.csv.import new file mode 100644 index 0000000..c051591 --- /dev/null +++ b/translations/translations.csv.import @@ -0,0 +1,17 @@ +[remap] + +importer="csv_translation" +type="Translation" +uid="uid://bmg2efydag08g" + +[deps] + +files=["res://translations/translations.de.translation", "res://translations/translations.en.translation"] + +source_file="res://translations/translations.csv" +dest_files=["res://translations/translations.de.translation", "res://translations/translations.en.translation"] + +[params] + +compress=true +delimiter=0