Compare commits

...

10 commits

88 changed files with 1286 additions and 307 deletions

BIN
Assets/Background.ase Normal file

Binary file not shown.

BIN
Assets/Background.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

View file

@ -2,16 +2,16 @@
importer="texture" importer="texture"
type="CompressedTexture2D" type="CompressedTexture2D"
uid="uid://dh14dje1066et" uid="uid://bmm8pehr16xa7"
path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex" path="res://.godot/imported/Background.png-e8880a50f4091751eaed728281d3c21e.ctex"
metadata={ metadata={
"vram_texture": false "vram_texture": false
} }
[deps] [deps]
source_file="res://icon.svg" source_file="res://Assets/Background.png"
dest_files=["res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"] dest_files=["res://.godot/imported/Background.png-e8880a50f4091751eaed728281d3c21e.ctex"]
[params] [params]
@ -32,6 +32,3 @@ process/hdr_as_srgb=false
process/hdr_clamp_exposure=false process/hdr_clamp_exposure=false
process/size_limit=0 process/size_limit=0
detect_3d/compress_to=1 detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false

BIN
Assets/Banner.ase Normal file

Binary file not shown.

BIN
Assets/Banner.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

34
Assets/Banner.png.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bn3chw7vv5g1n"
path="res://.godot/imported/Banner.png-77892cb48b9e40a32c23d6b9a78b943a.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Banner.png"
dest_files=["res://.godot/imported/Banner.png-77892cb48b9e40a32c23d6b9a78b943a.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
Assets/Buttons/Block.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 320 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://4lw62sgadmh5"
path="res://.godot/imported/Block.png-e8790a848dc8ef0efffc133bcb82a2eb.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Buttons/Block.png"
dest_files=["res://.godot/imported/Block.png-e8790a848dc8ef0efffc133bcb82a2eb.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
Assets/Buttons/Button.ase Normal file

Binary file not shown.

BIN
Assets/Buttons/Button.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://ttnb0ee6536p"
path="res://.godot/imported/Button.png-e477d525d210fd022611f6d249009f91.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Buttons/Button.png"
dest_files=["res://.godot/imported/Button.png-e477d525d210fd022611f6d249009f91.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
Assets/Buttons/Button1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 354 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cu5dx3i2d8so2"
path="res://.godot/imported/Button1.png-365ba86758a2b041f5719410075e763e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Buttons/Button1.png"
dest_files=["res://.godot/imported/Button1.png-365ba86758a2b041f5719410075e763e.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
Assets/Buttons/Button2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://wql8le5gm41r"
path="res://.godot/imported/Button2.png-88d342c4295698fb0801e3c3ff70457e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Buttons/Button2.png"
dest_files=["res://.godot/imported/Button2.png-88d342c4295698fb0801e3c3ff70457e.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dhr0i40vi3fch"
path="res://.godot/imported/DownArrow.png-960f0f593422ca6ffae87b06249afef8.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Buttons/DownArrow.png"
dest_files=["res://.godot/imported/DownArrow.png-960f0f593422ca6ffae87b06249afef8.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://nrxf04ju38a3"
path="res://.godot/imported/LeftArrow.png-b9e4afd2ffff02d865faf4ae1a716e9f.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Buttons/LeftArrow.png"
dest_files=["res://.godot/imported/LeftArrow.png-b9e4afd2ffff02d865faf4ae1a716e9f.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cpna0j2jdy1tq"
path="res://.godot/imported/RightArrow.png-ab8aebdc852d3e44759cc2fae2335c22.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Buttons/RightArrow.png"
dest_files=["res://.godot/imported/RightArrow.png-ab8aebdc852d3e44759cc2fae2335c22.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
Assets/Buttons/Roll.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://s3oibl4hj0wu"
path="res://.godot/imported/Roll.png-bc7163206b0257b9ffd1959ff79df929.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Buttons/Roll.png"
dest_files=["res://.godot/imported/Roll.png-bc7163206b0257b9ffd1959ff79df929.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
Assets/Buttons/UpArrow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 158 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://brx27d2g615nm"
path="res://.godot/imported/UpArrow.png-5589157472f6701f2a21ae2b581017da.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Buttons/UpArrow.png"
dest_files=["res://.godot/imported/UpArrow.png-5589157472f6701f2a21ae2b581017da.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
Assets/Cover.aseprite Normal file

Binary file not shown.

BIN
Assets/Cover.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

34
Assets/Cover.png.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dweq7x7vh21ms"
path="res://.godot/imported/Cover.png-e767f762505349032f21cd3341e61d89.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Cover.png"
dest_files=["res://.godot/imported/Cover.png-e767f762505349032f21cd3341e61d89.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

BIN
Assets/Enemy/Enemy.ase Normal file

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 179 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cskyeltw3j1o7"
path="res://.godot/imported/PickupSmall.png-0ccb154d80cc785ef4d8820cea6d25bf.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Icons/PickupSmall.png"
dest_files=["res://.godot/imported/PickupSmall.png-0ccb154d80cc785ef4d8820cea6d25bf.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

Binary file not shown.

BIN
Assets/Music/Where am I.wav Normal file

Binary file not shown.

View file

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://c3j07ntyhovpf"
path="res://.godot/imported/Where am I.wav-f7c9f1b4b8b24f8d409be63c0c70fcc8.sample"
[deps]
source_file="res://Assets/Music/Where am I.wav"
dest_files=["res://.godot/imported/Where am I.wav-f7c9f1b4b8b24f8d409be63c0c70fcc8.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=2
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 B

After

Width:  |  Height:  |  Size: 174 B

Before After
Before After

View file

@ -1,5 +1,50 @@
[gd_resource type="TileSet" format=3 uid="uid://0cmcpeksibaa"] [gd_resource type="TileSet" load_steps=4 format=3 uid="uid://0cmcpeksibaa"]
[ext_resource type="Texture2D" uid="uid://2745vorftrpt" path="res://Assets/Tilemaps/Tilemap.png" id="1_r0wvw"]
[sub_resource type="NavigationPolygon" id="NavigationPolygon_iii4i"]
vertices = PackedVector2Array(16, 16, -16, 16, -16, -16, 16, -16)
polygons = Array[PackedInt32Array]([PackedInt32Array(0, 1, 2, 3)])
outlines = Array[PackedVector2Array]([PackedVector2Array(-16, -16, -16, 16, 16, 16, 16, -16)])
agent_radius = 0.0
[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_uvpjw"]
texture = ExtResource("1_r0wvw")
texture_region_size = Vector2i(32, 32)
10:1/next_alternative_id = 2
10:1/0 = 0
10:1/0/terrain_set = 0
10:1/0/terrain = 0
10:1/0/terrains_peering_bit/right_side = 0
10:1/0/terrains_peering_bit/bottom_right_corner = 0
10:1/0/terrains_peering_bit/bottom_side = 0
10:1/0/terrains_peering_bit/bottom_left_corner = 0
10:1/0/terrains_peering_bit/left_side = 0
10:1/0/terrains_peering_bit/top_left_corner = 0
10:1/0/terrains_peering_bit/top_side = 0
10:1/0/terrains_peering_bit/top_right_corner = 0
10:1/0/navigation_layer_0/polygon = SubResource("NavigationPolygon_iii4i")
10:1/1 = 1
13:1/0 = 0
13:1/0/physics_layer_1/polygon_0/points = PackedVector2Array(-16, 0, -8, 0, -8, -8, 8, -8, 8, 0, 16, 0, 16, 16, -16, 16)
13:2/0 = 0
13:2/0/physics_layer_1/polygon_0/points = PackedVector2Array(-16, -16, 16, -16, 16, 16, -16, 16)
13:0/next_alternative_id = 3
13:0/0 = 0
13:0/0/physics_layer_1/polygon_0/points = PackedVector2Array(-8, 8, -8, -8, 16, -8, 16, 16, 0, 16)
13:0/1 = 1
13:0/1/flip_h = true
13:0/1/physics_layer_1/polygon_0/points = PackedVector2Array(-16, -8, 8, -8, 8, 8, 0, 16, -16, 16)
[resource] [resource]
tile_size = Vector2i(32, 32) tile_size = Vector2i(32, 32)
occlusion_layer_0/light_mask = 1
physics_layer_0/collision_layer = 1
physics_layer_0/collision_mask = 0
physics_layer_1/collision_layer = 4
physics_layer_1/collision_mask = 3584
terrain_set_0/mode = 0
terrain_set_0/terrain_0/name = "Floor 1"
terrain_set_0/terrain_0/color = Color(0.5, 0.34375, 0.25, 1)
navigation_layer_0/layers = 1 navigation_layer_0/layers = 1
sources/1 = SubResource("TileSetAtlasSource_uvpjw")

View file

@ -1,5 +1,38 @@
[gd_resource type="Theme" format=3 uid="uid://cotw1alu4b2ad"] [gd_resource type="Theme" load_steps=7 format=3 uid="uid://cotw1alu4b2ad"]
[ext_resource type="Texture2D" uid="uid://cu5dx3i2d8so2" path="res://Assets/Buttons/Button1.png" id="1_27x62"]
[ext_resource type="Texture2D" uid="uid://wql8le5gm41r" path="res://Assets/Buttons/Button2.png" id="2_scfsv"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_n3myw"]
texture = ExtResource("1_27x62")
texture_margin_left = 10.0
texture_margin_top = 10.0
texture_margin_right = 10.0
texture_margin_bottom = 10.0
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_nejn8"]
load_path = "res://.godot/imported/Button1.png-365ba86758a2b041f5719410075e763e.ctex"
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_kgt1p"]
texture = SubResource("CompressedTexture2D_nejn8")
texture_margin_left = 10.0
texture_margin_top = 10.0
texture_margin_right = 10.0
texture_margin_bottom = 10.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_mwuk4"]
texture = ExtResource("2_scfsv")
texture_margin_left = 10.0
texture_margin_top = 10.0
texture_margin_right = 10.0
texture_margin_bottom = 10.0
[resource] [resource]
Button/font_sizes/font_size = 32 Button/font_sizes/font_size = 32
Button/styles/hover = SubResource("StyleBoxTexture_n3myw")
Button/styles/normal = SubResource("StyleBoxTexture_kgt1p")
Button/styles/pressed = SubResource("StyleBoxTexture_mwuk4")
Label/font_sizes/font_size = 48 Label/font_sizes/font_size = 48
RichTextLabel/constants/outline_size = 10
RichTextLabel/font_sizes/bold_font_size = 40
RichTextLabel/font_sizes/normal_font_size = 30

BIN
icon.ase Normal file

Binary file not shown.

BIN
icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

34
icon.png.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bvhwhwk8psygb"
path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://icon.png"
dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

View file

@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128"><rect width="124" height="124" x="2" y="2" fill="#363d52" stroke="#212532" stroke-width="4" rx="14"/><g fill="#fff" transform="translate(12.322 12.322)scale(.101)"><path d="M105 673v33q407 354 814 0v-33z"/><path fill="#478cbf" d="m105 673 152 14q12 1 15 14l4 67 132 10 8-61q2-11 15-15h162q13 4 15 15l8 61 132-10 4-67q3-13 15-14l152-14V427q30-39 56-81-35-59-83-108-43 20-82 47-40-37-88-64 7-51 8-102-59-28-123-42-26 43-46 89-49-7-98 0-20-46-46-89-64 14-123 42 1 51 8 102-48 27-88 64-39-27-82-47-48 49-83 108 26 42 56 81zm0 33v39c0 276 813 276 814 0v-39l-134 12-5 69q-2 10-14 13l-162 11q-12 0-16-11l-10-65H446l-10 65q-4 11-16 11l-162-11q-12-3-14-13l-5-69z"/><path d="M483 600c0 34 58 34 58 0v-86c0-34-58-34-58 0z"/><circle cx="725" cy="526" r="90"/><circle cx="299" cy="526" r="90"/></g><g fill="#414042" transform="translate(12.322 12.322)scale(.101)"><circle cx="307" cy="532" r="60"/><circle cx="717" cy="532" r="60"/></g></svg>

Before

Width:  |  Height:  |  Size: 994 B

View file

@ -0,0 +1,28 @@
# Keys for LocalizationManger to use in source code: MIT License
# @author Vladimir Petrenko
@tool
class_name LocalizationKeys
const PLAY = "PLAY"
const MONEY = "MONEY"
const RESULT = "RESULT"
const UNDERSTOOD = "UNDERSTOOD"
const SUCCES = "SUCCES"
const FAILURE = "FAILURE"
const STORMWARNING = "STORMWARNING"
const INTRODUCTION = "INTRODUCTION"
const WARNING = "WARNING"
const HELP = "HELP"
const KEYS = [
"PLAY",
"MONEY",
"RESULT",
"UNDERSTOOD",
"SUCCES",
"FAILURE",
"STORMWARNING",
"INTRODUCTION",
"WARNING",
"HELP"
]

View file

@ -0,0 +1,9 @@
# Placeholders for LocalizationManger to use in source code: MIT License
# @author Vladimir Petrenko
@tool
class_name LocalizationPlaceholders
const PLACEHOLDERS = [
]

View file

@ -0,0 +1,6 @@
# Remapkeys for LocalizationManger to use in source code: MIT License
# @author Vladimir Petrenko
@tool
class_name LocalizationRemaps
const DOLLAR_PNG = "DOLLAR_PNG"

View file

@ -0,0 +1,7 @@
[gd_resource type="Resource" script_class="LocalizationPlaceholdersData" load_steps=2 format=3 uid="uid://c8imk4d1wyrw4"]
[ext_resource type="Script" path="res://addons/localization_editor/model/LocalizationPlaceholdersData.gd" id="1"]
[resource]
script = ExtResource("1")
placeholders = {}

View file

@ -0,0 +1,11 @@
keys,de,en
PLAY,Spielen,Play
MONEY,Geld,Money
RESULT,Ergebnis,Result
UNDERSTOOD,Verstanden,Understood
SUCCES,Erfolgreich extrahiert,Succesfully extracted
FAILURE,Leider nicht geschafft,Lost in the Storm
STORMWARNING,Sturm Warnung! Schnell zum Portal!,Storm Warning! Back to the Portal. NOW!
INTRODUCTION,"Jedes Objekt was du uns zum Portal bringst, bringt dir Geld",For every Object that you bring us we wil pay you handsomely
WARNING,"Noch ein Hinweis, es wude ein Sturm vorrausgesagt. Wir werden dich aber warnen wenn er kommt, sei dann aber schnell!","Just for Protocol, the Weather Report said there was a Storm coming. We will warn you if it is close, but be fast!"
HELP,Hilfe,Help
1 keys de en
2 PLAY Spielen Play
3 MONEY Geld Money
4 RESULT Ergebnis Result
5 UNDERSTOOD Verstanden Understood
6 SUCCES Erfolgreich extrahiert Succesfully extracted
7 FAILURE Leider nicht geschafft Lost in the Storm
8 STORMWARNING Sturm Warnung! Schnell zum Portal! Storm Warning! Back to the Portal. NOW!
9 INTRODUCTION Jedes Objekt was du uns zum Portal bringst, bringt dir Geld For every Object that you bring us we wil pay you handsomely
10 WARNING Noch ein Hinweis, es wude ein Sturm vorrausgesagt. Wir werden dich aber warnen wenn er kommt, sei dann aber schnell! Just for Protocol, the Weather Report said there was a Storm coming. We will warn you if it is close, but be fast!
11 HELP Hilfe Help

View file

@ -0,0 +1,17 @@
[remap]
importer="csv_translation"
type="Translation"
uid="uid://cn1jc4oehudym"
[deps]
files=["res://localization/localizations.de.translation", "res://localization/localizations.en.translation"]
source_file="res://localization/localizations.csv"
dest_files=["res://localization/localizations.de.translation", "res://localization/localizations.en.translation"]
[params]
compress=true
delimiter=0

14
plugins.md Normal file
View file

@ -0,0 +1,14 @@
# [Debug Menu](https://github.com/godot-extended-libraries/godot-debug-menu)
In-game debug menu displaying performance metrics and hardware information
# [gdLinter](https://github.com/el-falso/gdlinter)
Runs `gdlint` on save to automatically lint your GDScript as you code.
# [Godot Git Plugin](https://github.com/godotengine/godot-git-plugin/)
This plugin lets you interact with Git without leaving the Godot editor. More information can be found at https://github.com/godotengine/godot-git-plugin/wiki
# [gdUnit4](https://github.com/MikeSchulze/gdUnit4)
Unit Testing Framework for Godot Scripts
# [LocalizationEditor](https://github.com/VP-GAMES/LocalizationEditor)
Simple editor to localize application

View file

@ -10,24 +10,25 @@ config_version=5
[application] [application]
config/name="brackeysGameJam2024.2" config/name="Stormy Extraction"
config/version="0.0.0" config/version="1.0.0"
config/tags=PackedStringArray("game_jam") config/tags=PackedStringArray("game_jam")
run/main_scene="res://scenes/main/main.tscn" run/main_scene="res://scenes/main/main.tscn"
config/features=PackedStringArray("4.3", "GL Compatibility") config/features=PackedStringArray("4.3", "GL Compatibility")
boot_splash/image="res://Assets/Spash Screen.png" boot_splash/image="res://Assets/Spash Screen.png"
config/icon="res://icon.svg" config/icon="res://icon.png"
[autoload] [autoload]
G="*res://scenes/GLOBAL.gd" G="*res://scenes/GLOBAL.gd"
DebugMenu="*res://addons/debug_menu/debug_menu.tscn" DebugMenu="*res://addons/debug_menu/debug_menu.tscn"
LocalizationManager="*res://addons/localization_editor/LocalizationManager.gd"
[display] [display]
window/size/viewport_width=1920 window/size/viewport_width=1920
window/size/viewport_height=1080 window/size/viewport_height=1080
window/size/mode=2 window/size/mode=3
window/stretch/mode="canvas_items" window/stretch/mode="canvas_items"
window/stretch/aspect="expand" window/stretch/aspect="expand"
@ -38,7 +39,7 @@ version_control/autoload_on_startup=true
[editor_plugins] [editor_plugins]
enabled=PackedStringArray("res://addons/debug_menu/plugin.cfg") enabled=PackedStringArray("res://addons/debug_menu/plugin.cfg", "res://addons/gdLinter/plugin.cfg", "res://addons/localization_editor/plugin.cfg", "res://addons/gdUnit4/plugin.cfg")
[global_group] [global_group]
@ -64,36 +65,40 @@ MOVE_UP={
"deadzone": 0.5, "deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"location":0,"echo":false,"script":null) "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":87,"key_label":0,"unicode":119,"location":0,"echo":false,"script":null)
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":-1.0,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":-1.0,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194320,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
] ]
} }
MOVE_RIGHT={ MOVE_RIGHT={
"deadzone": 0.5, "deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null) "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":68,"key_label":0,"unicode":100,"location":0,"echo":false,"script":null)
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":1.0,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":1.0,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194321,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
] ]
} }
MOVE_DOWN={ MOVE_DOWN={
"deadzone": 0.5, "deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null) "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":83,"key_label":0,"unicode":115,"location":0,"echo":false,"script":null)
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":1.0,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":1,"axis_value":1.0,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194322,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
] ]
} }
MOVE_LEFT={ MOVE_LEFT={
"deadzone": 0.5, "deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null) "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":65,"key_label":0,"unicode":97,"location":0,"echo":false,"script":null)
, Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":-1.0,"script":null) , Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":0,"axis_value":-1.0,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194319,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
] ]
} }
Pickup={ Pickup={
"deadzone": 0.5, "deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":69,"key_label":0,"unicode":101,"location":0,"echo":false,"script":null) "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":69,"key_label":0,"unicode":101,"location":0,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":2,"pressure":0.0,"pressed":true,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":0,"pressure":0.0,"pressed":true,"script":null)
] ]
} }
ROLL={ ROLL={
"deadzone": 0.5, "deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194325,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null) "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194325,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":1,"pressure":0.0,"pressed":true,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":2,"pressure":0.0,"pressed":true,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":82,"key_label":0,"unicode":114,"location":0,"echo":false,"script":null) , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":82,"key_label":0,"unicode":114,"location":0,"echo":false,"script":null)
] ]
} }
@ -103,13 +108,19 @@ DOOR={
, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":3,"pressure":0.0,"pressed":true,"script":null) , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"button_index":3,"pressure":0.0,"pressed":true,"script":null)
] ]
} }
fullscreen={
"deadzone": 0.5,
"events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":70,"key_label":0,"unicode":102,"location":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":-1,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":0,"physical_keycode":4194342,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
]
}
[internationalization] [internationalization]
locale/translation_remaps={ locale/translation_remaps={
"res://Assets/Icons/Dollar.png": PackedStringArray("res://Assets/Icons/Dollar.png:en", "res://Assets/Icons/Euro.png:de_DE") "res://Assets/Icons/Dollar.png": PackedStringArray("res://Assets/Icons/Dollar.png:en", "res://Assets/Icons/Euro.png:de_DE")
} }
locale/translations=PackedStringArray("res://translations/translations.de.translation", "res://translations/translations.en.translation") locale/translations=PackedStringArray("res://localization/localizations.de.translation", "res://localization/localizations.en.translation")
[layer_names] [layer_names]
@ -162,6 +173,11 @@ avoidance/layer_10="Entity"
avoidance/layer_11="Player" avoidance/layer_11="Player"
avoidance/layer_12="Enemy" avoidance/layer_12="Enemy"
[localization_editor]
locales_path_to_file="res://localization/localizations.csv"
translations_save_auth=false
[physics] [physics]
common/physics_jitter_fix=1.0 common/physics_jitter_fix=1.0

View file

@ -69,7 +69,7 @@ shape = SubResource("CircleShape2D_f6w8f")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
sprite_frames = SubResource("SpriteFrames_g6wmf") sprite_frames = SubResource("SpriteFrames_g6wmf")
frame_progress = 0.634411 frame_progress = 0.699741
[connection signal="area_entered" from="CollectArea" to="." method="_on_collect_area_area_entered"] [connection signal="area_entered" from="CollectArea" to="." method="_on_collect_area_area_entered"]
[connection signal="body_entered" from="CollectArea" to="." method="_on_collect_area_body_entered"] [connection signal="body_entered" from="CollectArea" to="." method="_on_collect_area_body_entered"]

View file

@ -2,7 +2,7 @@
[ext_resource type="PackedScene" uid="uid://b18cf4i8v6a1" path="res://scenes/game/entities/entity.tscn" id="1_bf5v6"] [ext_resource type="PackedScene" uid="uid://b18cf4i8v6a1" path="res://scenes/game/entities/entity.tscn" id="1_bf5v6"]
[ext_resource type="Script" path="res://scenes/game/entities/Enemy/enemy.gd" id="2_4vapd"] [ext_resource type="Script" path="res://scenes/game/entities/Enemy/enemy.gd" id="2_4vapd"]
[ext_resource type="Texture2D" uid="uid://dh14dje1066et" path="res://icon.svg" id="3_jenk6"] [ext_resource type="Texture2D" uid="uid://cjmden6nkwf1x" path="res://Assets/Enemy/Ghost.png" id="3_uks2p"]
[ext_resource type="PackedScene" uid="uid://cwirujaquehfc" path="res://scenes/game/Hitbox/damage_area.tscn" id="4_mr72k"] [ext_resource type="PackedScene" uid="uid://cwirujaquehfc" path="res://scenes/game/Hitbox/damage_area.tscn" id="4_mr72k"]
[sub_resource type="CircleShape2D" id="CircleShape2D_xq7op"] [sub_resource type="CircleShape2D" id="CircleShape2D_xq7op"]
@ -11,15 +11,15 @@ radius = 8.0
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_c882v"] [sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_c882v"]
light_mode = 2 light_mode = 2
[sub_resource type="AtlasTexture" id="AtlasTexture_rdbks"] [sub_resource type="AtlasTexture" id="AtlasTexture_siy4x"]
atlas = ExtResource("3_jenk6") atlas = ExtResource("3_uks2p")
region = Rect2(0, 0, 128, 128) region = Rect2(0, 0, 16, 16)
[sub_resource type="SpriteFrames" id="SpriteFrames_i6h2x"] [sub_resource type="SpriteFrames" id="SpriteFrames_i6h2x"]
animations = [{ animations = [{
"frames": [{ "frames": [{
"duration": 1.0, "duration": 1.0,
"texture": SubResource("AtlasTexture_rdbks") "texture": SubResource("AtlasTexture_siy4x")
}], }],
"loop": true, "loop": true,
"name": &"default", "name": &"default",
@ -45,8 +45,7 @@ shape = SubResource("CircleShape2D_xq7op")
[node name="AnimatedSprite2D" parent="." index="1"] [node name="AnimatedSprite2D" parent="." index="1"]
material = SubResource("CanvasItemMaterial_c882v") material = SubResource("CanvasItemMaterial_c882v")
position = Vector2(2.38419e-07, 2.38419e-07) scale = Vector2(1, 1)
scale = Vector2(0.125, 0.125)
sprite_frames = SubResource("SpriteFrames_i6h2x") sprite_frames = SubResource("SpriteFrames_i6h2x")
[node name="NavigationAgent" type="NavigationAgent2D" parent="." index="2"] [node name="NavigationAgent" type="NavigationAgent2D" parent="." index="2"]
@ -55,7 +54,6 @@ simplify_path = true
avoidance_enabled = true avoidance_enabled = true
avoidance_layers = 2560 avoidance_layers = 2560
avoidance_mask = 3630 avoidance_mask = 3630
debug_enabled = true
debug_use_custom = true debug_use_custom = true
debug_path_custom_color = Color(1, 0, 0, 1) debug_path_custom_color = Color(1, 0, 0, 1)

View file

@ -0,0 +1,10 @@
extends ColorRect
@onready var animation = $AnimationPlayer
func _process(delta: float) -> void:
if Input.is_action_just_pressed("ui_accept"):
animation.play("RESET")
func _on_button_pressed() -> void:
animation.play("RESET")

View file

@ -19,7 +19,7 @@ extends "res://scenes/game/entities/entity.gd"
@onready var camera = $Camera2D @onready var camera = $Camera2D
@onready var animation = $Camera2D/CanvasLayer/Control/AnimationPlayer @onready var animation = $Camera2D/CanvasLayer/Control/ColorRect/AnimationPlayer
var rollSpeed = maxSpeed * 5 var rollSpeed = maxSpeed * 5
@ -202,6 +202,5 @@ func _on_storm_timer_damage_timeout() -> void:
func pause(): func pause():
get_parent().pause() get_parent().pause()
func resume(): func resume():
get_parent().resume() get_parent().resume()

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=24 format=3 uid="uid://0duodsosmfpq"] [gd_scene load_steps=32 format=3 uid="uid://0duodsosmfpq"]
[ext_resource type="PackedScene" uid="uid://b18cf4i8v6a1" path="res://scenes/game/entities/entity.tscn" id="1_kmfws"] [ext_resource type="PackedScene" uid="uid://b18cf4i8v6a1" path="res://scenes/game/entities/entity.tscn" id="1_kmfws"]
[ext_resource type="Script" path="res://scenes/game/entities/player/player.gd" id="2_s0pfn"] [ext_resource type="Script" path="res://scenes/game/entities/player/player.gd" id="2_s0pfn"]
@ -15,15 +15,93 @@
[ext_resource type="Texture2D" uid="uid://c2o4115sewunm" path="res://Assets/Icons/Roll.png" id="10_1rhoe"] [ext_resource type="Texture2D" uid="uid://c2o4115sewunm" path="res://Assets/Icons/Roll.png" id="10_1rhoe"]
[ext_resource type="Texture2D" uid="uid://caumye6m8df7a" path="res://Assets/Icons/Storm.png" id="12_7rs7u"] [ext_resource type="Texture2D" uid="uid://caumye6m8df7a" path="res://Assets/Icons/Storm.png" id="12_7rs7u"]
[ext_resource type="StyleBox" uid="uid://db7h680qdfcrv" path="res://scenes/menu/startMenu/Storm.tres" id="12_wohun"] [ext_resource type="StyleBox" uid="uid://db7h680qdfcrv" path="res://scenes/menu/startMenu/Storm.tres" id="12_wohun"]
[ext_resource type="Script" path="res://scenes/game/entities/player/touch_controlls.gd" id="14_uohcp"]
[ext_resource type="Texture2D" uid="uid://brx27d2g615nm" path="res://Assets/Buttons/UpArrow.png" id="15_v6xc8"]
[ext_resource type="Texture2D" uid="uid://nrxf04ju38a3" path="res://Assets/Buttons/LeftArrow.png" id="16_qqkks"]
[ext_resource type="Texture2D" uid="uid://dhr0i40vi3fch" path="res://Assets/Buttons/DownArrow.png" id="17_0j1ng"]
[ext_resource type="Texture2D" uid="uid://cpna0j2jdy1tq" path="res://Assets/Buttons/RightArrow.png" id="18_277ym"]
[ext_resource type="Script" path="res://scenes/game/entities/player/color_rect.gd" id="19_8kbrx"]
[ext_resource type="Texture2D" uid="uid://s3oibl4hj0wu" path="res://Assets/Buttons/Roll.png" id="19_kcsvw"]
[ext_resource type="Texture2D" uid="uid://cskyeltw3j1o7" path="res://Assets/Icons/PickupSmall.png" id="20_omxwa"]
[sub_resource type="CircleShape2D" id="CircleShape2D_7ukjs"] [sub_resource type="CircleShape2D" id="CircleShape2D_7ukjs"]
radius = 8.94427 radius = 8.94427
[sub_resource type="Animation" id="Animation_1uxm1"]
resource_name = "Introduction"
length = 15.0
step = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Camera2D/CanvasLayer/Control/ColorRect/IntroductionLabel:visible_ratio")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1.5, 4.5, 6),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [0.0, 1.0, 1.0, 0.0]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Camera2D/CanvasLayer/Control/ColorRect/WARNING:visible_ratio")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(8, 9, 12, 14),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [0.0, 1.0, 1.0, 0.0]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Camera2D/CanvasLayer/Control/ColorRect:modulate")
tracks/2/interp = 2
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(14, 14.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/3/type = "method"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath(".")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0, 14.5),
"transitions": PackedFloat32Array(1, 1),
"values": [{
"args": [],
"method": &"pause"
}, {
"args": [],
"method": &"resume"
}]
}
tracks/4/type = "value"
tracks/4/imported = false
tracks/4/enabled = true
tracks/4/path = NodePath("Camera2D/CanvasLayer/Control/ColorRect:visible")
tracks/4/interp = 1
tracks/4/loop_wrap = true
tracks/4/keys = {
"times": PackedFloat32Array(0, 14, 14.5),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 1,
"values": [true, true, false]
}
[sub_resource type="Animation" id="Animation_4p2qj"] [sub_resource type="Animation" id="Animation_4p2qj"]
length = 0.001 length = 0.001
tracks/0/type = "value" tracks/0/type = "value"
tracks/0/imported = false tracks/0/imported = false
tracks/0/enabled = true tracks/0/enabled = false
tracks/0/path = NodePath("Camera2D/CanvasLayer/Control/Storm:visible") tracks/0/path = NodePath("Camera2D/CanvasLayer/Control/Storm:visible")
tracks/0/interp = 1 tracks/0/interp = 1
tracks/0/loop_wrap = true tracks/0/loop_wrap = true
@ -35,7 +113,7 @@ tracks/0/keys = {
} }
tracks/1/type = "value" tracks/1/type = "value"
tracks/1/imported = false tracks/1/imported = false
tracks/1/enabled = true tracks/1/enabled = false
tracks/1/path = NodePath("Camera2D/CanvasLayer/Control/Storm:scale") tracks/1/path = NodePath("Camera2D/CanvasLayer/Control/Storm:scale")
tracks/1/interp = 1 tracks/1/interp = 1
tracks/1/loop_wrap = true tracks/1/loop_wrap = true
@ -47,8 +125,8 @@ tracks/1/keys = {
} }
tracks/2/type = "value" tracks/2/type = "value"
tracks/2/imported = false tracks/2/imported = false
tracks/2/enabled = true tracks/2/enabled = false
tracks/2/path = NodePath("Camera2D/CanvasLayer/Control/IntroductionLabel:visible_ratio") tracks/2/path = NodePath("Camera2D/CanvasLayer/Control/ColorRect/IntroductionLabel:visible_ratio")
tracks/2/interp = 1 tracks/2/interp = 1
tracks/2/loop_wrap = true tracks/2/loop_wrap = true
tracks/2/keys = { tracks/2/keys = {
@ -59,8 +137,8 @@ tracks/2/keys = {
} }
tracks/3/type = "value" tracks/3/type = "value"
tracks/3/imported = false tracks/3/imported = false
tracks/3/enabled = true tracks/3/enabled = false
tracks/3/path = NodePath("Camera2D/CanvasLayer/Control/WARNING:visible_ratio") tracks/3/path = NodePath("Camera2D/CanvasLayer/Control/ColorRect/WARNING:visible_ratio")
tracks/3/interp = 1 tracks/3/interp = 1
tracks/3/loop_wrap = true tracks/3/loop_wrap = true
tracks/3/keys = { tracks/3/keys = {
@ -79,7 +157,50 @@ tracks/4/keys = {
"times": PackedFloat32Array(0), "times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1), "transitions": PackedFloat32Array(1),
"update": 0, "update": 0,
"values": [Color(1, 1, 1, 1)] "values": [Color(1, 1, 1, 0)]
}
tracks/5/type = "value"
tracks/5/imported = false
tracks/5/enabled = true
tracks/5/path = NodePath("Camera2D/CanvasLayer/Control/ColorRect:visible")
tracks/5/interp = 1
tracks/5/loop_wrap = true
tracks/5/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [false]
}
tracks/6/type = "method"
tracks/6/imported = false
tracks/6/enabled = true
tracks/6/path = NodePath(".")
tracks/6/interp = 1
tracks/6/loop_wrap = true
tracks/6/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"values": [{
"args": [],
"method": &"resume"
}]
}
[sub_resource type="Animation" id="Animation_8ahng"]
resource_name = "StormTimer"
length = 0.8
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Camera2D/CanvasLayer/Control/Storm:scale")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.4, 0.8),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector2(1, 1), Vector2(1.1, 1.1), Vector2(1, 1)]
} }
[sub_resource type="Animation" id="Animation_7uqa8"] [sub_resource type="Animation" id="Animation_7uqa8"]
@ -110,81 +231,6 @@ tracks/1/keys = {
"values": [Vector2(0, 0), Vector2(1, 1)] "values": [Vector2(0, 0), Vector2(1, 1)]
} }
[sub_resource type="Animation" id="Animation_8ahng"]
resource_name = "StormTimer"
length = 0.8
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Camera2D/CanvasLayer/Control/Storm:scale")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.4, 0.8),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector2(1, 1), Vector2(1.1, 1.1), Vector2(1, 1)]
}
[sub_resource type="Animation" id="Animation_1uxm1"]
resource_name = "Introduction"
length = 21.0
step = 0.5
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Camera2D/CanvasLayer/Control/IntroductionLabel:visible_ratio")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 1.5, 4.5, 6),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [0.0, 1.0, 1.0, 0.0]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath("Camera2D/CanvasLayer/Control/WARNING:visible_ratio")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(7, 9, 12, 14),
"transitions": PackedFloat32Array(1, 1, 1, 1),
"update": 0,
"values": [0.0, 1.0, 1.0, 0.0]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath("Camera2D/CanvasLayer/Control/ColorRect:modulate")
tracks/2/interp = 2
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(15, 16.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
}
tracks/3/type = "method"
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/path = NodePath(".")
tracks/3/interp = 1
tracks/3/loop_wrap = true
tracks/3/keys = {
"times": PackedFloat32Array(0, 16.5),
"transitions": PackedFloat32Array(1, 1),
"values": [{
"args": [],
"method": &"pause"
}, {
"args": [],
"method": &"resume"
}]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_1cg8p"] [sub_resource type="AnimationLibrary" id="AnimationLibrary_1cg8p"]
_data = { _data = {
"Introduction": SubResource("Animation_1uxm1"), "Introduction": SubResource("Animation_1uxm1"),
@ -253,8 +299,10 @@ theme = ExtResource("4_pkh7x")
[node name="HBoxContainer" type="HBoxContainer" parent="Camera2D/CanvasLayer/Control" index="0"] [node name="HBoxContainer" type="HBoxContainer" parent="Camera2D/CanvasLayer/Control" index="0"]
layout_mode = 0 layout_mode = 0
offset_right = 40.0 offset_left = 8.0
offset_bottom = 40.0 offset_top = 128.0
offset_right = 113.0
offset_bottom = 228.0
[node name="TextureRect" type="TextureRect" parent="Camera2D/CanvasLayer/Control/HBoxContainer" index="0"] [node name="TextureRect" type="TextureRect" parent="Camera2D/CanvasLayer/Control/HBoxContainer" index="0"]
layout_mode = 2 layout_mode = 2
@ -271,19 +319,31 @@ layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="Camera2D/CanvasLayer/Control" index="1"] [node name="VBoxContainer" type="VBoxContainer" parent="Camera2D/CanvasLayer/Control" index="1"]
modulate = Color(1, 1, 1, 0.901961) modulate = Color(1, 1, 1, 0.901961)
layout_mode = 1 layout_mode = 1
anchors_preset = 2 offset_left = 8.0
anchor_top = 1.0 offset_top = 12.0
anchor_bottom = 1.0 offset_right = 509.0
offset_left = 16.0 offset_bottom = 83.0
offset_top = -120.0
offset_right = 517.0
offset_bottom = -49.0
grow_vertical = 0
scale = Vector2(1.5, 1.5) scale = Vector2(1.5, 1.5)
size_flags_horizontal = 3 size_flags_horizontal = 3
alignment = 1 alignment = 1
[node name="HBoxContainer2" type="HBoxContainer" parent="Camera2D/CanvasLayer/Control/VBoxContainer" index="0"] [node name="HBoxContainer" type="HBoxContainer" parent="Camera2D/CanvasLayer/Control/VBoxContainer" index="0"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="Camera2D/CanvasLayer/Control/VBoxContainer/HBoxContainer" index="0"]
layout_mode = 2
texture = ExtResource("6_4smqb")
expand_mode = 2
[node name="HealthBar" type="ProgressBar" parent="Camera2D/CanvasLayer/Control/VBoxContainer/HBoxContainer" index="1"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_font_sizes/font_size = 16
theme_override_styles/background = ExtResource("7_luccy")
theme_override_styles/fill = ExtResource("8_kgbvc")
rounded = true
[node name="HBoxContainer2" type="HBoxContainer" parent="Camera2D/CanvasLayer/Control/VBoxContainer" index="1"]
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
@ -302,35 +362,12 @@ theme_override_styles/fill = ExtResource("7_luccy")
fill_mode = 1 fill_mode = 1
show_percentage = false show_percentage = false
[node name="HBoxContainer" type="HBoxContainer" parent="Camera2D/CanvasLayer/Control/VBoxContainer" index="1"]
layout_mode = 2
[node name="TextureRect" type="TextureRect" parent="Camera2D/CanvasLayer/Control/VBoxContainer/HBoxContainer" index="0"]
layout_mode = 2
texture = ExtResource("6_4smqb")
expand_mode = 2
[node name="HealthBar" type="ProgressBar" parent="Camera2D/CanvasLayer/Control/VBoxContainer/HBoxContainer" index="1"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_font_sizes/font_size = 16
theme_override_styles/background = ExtResource("7_luccy")
theme_override_styles/fill = ExtResource("8_kgbvc")
rounded = true
[node name="ObjectValues" type="HBoxContainer" parent="Camera2D/CanvasLayer/Control" index="2"] [node name="ObjectValues" type="HBoxContainer" parent="Camera2D/CanvasLayer/Control" index="2"]
layout_mode = 1 layout_mode = 1
anchors_preset = 3 offset_left = 256.0
anchor_left = 1.0 offset_top = 128.0
anchor_top = 1.0 offset_right = 522.0
anchor_right = 1.0 offset_bottom = 228.0
anchor_bottom = 1.0
offset_left = -288.0
offset_top = -112.0
offset_right = -22.0
offset_bottom = -12.0
grow_horizontal = 0
grow_vertical = 0
alignment = 2 alignment = 2
[node name="MoneyLabel" type="Label" parent="Camera2D/CanvasLayer/Control/ObjectValues" index="0"] [node name="MoneyLabel" type="Label" parent="Camera2D/CanvasLayer/Control/ObjectValues" index="0"]
@ -350,9 +387,10 @@ layout_mode = 1
anchors_preset = 5 anchors_preset = 5
anchor_left = 0.5 anchor_left = 0.5
anchor_right = 0.5 anchor_right = 0.5
offset_left = -0.5 offset_left = -199.5
offset_right = 0.5 offset_top = 128.0
offset_bottom = 67.0 offset_right = 199.5
offset_bottom = 195.0
grow_horizontal = 2 grow_horizontal = 2
text = "STORMWARNING" text = "STORMWARNING"
@ -363,9 +401,9 @@ anchors_preset = 5
anchor_left = 0.5 anchor_left = 0.5
anchor_right = 0.5 anchor_right = 0.5
offset_left = -320.0 offset_left = -320.0
offset_top = 67.0 offset_top = 195.0
offset_right = 320.0 offset_right = 320.0
offset_bottom = 152.0 offset_bottom = 280.0
grow_horizontal = 2 grow_horizontal = 2
pivot_offset = Vector2(320, 42) pivot_offset = Vector2(320, 42)
@ -382,14 +420,78 @@ theme_override_styles/background = ExtResource("7_luccy")
theme_override_styles/fill = ExtResource("12_wohun") theme_override_styles/fill = ExtResource("12_wohun")
show_percentage = false show_percentage = false
[node name="AnimationPlayer" type="AnimationPlayer" parent="Camera2D/CanvasLayer/Control" index="5"] [node name="TouchControlls" type="Control" parent="Camera2D/CanvasLayer/Control" index="5"]
process_mode = 3 visible = false
root_node = NodePath("../../../..") layout_mode = 1
libraries = { anchors_preset = 15
"": SubResource("AnimationLibrary_1cg8p") anchor_right = 1.0
} anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("14_uohcp")
[node name="VBoxContainer" type="VBoxContainer" parent="Camera2D/CanvasLayer/Control/TouchControlls" index="0"]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 32.0
offset_top = -448.0
offset_right = 160.0
offset_bottom = -364.0
grow_vertical = 0
scale = Vector2(5, 5)
[node name="HBoxContainer2" type="HBoxContainer" parent="Camera2D/CanvasLayer/Control/TouchControlls/VBoxContainer" index="0"]
layout_mode = 2
alignment = 1
[node name="UpButton" type="Button" parent="Camera2D/CanvasLayer/Control/TouchControlls/VBoxContainer/HBoxContainer2" index="0"]
layout_mode = 2
icon = ExtResource("15_v6xc8")
[node name="HBoxContainer" type="HBoxContainer" parent="Camera2D/CanvasLayer/Control/TouchControlls/VBoxContainer" index="1"]
layout_mode = 2
[node name="LeftButton" type="Button" parent="Camera2D/CanvasLayer/Control/TouchControlls/VBoxContainer/HBoxContainer" index="0"]
layout_mode = 2
icon = ExtResource("16_qqkks")
[node name="DownButton" type="Button" parent="Camera2D/CanvasLayer/Control/TouchControlls/VBoxContainer/HBoxContainer" index="1"]
layout_mode = 2
icon = ExtResource("17_0j1ng")
[node name="RightButton" type="Button" parent="Camera2D/CanvasLayer/Control/TouchControlls/VBoxContainer/HBoxContainer" index="2"]
layout_mode = 2
icon = ExtResource("18_277ym")
[node name="HBoxContainer" type="HBoxContainer" parent="Camera2D/CanvasLayer/Control/TouchControlls" index="1"]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -448.0
offset_top = -224.0
offset_right = -364.0
offset_bottom = -184.0
grow_horizontal = 0
grow_vertical = 0
scale = Vector2(5, 5)
[node name="RollButton" type="Button" parent="Camera2D/CanvasLayer/Control/TouchControlls/HBoxContainer" index="0"]
layout_mode = 2
icon = ExtResource("19_kcsvw")
[node name="PickupButton" type="Button" parent="Camera2D/CanvasLayer/Control/TouchControlls/HBoxContainer" index="1"]
layout_mode = 2
icon = ExtResource("20_omxwa")
[node name="ColorRect" type="ColorRect" parent="Camera2D/CanvasLayer/Control" index="6"] [node name="ColorRect" type="ColorRect" parent="Camera2D/CanvasLayer/Control" index="6"]
process_mode = 3
visible = false
modulate = Color(1, 1, 1, 0)
layout_mode = 1 layout_mode = 1
anchors_preset = 15 anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
@ -397,8 +499,16 @@ anchor_bottom = 1.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
color = Color(0, 0, 0, 1) color = Color(0, 0, 0, 1)
script = ExtResource("19_8kbrx")
[node name="WARNING" type="Label" parent="Camera2D/CanvasLayer/Control" index="7"] [node name="AnimationPlayer" type="AnimationPlayer" parent="Camera2D/CanvasLayer/Control/ColorRect" index="0"]
process_mode = 3
root_node = NodePath("../../../../..")
libraries = {
"": SubResource("AnimationLibrary_1cg8p")
}
[node name="WARNING" type="Label" parent="Camera2D/CanvasLayer/Control/ColorRect" index="1"]
process_mode = 3 process_mode = 3
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -419,7 +529,7 @@ autowrap_mode = 3
visible_characters = 0 visible_characters = 0
visible_ratio = 0.0 visible_ratio = 0.0
[node name="IntroductionLabel" type="Label" parent="Camera2D/CanvasLayer/Control" index="8"] [node name="IntroductionLabel" type="Label" parent="Camera2D/CanvasLayer/Control/ColorRect" index="2"]
process_mode = 3 process_mode = 3
layout_mode = 1 layout_mode = 1
anchors_preset = 8 anchors_preset = 8
@ -439,6 +549,15 @@ vertical_alignment = 1
visible_characters = 0 visible_characters = 0
visible_ratio = 0.0 visible_ratio = 0.0
[node name="Button" type="Button" parent="Camera2D/CanvasLayer/Control/ColorRect" index="3"]
modulate = Color(1, 1, 1, 0)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="RollTimer" type="Timer" parent="." index="3"] [node name="RollTimer" type="Timer" parent="." index="3"]
one_shot = true one_shot = true
@ -472,7 +591,20 @@ shape = SubResource("CircleShape2D_bjveg")
[node name="StormTimerDamage" type="Timer" parent="." index="9"] [node name="StormTimerDamage" type="Timer" parent="." index="9"]
one_shot = true one_shot = true
[connection signal="animation_finished" from="Camera2D/CanvasLayer/Control/AnimationPlayer" to="." method="_on_animation_player_animation_finished"] [connection signal="button_down" from="Camera2D/CanvasLayer/Control/TouchControlls/VBoxContainer/HBoxContainer2/UpButton" to="Camera2D/CanvasLayer/Control/TouchControlls" method="_on_up_button_button_down"]
[connection signal="button_up" from="Camera2D/CanvasLayer/Control/TouchControlls/VBoxContainer/HBoxContainer2/UpButton" to="Camera2D/CanvasLayer/Control/TouchControlls" method="_on_up_button_button_up"]
[connection signal="button_down" from="Camera2D/CanvasLayer/Control/TouchControlls/VBoxContainer/HBoxContainer/LeftButton" to="Camera2D/CanvasLayer/Control/TouchControlls" method="_on_left_button_button_down"]
[connection signal="button_up" from="Camera2D/CanvasLayer/Control/TouchControlls/VBoxContainer/HBoxContainer/LeftButton" to="Camera2D/CanvasLayer/Control/TouchControlls" method="_on_left_button_button_up"]
[connection signal="button_down" from="Camera2D/CanvasLayer/Control/TouchControlls/VBoxContainer/HBoxContainer/DownButton" to="Camera2D/CanvasLayer/Control/TouchControlls" method="_on_down_button_button_down"]
[connection signal="button_up" from="Camera2D/CanvasLayer/Control/TouchControlls/VBoxContainer/HBoxContainer/DownButton" to="Camera2D/CanvasLayer/Control/TouchControlls" method="_on_down_button_button_up"]
[connection signal="button_down" from="Camera2D/CanvasLayer/Control/TouchControlls/VBoxContainer/HBoxContainer/RightButton" to="Camera2D/CanvasLayer/Control/TouchControlls" method="_on_right_button_button_down"]
[connection signal="button_up" from="Camera2D/CanvasLayer/Control/TouchControlls/VBoxContainer/HBoxContainer/RightButton" to="Camera2D/CanvasLayer/Control/TouchControlls" method="_on_right_button_button_up"]
[connection signal="button_down" from="Camera2D/CanvasLayer/Control/TouchControlls/HBoxContainer/RollButton" to="Camera2D/CanvasLayer/Control/TouchControlls" method="_on_roll_button_button_down"]
[connection signal="button_up" from="Camera2D/CanvasLayer/Control/TouchControlls/HBoxContainer/RollButton" to="Camera2D/CanvasLayer/Control/TouchControlls" method="_on_roll_button_button_up"]
[connection signal="button_down" from="Camera2D/CanvasLayer/Control/TouchControlls/HBoxContainer/PickupButton" to="Camera2D/CanvasLayer/Control/TouchControlls" method="_on_pickup_button_button_down"]
[connection signal="button_up" from="Camera2D/CanvasLayer/Control/TouchControlls/HBoxContainer/PickupButton" to="Camera2D/CanvasLayer/Control/TouchControlls" method="_on_pickup_button_button_up"]
[connection signal="animation_finished" from="Camera2D/CanvasLayer/Control/ColorRect/AnimationPlayer" to="." method="_on_animation_player_animation_finished"]
[connection signal="pressed" from="Camera2D/CanvasLayer/Control/ColorRect/Button" to="Camera2D/CanvasLayer/Control/ColorRect" method="_on_button_pressed"]
[connection signal="timeout" from="RollTimer" to="." method="_on_roll_timeout"] [connection signal="timeout" from="RollTimer" to="." method="_on_roll_timeout"]
[connection signal="timeout" from="RollCooldownTimer" to="." method="_on_roll_cooldown_timer_timeout"] [connection signal="timeout" from="RollCooldownTimer" to="." method="_on_roll_cooldown_timer_timeout"]
[connection signal="signalHit" from="HitBox" to="." method="_on_hit_box_signal_hit"] [connection signal="signalHit" from="HitBox" to="." method="_on_hit_box_signal_hit"]

View file

@ -0,0 +1,46 @@
extends Control
func _ready() -> void:
if DisplayServer.is_touchscreen_available():
show()
func _on_up_button_button_down() -> void:
Input.action_press("MOVE_UP")
func _on_up_button_button_up() -> void:
Input.action_release("MOVE_UP")
func _on_left_button_button_down() -> void:
Input.action_press("MOVE_LEFT")
func _on_left_button_button_up() -> void:
Input.action_release("MOVE_LEFT")
func _on_down_button_button_down() -> void:
Input.action_press("MOVE_DOWN")
func _on_down_button_button_up() -> void:
Input.action_release("MOVE_DOWN")
func _on_right_button_button_down() -> void:
Input.action_press("MOVE_RIGHT")
func _on_right_button_button_up() -> void:
Input.action_release("MOVE_RIGHT")
func _on_roll_button_button_down() -> void:
Input.action_press("ROLL")
func _on_roll_button_button_up() -> void:
Input.action_release("ROLL")
func _on_pickup_button_button_down() -> void:
Input.action_press("Pickup")
func _on_pickup_button_button_up() -> void:
Input.action_release("Pickup")

View file

@ -1,19 +1,24 @@
[gd_scene load_steps=4 format=3 uid="uid://dgxw2n4ei2ahe"] [gd_scene load_steps=5 format=3 uid="uid://dgxw2n4ei2ahe"]
[ext_resource type="Script" path="res://scenes/game/mainGame/main_game.gd" id="1_napbe"] [ext_resource type="Script" path="res://scenes/game/mainGame/main_game.gd" id="1_napbe"]
[ext_resource type="PackedScene" uid="uid://0duodsosmfpq" path="res://scenes/game/entities/player/player.tscn" id="3_sjgkj"] [ext_resource type="PackedScene" uid="uid://0duodsosmfpq" path="res://scenes/game/entities/player/player.tscn" id="3_sjgkj"]
[ext_resource type="PackedScene" uid="uid://br7eqr6jomsg4" path="res://scenes/game/map/map.tscn" id="3_vpriv"] [ext_resource type="PackedScene" uid="uid://br7eqr6jomsg4" path="res://scenes/game/map/map.tscn" id="3_vpriv"]
[ext_resource type="AudioStream" uid="uid://c3j07ntyhovpf" path="res://Assets/Music/Where am I.wav" id="4_0rvpn"]
[node name="mainGame" type="Node2D"] [node name="mainGame" type="Node2D"]
script = ExtResource("1_napbe") script = ExtResource("1_napbe")
[node name="Player" parent="." instance=ExtResource("3_sjgkj")] [node name="Player" parent="." instance=ExtResource("3_sjgkj")]
position = Vector2(-16, -88) position = Vector2(-16, 0)
[node name="Map" parent="." instance=ExtResource("3_vpriv")] [node name="Map" parent="." instance=ExtResource("3_vpriv")]
[node name="StormTimer" type="Timer" parent="."] [node name="StormTimer" type="Timer" parent="."]
one_shot = true one_shot = true
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("4_0rvpn")
autoplay = true
[connection signal="death" from="Player" to="." method="_on_player_death"] [connection signal="death" from="Player" to="." method="_on_player_death"]
[connection signal="timeout" from="StormTimer" to="." method="_on_storm_timer_timeout"] [connection signal="timeout" from="StormTimer" to="." method="_on_storm_timer_timeout"]

File diff suppressed because one or more lines are too long

View file

@ -18,11 +18,6 @@ func _physics_process(delta: float) -> void:
interactIcon.hide() interactIcon.hide()
elif not isCarryied(): elif not isCarryied():
interactIcon.show() interactIcon.show()
#if isCarryied():
#interactIcon.hide()
#elif not isCarryied():
#interactIcon.show()
if player != null: if player != null:
global_position.y = move_toward(global_position.y, player.global_position.y, 3) global_position.y = move_toward(global_position.y, player.global_position.y, 3)
@ -46,13 +41,6 @@ func getValue():
func isCarryied(): func isCarryied():
return player != null return player != null
#func _on_area_entered(area: Area2D) -> void:
#if area.is_in_group("Player"):
#interactIcon.show()
#
#
#
func _on_area_exited(area: Area2D) -> void: func _on_area_exited(area: Area2D) -> void:
if area.is_in_group("Player"): if area.is_in_group("Player"):
interactIcon.hide() interactIcon.hide()

View file

@ -7,7 +7,7 @@
radius = 8.0 radius = 8.0
[node name="Computer" instance=ExtResource("1_ahjmy")] [node name="Computer" instance=ExtResource("1_ahjmy")]
value = 100 value = 1000
weight = 40 weight = 40
[node name="CollisionShape2D" parent="." index="1"] [node name="CollisionShape2D" parent="." index="1"]

View file

@ -4,7 +4,8 @@
[ext_resource type="Texture2D" uid="uid://4qj6kf6qfwhv" path="res://Assets/Objects/Controller.png" id="2_agabt"] [ext_resource type="Texture2D" uid="uid://4qj6kf6qfwhv" path="res://Assets/Objects/Controller.png" id="2_agabt"]
[node name="Controller" instance=ExtResource("1_2gi3p")] [node name="Controller" instance=ExtResource("1_2gi3p")]
value = 50
weight = 5
[node name="Sprite2D" parent="." index="1"] [node name="Sprite2D" parent="." index="2"]
position = Vector2(0, -4)
texture = ExtResource("2_agabt") texture = ExtResource("2_agabt")

View file

@ -4,7 +4,7 @@
[ext_resource type="Texture2D" uid="uid://br853cx0laqjr" path="res://Assets/Objects/FoodTinCan.png" id="2_ywu5t"] [ext_resource type="Texture2D" uid="uid://br853cx0laqjr" path="res://Assets/Objects/FoodTinCan.png" id="2_ywu5t"]
[node name="FoodTinCan" instance=ExtResource("1_5c6qq")] [node name="FoodTinCan" instance=ExtResource("1_5c6qq")]
weight = 10
[node name="Sprite2D" parent="." index="1"] [node name="Sprite2D" parent="." index="2"]
position = Vector2(0, -4)
texture = ExtResource("2_ywu5t") texture = ExtResource("2_ywu5t")

View file

@ -4,9 +4,8 @@
[ext_resource type="Texture2D" uid="uid://4dcme0lv0gs3" path="res://Assets/Objects/GameConsole.png" id="2_8xb0y"] [ext_resource type="Texture2D" uid="uid://4dcme0lv0gs3" path="res://Assets/Objects/GameConsole.png" id="2_8xb0y"]
[node name="GameConsole" instance=ExtResource("1_uy3sa")] [node name="GameConsole" instance=ExtResource("1_uy3sa")]
value = 60 value = 600
weight = 30 weight = 35
[node name="Sprite2D" parent="." index="1"] [node name="Sprite2D" parent="." index="2"]
position = Vector2(0, -4)
texture = ExtResource("2_8xb0y") texture = ExtResource("2_8xb0y")

View file

@ -7,7 +7,7 @@
radius = 8.0 radius = 8.0
[node name="GoldBar" instance=ExtResource("1_iouty")] [node name="GoldBar" instance=ExtResource("1_iouty")]
value = 800 value = 1000
weight = 50 weight = 50
[node name="CollisionShape2D" parent="." index="1"] [node name="CollisionShape2D" parent="." index="1"]

View file

@ -4,7 +4,8 @@
[ext_resource type="Texture2D" uid="uid://brbshxkillo2g" path="res://Assets/Objects/Hammer.png" id="2_1akxm"] [ext_resource type="Texture2D" uid="uid://brbshxkillo2g" path="res://Assets/Objects/Hammer.png" id="2_1akxm"]
[node name="Hammer" instance=ExtResource("1_x0fak")] [node name="Hammer" instance=ExtResource("1_x0fak")]
value = 30
weight = 10
[node name="Sprite2D" parent="." index="1"] [node name="Sprite2D" parent="." index="2"]
position = Vector2(0, -4)
texture = ExtResource("2_1akxm") texture = ExtResource("2_1akxm")

View file

@ -4,9 +4,8 @@
[ext_resource type="Texture2D" uid="uid://dycry3xe2kkuv" path="res://Assets/Objects/helmet.png" id="2_afdlx"] [ext_resource type="Texture2D" uid="uid://dycry3xe2kkuv" path="res://Assets/Objects/helmet.png" id="2_afdlx"]
[node name="Helmet" instance=ExtResource("1_ft6b2")] [node name="Helmet" instance=ExtResource("1_ft6b2")]
value = 55 value = 100
weight = 10 weight = 10
[node name="Sprite2D" parent="." index="1"] [node name="Sprite2D" parent="." index="2"]
position = Vector2(0, -4)
texture = ExtResource("2_afdlx") texture = ExtResource("2_afdlx")

View file

@ -7,12 +7,11 @@
radius = 8.0 radius = 8.0
[node name="Monitor" instance=ExtResource("1_8hfxh")] [node name="Monitor" instance=ExtResource("1_8hfxh")]
value = 50 value = 200
weight = 10 weight = 25
[node name="CollisionShape2D" parent="." index="0"] [node name="CollisionShape2D" parent="." index="1"]
shape = SubResource("CircleShape2D_rhwnp") shape = SubResource("CircleShape2D_rhwnp")
[node name="Sprite2D" parent="." index="1"] [node name="Sprite2D" parent="." index="2"]
position = Vector2(0, -4)
texture = ExtResource("2_7s1fc") texture = ExtResource("2_7s1fc")

View file

@ -4,7 +4,8 @@
[ext_resource type="Texture2D" uid="uid://ddaedsbebomx5" path="res://Assets/Objects/MysteryBriefcase.png" id="2_2j5i0"] [ext_resource type="Texture2D" uid="uid://ddaedsbebomx5" path="res://Assets/Objects/MysteryBriefcase.png" id="2_2j5i0"]
[node name="MysteryBriefcase" instance=ExtResource("1_h8wmp")] [node name="MysteryBriefcase" instance=ExtResource("1_h8wmp")]
value = 900
weight = 20
[node name="Sprite2D" parent="." index="1"] [node name="Sprite2D" parent="." index="2"]
position = Vector2(0, -4)
texture = ExtResource("2_2j5i0") texture = ExtResource("2_2j5i0")

View file

@ -4,7 +4,8 @@
[ext_resource type="Texture2D" uid="uid://cyjlwsdf51v8b" path="res://Assets/Objects/MyteryLiquid.png" id="2_nkcej"] [ext_resource type="Texture2D" uid="uid://cyjlwsdf51v8b" path="res://Assets/Objects/MyteryLiquid.png" id="2_nkcej"]
[node name="MysteryLiquid" instance=ExtResource("1_nnm1b")] [node name="MysteryLiquid" instance=ExtResource("1_nnm1b")]
value = 500
weight = 10
[node name="Sprite2D" parent="." index="1"] [node name="Sprite2D" parent="." index="2"]
position = Vector2(0, -4)
texture = ExtResource("2_nkcej") texture = ExtResource("2_nkcej")

View file

@ -4,7 +4,8 @@
[ext_resource type="Texture2D" uid="uid://dq8lm6a4tyoss" path="res://Assets/Objects/Screwdriver.png" id="2_14dxu"] [ext_resource type="Texture2D" uid="uid://dq8lm6a4tyoss" path="res://Assets/Objects/Screwdriver.png" id="2_14dxu"]
[node name="Screwdriver" instance=ExtResource("1_uny6r")] [node name="Screwdriver" instance=ExtResource("1_uny6r")]
value = 30
weight = 10
[node name="Sprite2D" parent="." index="1"] [node name="Sprite2D" parent="." index="2"]
position = Vector2(0, -4)
texture = ExtResource("2_14dxu") texture = ExtResource("2_14dxu")

View file

@ -4,7 +4,7 @@
[ext_resource type="Texture2D" uid="uid://cxpy70verc74h" path="res://Assets/Objects/SodaCan.png" id="2_1yknj"] [ext_resource type="Texture2D" uid="uid://cxpy70verc74h" path="res://Assets/Objects/SodaCan.png" id="2_1yknj"]
[node name="SodaCan" instance=ExtResource("1_prdq3")] [node name="SodaCan" instance=ExtResource("1_prdq3")]
weight = 5
[node name="Sprite2D" parent="." index="1"] [node name="Sprite2D" parent="." index="2"]
position = Vector2(0, -4)
texture = ExtResource("2_1yknj") texture = ExtResource("2_1yknj")

View file

@ -4,7 +4,8 @@
[ext_resource type="Texture2D" uid="uid://bmlb8b00cro1f" path="res://Assets/Objects/Speaker.png" id="2_t3xrn"] [ext_resource type="Texture2D" uid="uid://bmlb8b00cro1f" path="res://Assets/Objects/Speaker.png" id="2_t3xrn"]
[node name="Speaker" instance=ExtResource("1_jlw2l")] [node name="Speaker" instance=ExtResource("1_jlw2l")]
value = 700
weight = 35
[node name="Sprite2D" parent="." index="1"] [node name="Sprite2D" parent="." index="2"]
position = Vector2(0, -4)
texture = ExtResource("2_t3xrn") texture = ExtResource("2_t3xrn")

View file

@ -4,7 +4,8 @@
[ext_resource type="Texture2D" uid="uid://bwl8v34qo8pif" path="res://Assets/Objects/TeddyBear.png" id="2_xa3pj"] [ext_resource type="Texture2D" uid="uid://bwl8v34qo8pif" path="res://Assets/Objects/TeddyBear.png" id="2_xa3pj"]
[node name="TeddyBear" instance=ExtResource("1_g3qoc")] [node name="TeddyBear" instance=ExtResource("1_g3qoc")]
value = 40
weight = 10
[node name="Sprite2D" parent="." index="1"] [node name="Sprite2D" parent="." index="2"]
position = Vector2(0, -4)
texture = ExtResource("2_xa3pj") texture = ExtResource("2_xa3pj")

View file

@ -4,7 +4,8 @@
[ext_resource type="Texture2D" uid="uid://cug6xc65ak64a" path="res://Assets/Objects/Telephone.png" id="2_1w0uo"] [ext_resource type="Texture2D" uid="uid://cug6xc65ak64a" path="res://Assets/Objects/Telephone.png" id="2_1w0uo"]
[node name="Telephone" instance=ExtResource("1_wpn0g")] [node name="Telephone" instance=ExtResource("1_wpn0g")]
value = 60
weight = 25
[node name="Sprite2D" parent="." index="1"] [node name="Sprite2D" parent="." index="2"]
position = Vector2(0, -4)
texture = ExtResource("2_1w0uo") texture = ExtResource("2_1w0uo")

View file

@ -4,7 +4,8 @@
[ext_resource type="Texture2D" uid="uid://bo803pp8gtg5y" path="res://Assets/Objects/Toolbox.png" id="2_co5u1"] [ext_resource type="Texture2D" uid="uid://bo803pp8gtg5y" path="res://Assets/Objects/Toolbox.png" id="2_co5u1"]
[node name="Toolbox" instance=ExtResource("1_fk7ja")] [node name="Toolbox" instance=ExtResource("1_fk7ja")]
value = 150
weight = 30
[node name="Sprite2D" parent="." index="1"] [node name="Sprite2D" parent="." index="2"]
position = Vector2(0, -4)
texture = ExtResource("2_co5u1") texture = ExtResource("2_co5u1")

View file

@ -8,6 +8,8 @@ radius = 8.0
[node name="Vase" instance=ExtResource("1_fkdlr")] [node name="Vase" instance=ExtResource("1_fkdlr")]
y_sort_enabled = true y_sort_enabled = true
value = 100
weight = 35
[node name="CollisionShape2D" parent="." index="1"] [node name="CollisionShape2D" parent="." index="1"]
shape = SubResource("CircleShape2D_pmiic") shape = SubResource("CircleShape2D_pmiic")

View file

@ -1,11 +1,20 @@
extends Node extends Node
var fullscreen = false
func _ready() -> void: func _ready() -> void:
loadStartMenu() loadStartMenu()
func _process(delta: float) -> void: func _process(delta: float) -> void:
if G.extracted and get_child(0).name != "EndScreen": if G.extracted and get_child(0).name != "EndScreen":
loadEndScren() loadEndScren()
if Input.is_action_just_pressed("fullscreen"):
if not fullscreen:
DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_FULLSCREEN)
fullscreen = true
elif fullscreen:
DisplayServer.window_set_mode(DisplayServer.WINDOW_MODE_WINDOWED)
fullscreen = false
func loadGame(): func loadGame():
G.resetValues() G.resetValues()
@ -18,6 +27,11 @@ func loadEndScren():
i.queue_free() i.queue_free()
add_child(load("res://scenes/menu/endScreen/end_screen.tscn").instantiate()) add_child(load("res://scenes/menu/endScreen/end_screen.tscn").instantiate())
func loadHelp():
for i in get_children():
i.queue_free()
add_child(load("res://scenes/menu/help/help.tscn").instantiate())
func loadStartMenu(): func loadStartMenu():
G.resetValues() G.resetValues()

File diff suppressed because one or more lines are too long

View file

@ -1,8 +1,9 @@
[gd_scene load_steps=9 format=3 uid="uid://jga6awfuwsyp"] [gd_scene load_steps=10 format=3 uid="uid://jga6awfuwsyp"]
[ext_resource type="Theme" uid="uid://cotw1alu4b2ad" path="res://Theme/MainTheme.tres" id="1_iscr2"] [ext_resource type="Theme" uid="uid://cotw1alu4b2ad" path="res://Theme/MainTheme.tres" id="1_iscr2"]
[ext_resource type="Texture2D" uid="uid://drjv0kpcfubr0" path="res://Assets/Icons/Dollar.png" id="2_54fgt"] [ext_resource type="Texture2D" uid="uid://drjv0kpcfubr0" path="res://Assets/Icons/Dollar.png" id="2_54fgt"]
[ext_resource type="Script" path="res://scenes/menu/endScreen/end_screen.gd" id="2_wokl6"] [ext_resource type="Script" path="res://scenes/menu/endScreen/end_screen.gd" id="2_wokl6"]
[ext_resource type="PackedScene" uid="uid://iq8pxx1suuqt" path="res://scenes/menu/background.tscn" id="3_33v35"]
[ext_resource type="Texture2D" uid="uid://b27g8eulkxvyr" path="res://Assets/Icons/Health.png" id="3_n82yp"] [ext_resource type="Texture2D" uid="uid://b27g8eulkxvyr" path="res://Assets/Icons/Health.png" id="3_n82yp"]
[sub_resource type="LabelSettings" id="LabelSettings_3uh6l"] [sub_resource type="LabelSettings" id="LabelSettings_3uh6l"]
@ -39,6 +40,8 @@ grow_vertical = 2
theme = ExtResource("1_iscr2") theme = ExtResource("1_iscr2")
script = ExtResource("2_wokl6") script = ExtResource("2_wokl6")
[node name="Background" parent="." instance=ExtResource("3_33v35")]
[node name="CenterContainer" type="CenterContainer" parent="."] [node name="CenterContainer" type="CenterContainer" parent="."]
layout_mode = 1 layout_mode = 1
anchors_preset = 15 anchors_preset = 15

View file

@ -0,0 +1,11 @@
[gd_resource type="StyleBoxTexture" load_steps=2 format=3 uid="uid://drm7nwpd677bf"]
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_nejn8"]
load_path = "res://.godot/imported/Button1.png-365ba86758a2b041f5719410075e763e.ctex"
[resource]
texture = SubResource("CompressedTexture2D_nejn8")
texture_margin_left = 10.0
texture_margin_top = 10.0
texture_margin_right = 10.0
texture_margin_bottom = 10.0

5
scenes/menu/help/help.gd Normal file
View file

@ -0,0 +1,5 @@
extends Control
func _on_button_button_up() -> void:
get_parent().loadStartMenu()

117
scenes/menu/help/help.tscn Normal file
View file

@ -0,0 +1,117 @@
[gd_scene load_steps=5 format=3 uid="uid://cvx1lyddvb8y5"]
[ext_resource type="Script" path="res://scenes/menu/help/help.gd" id="1_c8tk5"]
[ext_resource type="Theme" uid="uid://cotw1alu4b2ad" path="res://Theme/MainTheme.tres" id="1_jto7r"]
[ext_resource type="Texture2D" uid="uid://nrxf04ju38a3" path="res://Assets/Buttons/LeftArrow.png" id="2_s0e6h"]
[ext_resource type="PackedScene" uid="uid://iq8pxx1suuqt" path="res://scenes/menu/background.tscn" id="2_w4woh"]
[node name="HELP" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_jto7r")
script = ExtResource("1_c8tk5")
[node name="Background" parent="." instance=ExtResource("2_w4woh")]
[node name="Label" type="Label" parent="."]
visible = false
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -500.0
offset_top = -500.0
offset_right = 500.0
offset_bottom = 500.0
grow_horizontal = 2
grow_vertical = 2
text = "KEYBOARD
"
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -500.0
offset_top = -500.0
offset_right = 500.0
offset_bottom = 500.0
grow_horizontal = 2
grow_vertical = 2
alignment = 1
[node name="RichTextLabel" type="RichTextLabel" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
focus_mode = 2
bbcode_enabled = true
text = "[u][b]Keyboard/Tastatur[/b][/u]
[b]Move Left[/b]
[ul]A[/ul]
[b]Move Right[/b]
[ul]D[/ul]
[b]Move Up[/b]
[ul]W[/ul]
[b]Move Down[/b]
[ul]S[/ul]
[b]Roll[/b]
[ul]R[/ul]
[ul]Shift[/ul]
[b]Pickup[/b]
[ul]E[/ul]"
selection_enabled = true
[node name="RichTextLabel2" type="RichTextLabel" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
focus_mode = 2
bbcode_enabled = true
text = "[u][b]Controller[/b][/u]
[b]Move Left[/b]
[ul]Left Stick Left[/ul]
[b]Move Right[/b]
[ul]Left Stick Right[/ul]
[b]Move Up[/b]
[ul]Left Stick Up[/ul]
[b]Move Down[/b]
[ul]Left Stick Down[/ul]
[b]Roll[/b]
[ul]X (XBOX)[/ul]
[ul]Y (Nintendo)[/ul]
[b]Pickup[/b]
[ul]A (XBOX)[/ul]
[ul]B (NIntendo)[/ul]
"
selection_enabled = true
[node name="Button" type="Button" parent="."]
layout_mode = 1
offset_left = 16.0
offset_top = 16.0
offset_right = 56.0
offset_bottom = 56.0
scale = Vector2(2, 2)
icon = ExtResource("2_s0e6h")
[connection signal="button_up" from="Button" to="." method="_on_button_button_up"]

View file

@ -3,3 +3,11 @@ extends Control
func _on_start_button_button_up() -> void: func _on_start_button_button_up() -> void:
get_parent().loadGame() get_parent().loadGame()
func _physics_process(delta: float) -> void:
$Portal.play("default")
$Portal.position = get_viewport().get_visible_rect().size /2
func _on_start_button_2_pressed() -> void:
get_parent().loadHelp()

View file

@ -1,9 +1,45 @@
[gd_scene load_steps=5 format=3 uid="uid://ceu62dbrvd31p"] [gd_scene load_steps=10 format=3 uid="uid://ceu62dbrvd31p"]
[ext_resource type="Theme" uid="uid://cotw1alu4b2ad" path="res://Theme/MainTheme.tres" id="1_2eoii"] [ext_resource type="Theme" uid="uid://cotw1alu4b2ad" path="res://Theme/MainTheme.tres" id="1_2eoii"]
[ext_resource type="Script" path="res://scenes/menu/startMenu/start_menu.gd" id="2_y1mcp"] [ext_resource type="Script" path="res://scenes/menu/startMenu/start_menu.gd" id="2_y1mcp"]
[ext_resource type="PackedScene" uid="uid://br7eqr6jomsg4" path="res://scenes/game/map/map.tscn" id="3_w2x7d"] [ext_resource type="PackedScene" uid="uid://iq8pxx1suuqt" path="res://scenes/menu/background.tscn" id="3_1hlwn"]
[ext_resource type="Texture2D" uid="uid://b2xbgtcyxvi73" path="res://Assets/Player/Player.png" id="4_0cn2q"] [ext_resource type="Texture2D" uid="uid://c3o6hrpc0fim2" path="res://Assets/Portal.png" id="3_pyyyw"]
[sub_resource type="AtlasTexture" id="AtlasTexture_drumk"]
atlas = ExtResource("3_pyyyw")
region = Rect2(0, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_ixrr4"]
atlas = ExtResource("3_pyyyw")
region = Rect2(128, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_uu1bm"]
atlas = ExtResource("3_pyyyw")
region = Rect2(256, 0, 128, 128)
[sub_resource type="AtlasTexture" id="AtlasTexture_fv6fu"]
atlas = ExtResource("3_pyyyw")
region = Rect2(384, 0, 128, 128)
[sub_resource type="SpriteFrames" id="SpriteFrames_scf5k"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_drumk")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_ixrr4")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_uu1bm")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_fv6fu")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[node name="StartMenu" type="Control"] [node name="StartMenu" type="Control"]
layout_mode = 3 layout_mode = 3
@ -15,18 +51,16 @@ grow_vertical = 2
theme = ExtResource("1_2eoii") theme = ExtResource("1_2eoii")
script = ExtResource("2_y1mcp") script = ExtResource("2_y1mcp")
[node name="Map" parent="." instance=ExtResource("3_w2x7d")] [node name="Background" parent="." instance=ExtResource("3_1hlwn")]
visible = false
position = Vector2(976, 540)
[node name="Sprite2D" type="Sprite2D" parent="."] [node name="Portal" type="AnimatedSprite2D" parent="."]
visible = false position = Vector2(956, 542)
position = Vector2(960, 456) scale = Vector2(2, 2)
scale = Vector2(1.5, 1.5) sprite_frames = SubResource("SpriteFrames_scf5k")
texture = ExtResource("4_0cn2q") frame_progress = 0.053071
hframes = 25
[node name="ColorRect" type="ColorRect" parent="."] [node name="ColorRect" type="ColorRect" parent="."]
visible = false
modulate = Color(1, 1, 1, 0.376471) modulate = Color(1, 1, 1, 0.376471)
layout_mode = 1 layout_mode = 1
anchors_preset = 15 anchors_preset = 15
@ -51,4 +85,9 @@ layout_mode = 2
layout_mode = 2 layout_mode = 2
text = "PLAY" text = "PLAY"
[node name="StartButton2" type="Button" parent="CenterContainer/VBoxContainer"]
layout_mode = 2
text = "HELP"
[connection signal="button_up" from="CenterContainer/VBoxContainer/StartButton" to="." method="_on_start_button_button_up"] [connection signal="button_up" from="CenterContainer/VBoxContainer/StartButton" to="." method="_on_start_button_button_up"]
[connection signal="pressed" from="CenterContainer/VBoxContainer/StartButton2" to="." method="_on_start_button_2_pressed"]

View file

@ -1 +0,0 @@
,exobyt,exobyt-endeavour,14.09.2024 23:54,file:///home/exobyt/.config/libreoffice/4;

View file

@ -1,10 +0,0 @@
keys,de,en
PLAY,Spielen,Play
MONEY,Geld,Money
RESULT,Ergebnis,Result
UNDERSTOOD,Verstanden,Understood
SUCCES,Erfolgreich extrahiert,Succesfully extracted
FAILURE,Leider nicht geschafft,Lost in the Storm
STORMWARNING,Sturm Warnung! Schnell zum Portal!,Storm Warning! Back to the Portal. NOW!
INTRODUCTION,Suche nach Objekten und Bringe sie zum Portal,Search for Objects and bring them to the Portal
WARNING,"Es wude ein Sturm vorrausgesagt. Wir werden dich aber warnen wenn er kommt, sei dann aber schnell!","The Weather Report said there was a Storm coming. We will warn you if it is close, but be fast!"
1 keys de en
2 PLAY Spielen Play
3 MONEY Geld Money
4 RESULT Ergebnis Result
5 UNDERSTOOD Verstanden Understood
6 SUCCES Erfolgreich extrahiert Succesfully extracted
7 FAILURE Leider nicht geschafft Lost in the Storm
8 STORMWARNING Sturm Warnung! Schnell zum Portal! Storm Warning! Back to the Portal. NOW!
9 INTRODUCTION Suche nach Objekten und Bringe sie zum Portal Search for Objects and bring them to the Portal
10 WARNING Es wude ein Sturm vorrausgesagt. Wir werden dich aber warnen wenn er kommt, sei dann aber schnell! The Weather Report said there was a Storm coming. We will warn you if it is close, but be fast!

View file

@ -1,17 +0,0 @@
[remap]
importer="csv_translation"
type="Translation"
uid="uid://bmg2efydag08g"
[deps]
files=["res://translations/translations.de.translation", "res://translations/translations.en.translation"]
source_file="res://translations/translations.csv"
dest_files=["res://translations/translations.de.translation", "res://translations/translations.en.translation"]
[params]
compress=true
delimiter=0