diff --git a/Scripts/pisanie_tekstu_strona_start.gd b/Scripts/pisanie_tekstu_strona_start.gd new file mode 100644 index 0000000..6795fb0 --- /dev/null +++ b/Scripts/pisanie_tekstu_strona_start.gd @@ -0,0 +1,76 @@ +extends Control +var Pozycja = 0 +var index : float = 0 +var index_integer = 0 +@onready var GNN_lenght = get_node ("Label/GIN").get_total_character_count() +func _ready(): + + # teraz chowamy niepotrzebne teksty + $Label/Nazwa_statku.hide() + $Label/Nazwa_statku.visible_characters = 0 + $Label/Specyfikacja_statku.hide() + $Label/Specyfikacja_statku.visible_characters = 0 + $"Label/GIN - connected".hide() + $"Label/GIN - progress bar".hide() + $"Label/GIN - progress bar".visible_characters = 0 + $Label/GIN.show() + $Label/GIN.visible_characters = 0 + +func _process(delta): + + if Pozycja == 0: # wyƛwietlamy tekst GNN najpierw + + index += delta * 15 + if index > 1: + $Label/GIN.visible_characters += 1 + $"terminal beep".play() + index = 0 + if $Label/GIN.visible_characters > GNN_lenght : + Pozycja += 1 + GNN_lenght = get_node ("Label/GIN - progress bar").get_total_character_count() + $"Label/GIN - progress bar".show() + + if Pozycja == 1: # zaczynam progress bar + index += delta * 3 + if index > 1: + $"Label/GIN - progress bar".visible_characters += 1 + $"terminal beep".play() + index = 0 + if $"Label/GIN - progress bar".visible_characters > GNN_lenght : + Pozycja += 1 + $"Label/GIN - progress bar".hide() + $"Label/GIN - connected".show() + if Pozycja == 2: # mryganie statusem connected + index += delta * 3 + if index_integer > 4: + Pozycja += 1 + $"Label/GIN - connected".hide() + $Label/GIN.hide() + $Label/Nazwa_statku.show() + GNN_lenght = get_node ("Label/Nazwa_statku").get_total_character_count() + if index > 1: + index = 0 + if $"Label/GIN - connected".visible : + $"Label/GIN - connected".hide() + index_integer += 1 + $"terminal beep".play() + else : + $"Label/GIN - connected".show() + if Pozycja == 3: + index += delta * 20 + if index > 1: + index = 0 + $Label/Nazwa_statku.visible_characters += 1 + $"terminal beep".play() + if $Label/Nazwa_statku.visible_characters > GNN_lenght : + Pozycja += 1 + GNN_lenght = get_node ("Label/Specyfikacja_statku").get_total_character_count() + $Label/Specyfikacja_statku.show() + if Pozycja == 4: + index += delta * 20 + if index > 1: + index = 0 + $Label/Specyfikacja_statku.visible_characters += 1 + $"terminal beep".play() + if $Label/Specyfikacja_statku.visible_characters > GNN_lenght : + Pozycja += 1 diff --git a/Scripts/pisanie_tekstu_strona_start.gd.uid b/Scripts/pisanie_tekstu_strona_start.gd.uid new file mode 100644 index 0000000..6551c3a --- /dev/null +++ b/Scripts/pisanie_tekstu_strona_start.gd.uid @@ -0,0 +1 @@ +uid://bb4std3ni3ug8 diff --git a/Strona menu.tscn b/Strona menu.tscn index 81088a0..0ed3546 100644 --- a/Strona menu.tscn +++ b/Strona menu.tscn @@ -1,3 +1,172 @@ -[gd_scene format=3 uid="uid://b42n4ho4ieda1"] +[gd_scene load_steps=6 format=3 uid="uid://b42n4ho4ieda1"] -[node name="Node2D" type="Node2D"] +[ext_resource type="Texture2D" uid="uid://b4belin6qbx5u" path="res://assets/obrazek startowy.png" id="1_cnjbm"] +[ext_resource type="Script" uid="uid://bb4std3ni3ug8" path="res://Scripts/pisanie_tekstu_strona_start.gd" id="1_gv3xn"] +[ext_resource type="Texture2D" uid="uid://dwxl6vplksmgq" path="res://assets/gwiazdka.png" id="2_qgbrs"] +[ext_resource type="AudioStream" uid="uid://bmnfhtk0savo3" path="res://assets/SIMPLE_Short_Pure_0002.wav" id="3_hoobl"] +[ext_resource type="Texture2D" uid="uid://dgsfh26nssad8" path="res://assets/kreska.png" id="3_qjjhw"] + +[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 +mouse_filter = 2 +script = ExtResource("1_gv3xn") + +[node name="Label" type="Label" parent="."] +layout_mode = 0 +offset_left = 24.0 +offset_top = 11.0 +offset_right = 257.0 +offset_bottom = 106.0 +theme_override_font_sizes/font_size = 53 +text = "DeathWorlders" +autowrap_trim_flags = 0 +justification_flags = 160 +language = "pol_PL" + +[node name="GIN" type="Label" parent="Label"] +visible = false +layout_mode = 0 +offset_left = 756.0 +offset_top = 257.0 +offset_right = 1160.0 +offset_bottom = 316.0 +theme_override_font_sizes/font_size = 20 +text = "Connecting to: +Galactic Inteligence Network (GIN)" + +[node name="GIN - progress bar" type="Label" parent="Label"] +visible = false +layout_mode = 0 +offset_left = 762.0 +offset_top = 322.0 +offset_right = 1166.0 +offset_bottom = 357.0 +theme_override_font_sizes/font_size = 20 +text = "||||||||" + +[node name="GIN - connected" type="Label" parent="Label"] +visible = false +layout_mode = 0 +offset_left = 758.0 +offset_top = 323.0 +offset_right = 1162.0 +offset_bottom = 351.0 +theme_override_font_sizes/font_size = 20 +text = "Connected" + +[node name="Nazwa_statku" type="Label" parent="Label"] +visible = false +layout_mode = 1 +anchors_preset = -1 +anchor_left = -0.076000005 +anchor_right = -0.076000005 +offset_left = 786.412 +offset_top = 258.0 +offset_right = 1053.412 +offset_bottom = 295.0 +theme_override_font_sizes/font_size = 24 +text = "Xy'Laxus (Soul Reaper)" +autowrap_trim_flags = 0 +justification_flags = 160 +language = "pol_PL" + +[node name="Specyfikacja_statku" type="Label" parent="Label"] +visible = false +layout_mode = 1 +anchors_preset = -1 +anchor_left = -0.076000005 +anchor_right = -0.076000005 +offset_left = 786.412 +offset_top = 309.0 +offset_right = 1153.412 +offset_bottom = 635.0 +theme_override_constants/line_spacing = -3 +theme_override_font_sizes/font_size = 14 +text = "Class: Xanti Heavy Dreadnought +Main role: Orbital domination ship +Secondary: landing assault troops providing support to ground troops + +Armament: +24x Plasma guns +10x antimetter torpedos +2x hevy phasors array for planetary siege +340,000 landing troops +4000 crew members + +Last known mission: Invasion on home planet of the species called humans + +Current Status : Unknown. Lost contact 4 months ago + +" +autowrap_mode = 2 +language = "pol_PL" + +[node name="Statek_planeta" type="TextureRect" parent="Label"] +show_behind_parent = true +layout_mode = 0 +offset_left = -28.0 +offset_top = -147.0 +offset_right = 1141.0 +offset_bottom = 877.0 +texture = ExtResource("1_cnjbm") + +[node name="terminal beep" type="AudioStreamPlayer" parent="."] +stream = ExtResource("3_hoobl") +volume_db = -51.159 +bus = &"SFX" + +[node name="Grafiki menu bocznego" type="Node" parent="."] + +[node name="Gwiazdka" type="TextureRect" parent="Grafiki menu bocznego"] +offset_left = 191.0 +offset_top = 61.0 +offset_right = 248.0 +offset_bottom = 118.0 +texture = ExtResource("2_qgbrs") +expand_mode = 1 + +[node name="Kreska" type="TextureRect" parent="Grafiki menu bocznego"] +offset_left = 35.0 +offset_top = 90.0 +offset_right = 400.0 +offset_bottom = 92.0 +texture = ExtResource("3_qjjhw") +expand_mode = 1 + +[node name="VBoxContainer" type="VBoxContainer" parent="Grafiki menu bocznego"] +offset_left = 37.0 +offset_top = 98.0 +offset_right = 404.0 +offset_bottom = 330.0 + +[node name="New Game" type="Button" parent="Grafiki menu bocznego/VBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 20 +toggle_mode = true +action_mode = 0 +text = "New Game" + +[node name="Settings" type="Button" parent="Grafiki menu bocznego/VBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 20 +text = "Settings" + +[node name="Load Game" type="Button" parent="Grafiki menu bocznego/VBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 20 +text = "Load Game" + +[node name="Save Game" type="Button" parent="Grafiki menu bocznego/VBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 20 +text = "Save Game" + +[node name="Exit" type="Button" parent="Grafiki menu bocznego/VBoxContainer"] +layout_mode = 2 +theme_override_font_sizes/font_size = 20 +text = "Exit" diff --git a/Strona menu.tscn34370000465.tmp b/Strona menu.tscn34370000465.tmp new file mode 100644 index 0000000..47f4535 --- /dev/null +++ b/Strona menu.tscn34370000465.tmp @@ -0,0 +1,118 @@ +[gd_scene load_steps=3 format=3 uid="uid://b42n4ho4ieda1"] + +[ext_resource type="Texture2D" uid="uid://b4belin6qbx5u" path="res://assets/obrazek startowy.png" id="1_cnjbm"] +[ext_resource type="Script" uid="uid://bb4std3ni3ug8" path="res://Scripts/pisanie_tekstu_strona_start.gd" id="1_gv3xn"] + +[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 +script = ExtResource("1_gv3xn") + +[node name="Label" type="Label" parent="."] +layout_mode = 0 +offset_left = 24.0 +offset_top = 11.0 +offset_right = 257.0 +offset_bottom = 106.0 +theme_override_font_sizes/font_size = 53 +text = "DeathWorlders" +autowrap_trim_flags = 0 +justification_flags = 160 +language = "pol_PL" + +[node name="TextureRect" type="TextureRect" parent="Label"] +show_behind_parent = true +layout_mode = 0 +offset_left = -28.0 +offset_top = -147.0 +offset_right = 1141.0 +offset_bottom = 877.0 +texture = ExtResource("1_cnjbm") + +[node name="GIN" type="Label" parent="Label"] +visible = false +layout_mode = 0 +offset_left = 756.0 +offset_top = 257.0 +offset_right = 1160.0 +offset_bottom = 316.0 +theme_override_font_sizes/font_size = 20 +text = "Connecting to: + Galactic Inteligence Network (GIN)" + +[node name="GIN - progress bar" type="Label" parent="Label"] +visible = false +layout_mode = 0 +offset_left = 756.0 +offset_top = 257.0 +offset_right = 1160.0 +offset_bottom = 347.0 +theme_override_font_sizes/font_size = 20 +text = " + +||||||||" + +[node name="GIN - connected" type="Label" parent="Label"] +visible = false +layout_mode = 0 +offset_left = 756.0 +offset_top = 257.0 +offset_right = 1160.0 +offset_bottom = 347.0 +theme_override_font_sizes/font_size = 20 +text = " + +Connected" + +[node name="Nazwa_statku" type="Label" parent="Label"] +visible = false +layout_mode = 1 +anchors_preset = -1 +anchor_left = -0.076000005 +anchor_right = -0.076000005 +offset_left = 786.412 +offset_top = 258.0 +offset_right = 1053.412 +offset_bottom = 295.0 +theme_override_font_sizes/font_size = 24 +text = "Xy'Laxus (Soul Reaper)" +autowrap_trim_flags = 0 +justification_flags = 160 +language = "pol_PL" + +[node name="Specyfikacja_statku" type="Label" parent="Label"] +visible = false +layout_mode = 1 +anchors_preset = -1 +anchor_left = -0.076000005 +anchor_right = -0.076000005 +offset_left = 786.412 +offset_top = 309.0 +offset_right = 1151.412 +offset_bottom = 635.0 +theme_override_constants/line_spacing = -3 +theme_override_font_sizes/font_size = 14 +text = "Class: Xanti Heavy Dreadnought + +Main role: orbital domination ship +Secondary: landing assault troops + providing support to ground troops + +Armament: +24x Plasma guns +10x antimetter torpedos +2x hevy phasors array for planetary siege +340,000 landing troops +4000 crew members + +Last mission: invasion on home planet of the + species called humans + +Current Status : Unknown. Contact lost 4 months ago + +" +language = "pol_PL" diff --git a/Strona menu.tscn34751151802.tmp b/Strona menu.tscn34751151802.tmp new file mode 100644 index 0000000..1e21bd4 --- /dev/null +++ b/Strona menu.tscn34751151802.tmp @@ -0,0 +1,122 @@ +[gd_scene load_steps=4 format=3 uid="uid://b42n4ho4ieda1"] + +[ext_resource type="Texture2D" uid="uid://b4belin6qbx5u" path="res://assets/obrazek startowy.png" id="1_cnjbm"] +[ext_resource type="Script" uid="uid://bb4std3ni3ug8" path="res://Scripts/pisanie_tekstu_strona_start.gd" id="1_gv3xn"] +[ext_resource type="AudioStream" uid="uid://bmnfhtk0savo3" path="res://assets/SIMPLE_Short_Pure_0002.wav" id="3_hoobl"] + +[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 +script = ExtResource("1_gv3xn") + +[node name="Label" type="Label" parent="."] +layout_mode = 0 +offset_left = 24.0 +offset_top = 11.0 +offset_right = 257.0 +offset_bottom = 106.0 +theme_override_font_sizes/font_size = 53 +text = "DeathWorlders" +autowrap_trim_flags = 0 +justification_flags = 160 +language = "pol_PL" + +[node name="TextureRect" type="TextureRect" parent="Label"] +show_behind_parent = true +layout_mode = 0 +offset_left = -28.0 +offset_top = -147.0 +offset_right = 1141.0 +offset_bottom = 877.0 +texture = ExtResource("1_cnjbm") + +[node name="GIN" type="Label" parent="Label"] +visible = false +layout_mode = 0 +offset_left = 756.0 +offset_top = 257.0 +offset_right = 1160.0 +offset_bottom = 316.0 +theme_override_font_sizes/font_size = 20 +text = "Connecting to: + Galactic Inteligence Network (GIN)" + +[node name="GIN - progress bar" type="Label" parent="Label"] +visible = false +layout_mode = 0 +offset_left = 756.0 +offset_top = 257.0 +offset_right = 1160.0 +offset_bottom = 347.0 +theme_override_font_sizes/font_size = 20 +text = " + +||||||||" + +[node name="GIN - connected" type="Label" parent="Label"] +visible = false +layout_mode = 0 +offset_left = 756.0 +offset_top = 257.0 +offset_right = 1160.0 +offset_bottom = 347.0 +theme_override_font_sizes/font_size = 20 +text = " + +Connected" + +[node name="Nazwa_statku" type="Label" parent="Label"] +visible = false +layout_mode = 1 +anchors_preset = -1 +anchor_left = -0.076000005 +anchor_right = -0.076000005 +offset_left = 786.412 +offset_top = 258.0 +offset_right = 1053.412 +offset_bottom = 295.0 +theme_override_font_sizes/font_size = 24 +text = "Xy'Laxus (Soul Reaper)" +autowrap_trim_flags = 0 +justification_flags = 160 +language = "pol_PL" + +[node name="Specyfikacja_statku" type="Label" parent="Label"] +visible = false +layout_mode = 1 +anchors_preset = -1 +anchor_left = -0.076000005 +anchor_right = -0.076000005 +offset_left = 786.412 +offset_top = 309.0 +offset_right = 1151.412 +offset_bottom = 635.0 +theme_override_constants/line_spacing = -3 +theme_override_font_sizes/font_size = 14 +text = "Class: Xanti Heavy Dreadnought + +Main role: orbital domination ship +Secondary: landing assault troops + providing support to ground troops + +Armament: +24x Plasma guns +10x antimetter torpedos +2x hevy phasors array for planetary siege +340,000 landing troops +4000 crew members + +Last mission: invasion on home planet of the + species called humans + +Current Status : Unknown. Contact lost 4 months ago + +" +language = "pol_PL" + +[node name="terminal beep" type="AudioStreamPlayer" parent="."] +stream = ExtResource("3_hoobl") diff --git a/assets-source-files/gwiazdka.xcf b/assets-source-files/gwiazdka.xcf new file mode 100644 index 0000000..f30e9d8 Binary files /dev/null and b/assets-source-files/gwiazdka.xcf differ diff --git a/assets-source-files/klawisz.xcf b/assets-source-files/klawisz.xcf new file mode 100644 index 0000000..63e8914 Binary files /dev/null and b/assets-source-files/klawisz.xcf differ diff --git a/assets-source-files/kreska.xcf b/assets-source-files/kreska.xcf new file mode 100644 index 0000000..19fd9ee Binary files /dev/null and b/assets-source-files/kreska.xcf differ diff --git a/assets/SIMPLE_Short_Pure_0002.wav b/assets/SIMPLE_Short_Pure_0002.wav new file mode 100644 index 0000000..efe139e Binary files /dev/null and b/assets/SIMPLE_Short_Pure_0002.wav differ diff --git a/assets/SIMPLE_Short_Pure_0002.wav.import b/assets/SIMPLE_Short_Pure_0002.wav.import new file mode 100644 index 0000000..b560ebf --- /dev/null +++ b/assets/SIMPLE_Short_Pure_0002.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://bmnfhtk0savo3" +path="res://.godot/imported/SIMPLE_Short_Pure_0002.wav-b31e5b33db97ed7f95d9d7390f46df50.sample" + +[deps] + +source_file="res://assets/SIMPLE_Short_Pure_0002.wav" +dest_files=["res://.godot/imported/SIMPLE_Short_Pure_0002.wav-b31e5b33db97ed7f95d9d7390f46df50.sample"] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=2 diff --git a/assets/gwiazdka.png b/assets/gwiazdka.png new file mode 100644 index 0000000..862c38b Binary files /dev/null and b/assets/gwiazdka.png differ diff --git a/assets/gwiazdka.png.import b/assets/gwiazdka.png.import new file mode 100644 index 0000000..4ed63e5 --- /dev/null +++ b/assets/gwiazdka.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dwxl6vplksmgq" +path="res://.godot/imported/gwiazdka.png-9150f18dc67dafc20b1bd390301f26fb.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/gwiazdka.png" +dest_files=["res://.godot/imported/gwiazdka.png-9150f18dc67dafc20b1bd390301f26fb.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 diff --git a/assets/klawisz.png b/assets/klawisz.png new file mode 100644 index 0000000..0947bcd Binary files /dev/null and b/assets/klawisz.png differ diff --git a/assets/klawisz.png.import b/assets/klawisz.png.import new file mode 100644 index 0000000..fb11600 --- /dev/null +++ b/assets/klawisz.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bbhj0if4c8hll" +path="res://.godot/imported/klawisz.png-e51233da045e4acf97cdb4ce8a00e7b3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/klawisz.png" +dest_files=["res://.godot/imported/klawisz.png-e51233da045e4acf97cdb4ce8a00e7b3.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 diff --git a/assets/kreska.png b/assets/kreska.png new file mode 100644 index 0000000..424c197 Binary files /dev/null and b/assets/kreska.png differ diff --git a/assets/kreska.png.import b/assets/kreska.png.import new file mode 100644 index 0000000..38c2b3f --- /dev/null +++ b/assets/kreska.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dgsfh26nssad8" +path="res://.godot/imported/kreska.png-f0d7fdd1bd2db2be2adeded932c667bf.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/kreska.png" +dest_files=["res://.godot/imported/kreska.png-f0d7fdd1bd2db2be2adeded932c667bf.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 diff --git a/assets/logo.png b/assets/logo.png new file mode 100644 index 0000000..1d77d14 Binary files /dev/null and b/assets/logo.png differ diff --git a/assets/logo.png.import b/assets/logo.png.import new file mode 100644 index 0000000..1264535 --- /dev/null +++ b/assets/logo.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dd1xpwk1n4s28" +path="res://.godot/imported/logo.png-e2220799298e3631eb0e245316e0501a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/logo.png" +dest_files=["res://.godot/imported/logo.png-e2220799298e3631eb0e245316e0501a.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 diff --git a/assets/obrazek startowy.png b/assets/obrazek startowy.png new file mode 100644 index 0000000..b3f7fd2 Binary files /dev/null and b/assets/obrazek startowy.png differ diff --git a/assets/obrazek startowy.png.import b/assets/obrazek startowy.png.import new file mode 100644 index 0000000..d858657 --- /dev/null +++ b/assets/obrazek startowy.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b4belin6qbx5u" +path="res://.godot/imported/obrazek startowy.png-ae7ce87452e04e19e42ee0a921db434f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/obrazek startowy.png" +dest_files=["res://.godot/imported/obrazek startowy.png-ae7ce87452e04e19e42ee0a921db434f.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 diff --git a/assets/royalty-free-cinematic-battle-track-412641.mp3 b/assets/royalty-free-cinematic-battle-track-412641.mp3 new file mode 100644 index 0000000..a1ec128 Binary files /dev/null and b/assets/royalty-free-cinematic-battle-track-412641.mp3 differ diff --git a/assets/royalty-free-cinematic-battle-track-412641.mp3.import b/assets/royalty-free-cinematic-battle-track-412641.mp3.import new file mode 100644 index 0000000..ee6eb31 --- /dev/null +++ b/assets/royalty-free-cinematic-battle-track-412641.mp3.import @@ -0,0 +1,19 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +uid="uid://ccf324oeiujdd" +path="res://.godot/imported/royalty-free-cinematic-battle-track-412641.mp3-dc34a825692806372cd53339a5c67e90.mp3str" + +[deps] + +source_file="res://assets/royalty-free-cinematic-battle-track-412641.mp3" +dest_files=["res://.godot/imported/royalty-free-cinematic-battle-track-412641.mp3-dc34a825692806372cd53339a5c67e90.mp3str"] + +[params] + +loop=true +loop_offset=0 +bpm=0 +beat_count=0 +bar_beats=4 diff --git a/assets/ziemia_menu.png b/assets/ziemia_menu.png new file mode 100644 index 0000000..42f06de Binary files /dev/null and b/assets/ziemia_menu.png differ diff --git a/assets/ziemia_menu.png.import b/assets/ziemia_menu.png.import new file mode 100644 index 0000000..70a3122 --- /dev/null +++ b/assets/ziemia_menu.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c6ukdf6kvr8xo" +path="res://.godot/imported/ziemia_menu.png-5f1d555f667e5ee770fc64c690832558.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/ziemia_menu.png" +dest_files=["res://.godot/imported/ziemia_menu.png-5f1d555f667e5ee770fc64c690832558.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 diff --git a/default_bus_layout.tres b/default_bus_layout.tres new file mode 100644 index 0000000..f511725 --- /dev/null +++ b/default_bus_layout.tres @@ -0,0 +1,21 @@ +[gd_resource type="AudioBusLayout" format=3 uid="uid://clgkeb5hrksja"] + +[resource] +bus/1/name = &"Music" +bus/1/solo = false +bus/1/mute = false +bus/1/bypass_fx = false +bus/1/volume_db = 0.0 +bus/1/send = &"Master" +bus/2/name = &"SFX" +bus/2/solo = false +bus/2/mute = false +bus/2/bypass_fx = false +bus/2/volume_db = 0.0 +bus/2/send = &"Master" +bus/3/name = &"Voices" +bus/3/solo = false +bus/3/mute = false +bus/3/bypass_fx = false +bus/3/volume_db = 0.0 +bus/3/send = &"Master" diff --git a/play.tscn b/play.tscn new file mode 100644 index 0000000..286acab --- /dev/null +++ b/play.tscn @@ -0,0 +1,20 @@ +[gd_scene format=3 uid="uid://db3qkr4k5gpbh"] + +[node name="Control" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +offset_right = -978.0 +offset_bottom = -586.0 +grow_horizontal = 2 +grow_vertical = 2 +mouse_filter = 2 + +[node name="CanvasLayer" type="CanvasLayer" parent="."] + +[node name="Button" type="Button" parent="CanvasLayer"] +offset_right = 171.0 +offset_bottom = 52.0 +toggle_mode = true +text = "play" diff --git a/project.godot b/project.godot index 2c14cc0..0f62db9 100644 --- a/project.godot +++ b/project.godot @@ -11,9 +11,18 @@ config_version=5 [application] config/name="Projekt_gry" +run/main_scene="uid://b42n4ho4ieda1" config/features=PackedStringArray("4.5", "GL Compatibility") config/icon="res://icon.svg" +[autoload] + +BackgroundMusic="*res://sceny/background_music.tscn" + +[internationalization] + +locale/translation_remaps={} + [rendering] renderer/rendering_method="gl_compatibility" diff --git a/sceny/background_music.tscn b/sceny/background_music.tscn new file mode 100644 index 0000000..40dc786 --- /dev/null +++ b/sceny/background_music.tscn @@ -0,0 +1,10 @@ +[gd_scene load_steps=2 format=3 uid="uid://d7863rryxa48"] + +[ext_resource type="AudioStream" uid="uid://ccf324oeiujdd" path="res://assets/royalty-free-cinematic-battle-track-412641.mp3" id="1_p8e72"] + +[node name="background music" type="AudioStreamPlayer"] +process_mode = 3 +stream = ExtResource("1_p8e72") +volume_db = -30.531 +autoplay = true +bus = &"Music"