Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b52ef06af8 | |||
| b7f0180a96 | |||
| 6574082e26 | |||
| ba1538647e |
30
Scripts/core_manager.gd
Normal file
30
Scripts/core_manager.gd
Normal file
@@ -0,0 +1,30 @@
|
||||
extends Node
|
||||
func _ready ():
|
||||
start_build()
|
||||
var game_time := 0.0 #aktualny czas w grze
|
||||
var build_duration := 10.0
|
||||
var finish_time := 0.0
|
||||
var is_building := false
|
||||
|
||||
func _process(delta):
|
||||
game_time += delta * Settings.time_scale
|
||||
#print(now())
|
||||
|
||||
if is_building:
|
||||
if game_time >= finish_time:
|
||||
finish_building()
|
||||
|
||||
func now() -> float:
|
||||
return game_time
|
||||
|
||||
func start_build():
|
||||
# ustawiamy czas zakończenia budowy na current_time + build_duration
|
||||
finish_time = game_time + build_duration
|
||||
is_building = true
|
||||
print("Budowa rozpoczęta. Zakończy się o czasie:", finish_time)
|
||||
|
||||
|
||||
func finish_building():
|
||||
is_building = false
|
||||
print("Budowa zakończona w czasie gry:", game_time)
|
||||
|
||||
1
Scripts/core_manager.gd.uid
Normal file
1
Scripts/core_manager.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://cfp08u5odbrej
|
||||
75
Scripts/pisanie_tekstu_strona_start.gd
Normal file
75
Scripts/pisanie_tekstu_strona_start.gd
Normal file
@@ -0,0 +1,75 @@
|
||||
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
|
||||
1
Scripts/pisanie_tekstu_strona_start.gd.uid
Normal file
1
Scripts/pisanie_tekstu_strona_start.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://bb4std3ni3ug8
|
||||
4
Scripts/settings.gd
Normal file
4
Scripts/settings.gd
Normal file
@@ -0,0 +1,4 @@
|
||||
extends Node
|
||||
#Opcje konfiguracyjne
|
||||
|
||||
var time_scale := 1 #mnożnik czasu (x1 normalny)
|
||||
1
Scripts/settings.gd.uid
Normal file
1
Scripts/settings.gd.uid
Normal file
@@ -0,0 +1 @@
|
||||
uid://45qg56i64o8p
|
||||
173
Strona menu.tscn
173
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"
|
||||
|
||||
118
Strona menu.tscn34370000465.tmp
Normal file
118
Strona menu.tscn34370000465.tmp
Normal file
@@ -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"
|
||||
122
Strona menu.tscn34751151802.tmp
Normal file
122
Strona menu.tscn34751151802.tmp
Normal file
@@ -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")
|
||||
0
To jest testowa zmiana.txt
Normal file
0
To jest testowa zmiana.txt
Normal file
BIN
assets-source-files/gwiazdka.xcf
Normal file
BIN
assets-source-files/gwiazdka.xcf
Normal file
Binary file not shown.
BIN
assets-source-files/klawisz.xcf
Normal file
BIN
assets-source-files/klawisz.xcf
Normal file
Binary file not shown.
BIN
assets-source-files/kreska.xcf
Normal file
BIN
assets-source-files/kreska.xcf
Normal file
Binary file not shown.
BIN
assets/SIMPLE_Short_Pure_0002.wav
Normal file
BIN
assets/SIMPLE_Short_Pure_0002.wav
Normal file
Binary file not shown.
24
assets/SIMPLE_Short_Pure_0002.wav.import
Normal file
24
assets/SIMPLE_Short_Pure_0002.wav.import
Normal file
@@ -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
|
||||
BIN
assets/gwiazdka.png
Normal file
BIN
assets/gwiazdka.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
40
assets/gwiazdka.png.import
Normal file
40
assets/gwiazdka.png.import
Normal file
@@ -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
|
||||
BIN
assets/klawisz.png
Normal file
BIN
assets/klawisz.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
40
assets/klawisz.png.import
Normal file
40
assets/klawisz.png.import
Normal file
@@ -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
|
||||
BIN
assets/kreska.png
Normal file
BIN
assets/kreska.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 223 B |
40
assets/kreska.png.import
Normal file
40
assets/kreska.png.import
Normal file
@@ -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
|
||||
BIN
assets/logo.png
Normal file
BIN
assets/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
40
assets/logo.png.import
Normal file
40
assets/logo.png.import
Normal file
@@ -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
|
||||
BIN
assets/obrazek startowy.png
Normal file
BIN
assets/obrazek startowy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 MiB |
40
assets/obrazek startowy.png.import
Normal file
40
assets/obrazek startowy.png.import
Normal file
@@ -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
|
||||
BIN
assets/royalty-free-cinematic-battle-track-412641.mp3
Normal file
BIN
assets/royalty-free-cinematic-battle-track-412641.mp3
Normal file
Binary file not shown.
19
assets/royalty-free-cinematic-battle-track-412641.mp3.import
Normal file
19
assets/royalty-free-cinematic-battle-track-412641.mp3.import
Normal file
@@ -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
|
||||
BIN
assets/ziemia_menu.png
Normal file
BIN
assets/ziemia_menu.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
40
assets/ziemia_menu.png.import
Normal file
40
assets/ziemia_menu.png.import
Normal file
@@ -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
|
||||
21
default_bus_layout.tres
Normal file
21
default_bus_layout.tres
Normal file
@@ -0,0 +1,21 @@
|
||||
[gd_resource type="AudioBusLayout" load_steps=0 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"
|
||||
20
play.tscn
Normal file
20
play.tscn
Normal file
@@ -0,0 +1,20 @@
|
||||
[gd_scene load_steps=0 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"
|
||||
@@ -11,9 +11,20 @@ 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]
|
||||
|
||||
Settings="*res://Scripts/settings.gd"
|
||||
CoreManager="*res://Scripts/core_manager.gd"
|
||||
BackgroundMusic="*res://sceny/background_music.tscn"
|
||||
|
||||
[internationalization]
|
||||
|
||||
locale/translation_remaps={}
|
||||
|
||||
[rendering]
|
||||
|
||||
renderer/rendering_method="gl_compatibility"
|
||||
|
||||
10
sceny/background_music.tscn
Normal file
10
sceny/background_music.tscn
Normal file
@@ -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"
|
||||
Reference in New Issue
Block a user