diff --git a/assets/stars/stars_anim/license.txt b/assets/stars/stars_anim/license.txt new file mode 100644 index 0000000..dba9d41 --- /dev/null +++ b/assets/stars/stars_anim/license.txt @@ -0,0 +1,6 @@ +This work, made by Viktor Hahn (Viktor.Hahn@web.de), is +licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. +http://creativecommons.org/licenses/by-sa/3.0/ +and the Creative Commons Attribution 4.0 International License (CC BY 4.0). +https://creativecommons.org/licenses/by/4.0/ + diff --git a/assets/stars/stars_anim/star_blue01.png b/assets/stars/stars_anim/star_blue01.png new file mode 100644 index 0000000..d9cb10a Binary files /dev/null and b/assets/stars/stars_anim/star_blue01.png differ diff --git a/assets/stars/stars_anim/star_blue01.png.import b/assets/stars/stars_anim/star_blue01.png.import new file mode 100644 index 0000000..51da4bd --- /dev/null +++ b/assets/stars/stars_anim/star_blue01.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://btv7sp768x6jh" +path="res://.godot/imported/star_blue01.png-7ceacba937b06646ac69276966d92c1e.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_blue01.png" +dest_files=["res://.godot/imported/star_blue01.png-7ceacba937b06646ac69276966d92c1e.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/stars/stars_anim/star_blue02.png b/assets/stars/stars_anim/star_blue02.png new file mode 100644 index 0000000..338cd30 Binary files /dev/null and b/assets/stars/stars_anim/star_blue02.png differ diff --git a/assets/stars/stars_anim/star_blue02.png.import b/assets/stars/stars_anim/star_blue02.png.import new file mode 100644 index 0000000..7cf3eb5 --- /dev/null +++ b/assets/stars/stars_anim/star_blue02.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ddl6kd42nnqgp" +path="res://.godot/imported/star_blue02.png-a5f853c39f0dbba853dfb797aaa3ad3f.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_blue02.png" +dest_files=["res://.godot/imported/star_blue02.png-a5f853c39f0dbba853dfb797aaa3ad3f.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/stars/stars_anim/star_blue03.png b/assets/stars/stars_anim/star_blue03.png new file mode 100644 index 0000000..50807f6 Binary files /dev/null and b/assets/stars/stars_anim/star_blue03.png differ diff --git a/assets/stars/stars_anim/star_blue03.png.import b/assets/stars/stars_anim/star_blue03.png.import new file mode 100644 index 0000000..08365c4 --- /dev/null +++ b/assets/stars/stars_anim/star_blue03.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dghtcw0nle871" +path="res://.godot/imported/star_blue03.png-e559c3a94f5fc221e7dea078fcd9fa44.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_blue03.png" +dest_files=["res://.godot/imported/star_blue03.png-e559c3a94f5fc221e7dea078fcd9fa44.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/stars/stars_anim/star_blue04.png b/assets/stars/stars_anim/star_blue04.png new file mode 100644 index 0000000..e4627d3 Binary files /dev/null and b/assets/stars/stars_anim/star_blue04.png differ diff --git a/assets/stars/stars_anim/star_blue04.png.import b/assets/stars/stars_anim/star_blue04.png.import new file mode 100644 index 0000000..27393c3 --- /dev/null +++ b/assets/stars/stars_anim/star_blue04.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://npxi1tplw72c" +path="res://.godot/imported/star_blue04.png-679746a9708d941618eaf937b6559859.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_blue04.png" +dest_files=["res://.godot/imported/star_blue04.png-679746a9708d941618eaf937b6559859.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/stars/stars_anim/star_orange01.png b/assets/stars/stars_anim/star_orange01.png new file mode 100644 index 0000000..bafc6d7 Binary files /dev/null and b/assets/stars/stars_anim/star_orange01.png differ diff --git a/assets/stars/stars_anim/star_orange01.png.import b/assets/stars/stars_anim/star_orange01.png.import new file mode 100644 index 0000000..6953e94 --- /dev/null +++ b/assets/stars/stars_anim/star_orange01.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://l7bbst7h3e3d" +path="res://.godot/imported/star_orange01.png-a241e38f985fd5131f0b80a6e20baf40.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_orange01.png" +dest_files=["res://.godot/imported/star_orange01.png-a241e38f985fd5131f0b80a6e20baf40.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/stars/stars_anim/star_orange02.png b/assets/stars/stars_anim/star_orange02.png new file mode 100644 index 0000000..8e870e5 Binary files /dev/null and b/assets/stars/stars_anim/star_orange02.png differ diff --git a/assets/stars/stars_anim/star_orange02.png.import b/assets/stars/stars_anim/star_orange02.png.import new file mode 100644 index 0000000..a64810f --- /dev/null +++ b/assets/stars/stars_anim/star_orange02.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b4pmtxdqlqnt8" +path="res://.godot/imported/star_orange02.png-5b8e4f38447d6c203677f0fe820f54b2.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_orange02.png" +dest_files=["res://.godot/imported/star_orange02.png-5b8e4f38447d6c203677f0fe820f54b2.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/stars/stars_anim/star_orange03.png b/assets/stars/stars_anim/star_orange03.png new file mode 100644 index 0000000..8007755 Binary files /dev/null and b/assets/stars/stars_anim/star_orange03.png differ diff --git a/assets/stars/stars_anim/star_orange03.png.import b/assets/stars/stars_anim/star_orange03.png.import new file mode 100644 index 0000000..a67b589 --- /dev/null +++ b/assets/stars/stars_anim/star_orange03.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dtwa3yxe5fcaq" +path="res://.godot/imported/star_orange03.png-ded5cbaeaa444c8af77b916b38aef95a.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_orange03.png" +dest_files=["res://.godot/imported/star_orange03.png-ded5cbaeaa444c8af77b916b38aef95a.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/stars/stars_anim/star_orange04.png b/assets/stars/stars_anim/star_orange04.png new file mode 100644 index 0000000..bfce169 Binary files /dev/null and b/assets/stars/stars_anim/star_orange04.png differ diff --git a/assets/stars/stars_anim/star_orange04.png.import b/assets/stars/stars_anim/star_orange04.png.import new file mode 100644 index 0000000..5f195fe --- /dev/null +++ b/assets/stars/stars_anim/star_orange04.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bm8q5qly218xn" +path="res://.godot/imported/star_orange04.png-d61ba2ab966402cebaac43584b46da68.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_orange04.png" +dest_files=["res://.godot/imported/star_orange04.png-d61ba2ab966402cebaac43584b46da68.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/stars/stars_anim/star_red01.png b/assets/stars/stars_anim/star_red01.png new file mode 100644 index 0000000..126d9c4 Binary files /dev/null and b/assets/stars/stars_anim/star_red01.png differ diff --git a/assets/stars/stars_anim/star_red01.png.import b/assets/stars/stars_anim/star_red01.png.import new file mode 100644 index 0000000..7fbf891 --- /dev/null +++ b/assets/stars/stars_anim/star_red01.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://otfvkc7pds1c" +path="res://.godot/imported/star_red01.png-14e7a69e35045462e106257bbc799d92.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_red01.png" +dest_files=["res://.godot/imported/star_red01.png-14e7a69e35045462e106257bbc799d92.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/stars/stars_anim/star_red02.png b/assets/stars/stars_anim/star_red02.png new file mode 100644 index 0000000..477b311 Binary files /dev/null and b/assets/stars/stars_anim/star_red02.png differ diff --git a/assets/stars/stars_anim/star_red02.png.import b/assets/stars/stars_anim/star_red02.png.import new file mode 100644 index 0000000..db5395d --- /dev/null +++ b/assets/stars/stars_anim/star_red02.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bm7hr6va1djdg" +path="res://.godot/imported/star_red02.png-85f1c65878d98757b079dd291ee58878.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_red02.png" +dest_files=["res://.godot/imported/star_red02.png-85f1c65878d98757b079dd291ee58878.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/stars/stars_anim/star_red03.png b/assets/stars/stars_anim/star_red03.png new file mode 100644 index 0000000..504a1fb Binary files /dev/null and b/assets/stars/stars_anim/star_red03.png differ diff --git a/assets/stars/stars_anim/star_red03.png.import b/assets/stars/stars_anim/star_red03.png.import new file mode 100644 index 0000000..879fd69 --- /dev/null +++ b/assets/stars/stars_anim/star_red03.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://6jjk6h1aihsw" +path="res://.godot/imported/star_red03.png-3d6f19c309e06ba4a7bbc2487cb696f3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_red03.png" +dest_files=["res://.godot/imported/star_red03.png-3d6f19c309e06ba4a7bbc2487cb696f3.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/stars/stars_anim/star_red04.png b/assets/stars/stars_anim/star_red04.png new file mode 100644 index 0000000..35067d9 Binary files /dev/null and b/assets/stars/stars_anim/star_red04.png differ diff --git a/assets/stars/stars_anim/star_red04.png.import b/assets/stars/stars_anim/star_red04.png.import new file mode 100644 index 0000000..52b642d --- /dev/null +++ b/assets/stars/stars_anim/star_red04.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cupuo3cglvatl" +path="res://.godot/imported/star_red04.png-512998e170eaa0e4771038797ce74907.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_red04.png" +dest_files=["res://.godot/imported/star_red04.png-512998e170eaa0e4771038797ce74907.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/stars/stars_anim/star_white01.png b/assets/stars/stars_anim/star_white01.png new file mode 100644 index 0000000..6ba14e1 Binary files /dev/null and b/assets/stars/stars_anim/star_white01.png differ diff --git a/assets/stars/stars_anim/star_white01.png.import b/assets/stars/stars_anim/star_white01.png.import new file mode 100644 index 0000000..d619e27 --- /dev/null +++ b/assets/stars/stars_anim/star_white01.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dbdoguerkaubn" +path="res://.godot/imported/star_white01.png-49ce70bbcd34e09d6039a4295ef19062.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_white01.png" +dest_files=["res://.godot/imported/star_white01.png-49ce70bbcd34e09d6039a4295ef19062.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/stars/stars_anim/star_white02.png b/assets/stars/stars_anim/star_white02.png new file mode 100644 index 0000000..93aa88e Binary files /dev/null and b/assets/stars/stars_anim/star_white02.png differ diff --git a/assets/stars/stars_anim/star_white02.png.import b/assets/stars/stars_anim/star_white02.png.import new file mode 100644 index 0000000..d3ce499 --- /dev/null +++ b/assets/stars/stars_anim/star_white02.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://r8nuxqpjnhxy" +path="res://.godot/imported/star_white02.png-566afe5020e86027112b246edf07677c.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_white02.png" +dest_files=["res://.godot/imported/star_white02.png-566afe5020e86027112b246edf07677c.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/stars/stars_anim/star_white03.png b/assets/stars/stars_anim/star_white03.png new file mode 100644 index 0000000..bc0adc6 Binary files /dev/null and b/assets/stars/stars_anim/star_white03.png differ diff --git a/assets/stars/stars_anim/star_white03.png.import b/assets/stars/stars_anim/star_white03.png.import new file mode 100644 index 0000000..b1fd61f --- /dev/null +++ b/assets/stars/stars_anim/star_white03.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b83jwumh3r5kj" +path="res://.godot/imported/star_white03.png-d64b24b80caf39a45a818236c15e71db.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_white03.png" +dest_files=["res://.godot/imported/star_white03.png-d64b24b80caf39a45a818236c15e71db.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/stars/stars_anim/star_white04.png b/assets/stars/stars_anim/star_white04.png new file mode 100644 index 0000000..eb69539 Binary files /dev/null and b/assets/stars/stars_anim/star_white04.png differ diff --git a/assets/stars/stars_anim/star_white04.png.import b/assets/stars/stars_anim/star_white04.png.import new file mode 100644 index 0000000..38b2e55 --- /dev/null +++ b/assets/stars/stars_anim/star_white04.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cnnellmy2f5ek" +path="res://.godot/imported/star_white04.png-cc91efb49869eef04bc4604645587225.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_white04.png" +dest_files=["res://.godot/imported/star_white04.png-cc91efb49869eef04bc4604645587225.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/stars/stars_anim/star_yellow01.png b/assets/stars/stars_anim/star_yellow01.png new file mode 100644 index 0000000..2a83284 Binary files /dev/null and b/assets/stars/stars_anim/star_yellow01.png differ diff --git a/assets/stars/stars_anim/star_yellow01.png.import b/assets/stars/stars_anim/star_yellow01.png.import new file mode 100644 index 0000000..a6b0695 --- /dev/null +++ b/assets/stars/stars_anim/star_yellow01.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cc5r6x34yelmi" +path="res://.godot/imported/star_yellow01.png-7bc8e4a91f5c7c5c7bf3f9379cc604a2.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_yellow01.png" +dest_files=["res://.godot/imported/star_yellow01.png-7bc8e4a91f5c7c5c7bf3f9379cc604a2.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/stars/stars_anim/star_yellow02.png b/assets/stars/stars_anim/star_yellow02.png new file mode 100644 index 0000000..dbb3136 Binary files /dev/null and b/assets/stars/stars_anim/star_yellow02.png differ diff --git a/assets/stars/stars_anim/star_yellow02.png.import b/assets/stars/stars_anim/star_yellow02.png.import new file mode 100644 index 0000000..4e99659 --- /dev/null +++ b/assets/stars/stars_anim/star_yellow02.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ltoro3q2c60d" +path="res://.godot/imported/star_yellow02.png-c80b441b0567331b97b7328f4ab4d281.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_yellow02.png" +dest_files=["res://.godot/imported/star_yellow02.png-c80b441b0567331b97b7328f4ab4d281.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/stars/stars_anim/star_yellow03.png b/assets/stars/stars_anim/star_yellow03.png new file mode 100644 index 0000000..869b98d Binary files /dev/null and b/assets/stars/stars_anim/star_yellow03.png differ diff --git a/assets/stars/stars_anim/star_yellow03.png.import b/assets/stars/stars_anim/star_yellow03.png.import new file mode 100644 index 0000000..17d7d60 --- /dev/null +++ b/assets/stars/stars_anim/star_yellow03.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dwinfe2nx83au" +path="res://.godot/imported/star_yellow03.png-cce16f817bff87c962db42e8d6688104.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_yellow03.png" +dest_files=["res://.godot/imported/star_yellow03.png-cce16f817bff87c962db42e8d6688104.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/stars/stars_anim/star_yellow04.png b/assets/stars/stars_anim/star_yellow04.png new file mode 100644 index 0000000..d8ab2c6 Binary files /dev/null and b/assets/stars/stars_anim/star_yellow04.png differ diff --git a/assets/stars/stars_anim/star_yellow04.png.import b/assets/stars/stars_anim/star_yellow04.png.import new file mode 100644 index 0000000..2c3ebc4 --- /dev/null +++ b/assets/stars/stars_anim/star_yellow04.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c8bjg3byd5rds" +path="res://.godot/imported/star_yellow04.png-8e11153a375b9289bd2f4f91db94e552.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/stars/stars_anim/star_yellow04.png" +dest_files=["res://.godot/imported/star_yellow04.png-8e11153a375b9289bd2f4f91db94e552.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/resources/star1.tres b/resources/star1.tres new file mode 100644 index 0000000..009b90e --- /dev/null +++ b/resources/star1.tres @@ -0,0 +1,16 @@ +[gd_resource type="AnimatedTexture" load_steps=4 format=3 uid="uid://dljtjoy4w4ve"] + +[ext_resource type="Texture2D" uid="uid://bm7hr6va1djdg" path="res://assets/stars/stars_anim/star_red02.png" id="2_defdk"] +[ext_resource type="Texture2D" uid="uid://6jjk6h1aihsw" path="res://assets/stars/stars_anim/star_red03.png" id="3_lxlcc"] +[ext_resource type="Texture2D" uid="uid://cupuo3cglvatl" path="res://assets/stars/stars_anim/star_red04.png" id="4_63dot"] + +[resource] +frames = 4 +speed_scale = 41.0 +frame_0/duration = 0.2 +frame_1/texture = ExtResource("2_defdk") +frame_1/duration = 0.2 +frame_2/texture = ExtResource("3_lxlcc") +frame_2/duration = 0.2 +frame_3/texture = ExtResource("4_63dot") +frame_3/duration = 0.1 diff --git a/scenes/planet.tscn b/scenes/planet.tscn index f38d5ee..e307d86 100644 --- a/scenes/planet.tscn +++ b/scenes/planet.tscn @@ -38,7 +38,7 @@ vertical_alignment = 1 [node name="Info" type="Label" parent="CanvasLayer"] offset_left = 16.0 offset_top = 32.0 -offset_right = 183.0 +offset_right = 278.0 offset_bottom = 215.0 theme_override_colors/font_outline_color = Color(0, 0, 0, 1) theme_override_constants/outline_size = 1 diff --git a/scenes/star.tscn b/scenes/star.tscn index 0b58c23..e2db952 100644 --- a/scenes/star.tscn +++ b/scenes/star.tscn @@ -1,7 +1,6 @@ -[gd_scene load_steps=5 format=3 uid="uid://cvc0brcqh2rhu"] +[gd_scene load_steps=4 format=3 uid="uid://cvc0brcqh2rhu"] [ext_resource type="Script" uid="uid://c7l387xor12hx" path="res://scripts/star.gd" id="1_mcqwg"] -[ext_resource type="Texture2D" uid="uid://b4iycl7xcvpkp" path="res://assets/stars/s1.png" id="2_j6vao"] [ext_resource type="Script" uid="uid://bgghdcbxp6o0k" path="res://scripts/star_sprite.gd" id="3_ef0hr"] [ext_resource type="FontFile" uid="uid://chk8jrn2ighpx" path="res://assets/fonts/main_font.ttf" id="4_8d8bx"] @@ -9,9 +8,7 @@ script = ExtResource("1_mcqwg") [node name="Sprite2D" type="Sprite2D" parent="."] -position = Vector2(2.3841858e-07, 0) -scale = Vector2(0.019316493, 0.019316494) -texture = ExtResource("2_j6vao") +scale = Vector2(0.014594748, 0.013618186) script = ExtResource("3_ef0hr") [node name="Label" type="Label" parent="."] diff --git a/scripts/BuildingsList.gd b/scripts/BuildingsList.gd index 8e4721c..b6b633f 100644 --- a/scripts/BuildingsList.gd +++ b/scripts/BuildingsList.gd @@ -6,6 +6,9 @@ const BUILDINGS = { "description": "Pozwala wydobywać żelazo z powierzchni planety.", "resource": "iron", "cost": {"iron": 100, "carbon": 50}, + "bonuses": { + + }, "build_time": 10.0, "texture": "res://assets/buildings/iron_mine.png", "required_tech": null @@ -15,6 +18,9 @@ const BUILDINGS = { "description": "Pozwala wydobywać i oczyszczać wodę do użytku kolonii.", "resource": "water", "cost": {"iron": 80, "carbon": 40}, + "bonuses": { + + }, "build_time": 8.0, "texture": "res://assets/buildings/water_purifier.png", "required_tech": null @@ -24,7 +30,46 @@ const BUILDINGS = { "description": "Pozwala wydobywać miedź.", "resource": "copper", "cost": {"iron": 80, "carbon": 40}, - "build_time": 22.0, + "bonuses": { + + }, + "build_time": 500.0, + "texture": "res://assets/buildings/water_purifier.png", + "required_tech": null + }, + "uran_mine": { + "name": "Uran Mine", + "description": "Pozwala wydobywać uran.", + "resource": "uranium", + "cost": {"iron": 80, "carbon": 40}, + "bonuses": { + + }, + "build_time": 5.0, + "texture": "res://assets/buildings/water_purifier.png", + "required_tech": null + }, + "residential_zone": { + "name": "Residential Zone", + "description": "Zwiększa limit populacji", + "bonuses": { + "total_pop_bonus": 25 + }, + "resource": null, + "cost": {"iron": 80, "carbon": 40}, + "build_time": 5.0, + "texture": "res://assets/buildings/water_purifier.png", + "required_tech": null + }, + "terraforming_center": { + "name": "Terraforming Center", + "description": "Zwiększa limit populacji", + "bonuses": { + "biosfere": 0.5 + }, + "resource": null, + "cost": {"iron": 80, "carbon": 40}, + "build_time": 5.0, "texture": "res://assets/buildings/water_purifier.png", "required_tech": null } diff --git a/scripts/galaxy.gd b/scripts/galaxy.gd index 254f177..bd56108 100644 --- a/scripts/galaxy.gd +++ b/scripts/galaxy.gd @@ -50,12 +50,12 @@ func _generate_galaxy(count: int): planet.orbit_radius = 45 + j * 40 planet.orbit_speed = randf_range(0.004, 0.01) planet.size = randi_range(1, 3) - assign_max_population(planet) + #assign_max_population(planet) generate_planet_resources(planet) # <-- tu losujemy surowce var angle = randf() * TAU planet.position = Vector2(cos(angle), sin(angle)) * planet.orbit_radius planet.res_rich = randf() - planet.biosfere = randf() # float od 0 do 1 + planet.biosfere = pow(randf_range(0.0, 1.0), 3) # float od 0 do 1 if planet.biosfere > 0.7: planet.get_node("Sprite2D").texture = load("res://assets/planets/p%d.png" % randi_range(1,9)) else: @@ -84,17 +84,17 @@ func generate_planet_resources(planet): var amount = 0 planet.resources[res_name] = {"exist": exists, "amount": amount} -func assign_max_population(planet): - # planet_size = 1 (mała), 2 (średnia), 3 (duża) - match planet.size: - 1: - planet.max_pop = randi_range(1000, 5000) - 2: - planet.max_pop = randi_range(10000, 20000) - 3: - planet.max_pop = randi_range(40000, 80000) - _: - planet.max_pop = 0 # zabezpieczenie, gdyby coś poszło nie tak +#func assign_max_population(planet): + ## planet_size = 1 (mała), 2 (średnia), 3 (duża) + #match planet.size: + #1: + #planet.max_pop = randi_range(1000, 5000) + #2: + #planet.max_pop = randi_range(10000, 20000) + #3: + #planet.max_pop = randi_range(40000, 80000) + #_: + #planet.max_pop = 0 # zabezpieczenie, gdyby coś poszło nie tak func _input(event): if event.is_action_pressed("ui_cancel"): # np. klawisz ESC diff --git a/scripts/planet.gd b/scripts/planet.gd index f08f2fd..fb6862d 100644 --- a/scripts/planet.gd +++ b/scripts/planet.gd @@ -20,6 +20,10 @@ var population: int = 0 var res_rich: float = 0.0 var resources := {} var buildings := [] +var bonuses = { + "total_pop_bonus": 0, # w % + "biosfere": 0.0, # mnożnik bazowy +} # słownik z ID -> stan budynku @@ -37,9 +41,7 @@ func _ready(): _update_position() # Testowanie funkcji - add_building("iron_mine") - add_building("water_purifier") - add_building("copper_mine") # próba dodania ponownie + print("Lista budynków na planecie:", buildings) var data = BuildingsList.BUILDINGS["iron_mine"] @@ -83,13 +85,18 @@ func colonize(): if is_colonized == false: is_colonized = true label.add_theme_color_override("font_color", Color(0.0, 0.454, 0.0, 1.0)) - + + add_building("iron_mine") + add_building("water_purifier") + add_building("terraforming_center") + add_building("residential_zone") population = 100 print_data() func print_data(): + check_max_pop() var text = "🌍 %s\n" % pname - text += "Biosfera: %.2f\n" % biosfere + text += "Biosfera: %.2f\n" % biosfere text += "Zasobność surowców: %.2f\n" % res_rich text += "Limit populacji: " + str(int(max_pop)).pad_decimals(0) + "\n" text += "Populacja: " + str(int(population)).pad_decimals(0) + "\n" @@ -113,9 +120,16 @@ func print_data(): text += "- %s [%s]\n" % [data.name, status] info_label.text = text + +func check_max_pop(): + max_pop = min(1.0, biosfere + bonuses["biosfere"]) * 10000000 * (1.0 + bonuses["total_pop_bonus"] / 100.0) + + + return max_pop func _pop_growth(delta): pop_timer += delta + max_pop = check_max_pop() if pop_timer >= Settings.UPDATE_INTERVAL: if resources["water"]["amount"] > 0: var growth = int(max(1, population * 0.05 * biosfere)) @@ -151,7 +165,9 @@ func _res_growth(delta): func check_growth() -> float: # Zwraca przyrost zaokrąglony do 2 miejsc po przecinku - var growth = res_rich * (population / 1000.0) + var growth = res_rich * log(1 + population / 500.0) + + return round(growth * 100) / 100.0 func _res_consumption(delta): @@ -194,3 +210,28 @@ func update_buildings(delta: float): if b.built_time >= build_time: b.is_building = false print("Budowa ukończona:", BuildingsList.BUILDINGS[b.id].name) + + # Pobierz dane zakończonego budynku + var building_data = BuildingsList.BUILDINGS[b.id] + + # Jeśli budynek ma sekcję "bonuses", zastosuj je + if "bonuses" in building_data: + _apply_building_bonuses(building_data["bonuses"]) + +# Uniwersalna funkcja stosowania bonusów +func _apply_building_bonuses(bonus_dict: Dictionary) -> void: + for key in bonus_dict.keys(): + var value = bonus_dict[key] + + # Jeśli taki bonus już istnieje – dodaj wartość + if key in bonuses: + bonuses[key] += value + # Jeśli nie istnieje – dodaj nowy klucz do słownika bonuses + else: + bonuses[key] = value + + if (biosfere + bonuses["biosfere"] > 0.7): + print("zmieniam texture") + $Sprite2D.texture = load("res://assets/planets/p%d.png" % randi_range(1,9)) + + print("Zastosowano bonusy:", bonus_dict) diff --git a/scripts/settings.gd b/scripts/settings.gd index 7cfc097..e35517f 100644 --- a/scripts/settings.gd +++ b/scripts/settings.gd @@ -1,7 +1,7 @@ extends Node const LANGUAGE = 'pl' var number_of_players = 1 -var map_speed = 0.01 +var map_speed = 0.07 @@ -14,7 +14,7 @@ const MAX_PLACEMENT_ATTEMPTS: int = 50 const MARGIN: float = 50.0 var NUMBER_OF_SYSTEMS: int = 300 #Ilosc systemów -var min_planet = 1 +var min_planet = 5 var max_planet = 7 #Zmiana upływu czasu