diff options
28 files changed, 141 insertions, 9 deletions
diff --git a/.import/base.png-ab6db0702a6eccad894e5c01a6efa104.md5 b/.import/base.png-ab6db0702a6eccad894e5c01a6efa104.md5 index 891b0e8..4bf60bf 100644 --- a/.import/base.png-ab6db0702a6eccad894e5c01a6efa104.md5 +++ b/.import/base.png-ab6db0702a6eccad894e5c01a6efa104.md5 @@ -1,3 +1,3 @@ -source_md5="5d82b0cfc0d276ec9cf21e3a6c3935c2" -dest_md5="37fce06cf6174120a6b74d1d91c6615e" +source_md5="ed64a5d37b1ea7d8d782b1aaf3d4ce46" +dest_md5="e0439c9b0c35759e39a9a05133ddc872" diff --git a/.import/base.png-ab6db0702a6eccad894e5c01a6efa104.stex b/.import/base.png-ab6db0702a6eccad894e5c01a6efa104.stex Binary files differindex 49207ca..0931e65 100644 --- a/.import/base.png-ab6db0702a6eccad894e5c01a6efa104.stex +++ b/.import/base.png-ab6db0702a6eccad894e5c01a6efa104.stex diff --git a/.import/light_bulb.png-5772eeb96ec3ec0cdc4e5525e056ff36.md5 b/.import/light_bulb.png-5772eeb96ec3ec0cdc4e5525e056ff36.md5 new file mode 100644 index 0000000..c5a0851 --- /dev/null +++ b/.import/light_bulb.png-5772eeb96ec3ec0cdc4e5525e056ff36.md5 @@ -0,0 +1,3 @@ +source_md5="e19d3c37af640053b9fa4bc589ebadaa" +dest_md5="9fa8561ad161cdc7770486d7dc23934f" + diff --git a/.import/light_bulb.png-5772eeb96ec3ec0cdc4e5525e056ff36.stex b/.import/light_bulb.png-5772eeb96ec3ec0cdc4e5525e056ff36.stex Binary files differnew file mode 100644 index 0000000..c833fbf --- /dev/null +++ b/.import/light_bulb.png-5772eeb96ec3ec0cdc4e5525e056ff36.stex diff --git a/.import/light_bulb_r.png-3f8999df551aa39f1ce881714c478c48.md5 b/.import/light_bulb_r.png-3f8999df551aa39f1ce881714c478c48.md5 new file mode 100644 index 0000000..ef93677 --- /dev/null +++ b/.import/light_bulb_r.png-3f8999df551aa39f1ce881714c478c48.md5 @@ -0,0 +1,3 @@ +source_md5="ffeb355141ae4d0c680c798d8fefe0cb" +dest_md5="9821de091738807977d583051cb88390" + diff --git a/.import/light_bulb_r.png-3f8999df551aa39f1ce881714c478c48.stex b/.import/light_bulb_r.png-3f8999df551aa39f1ce881714c478c48.stex Binary files differnew file mode 100644 index 0000000..9c5f1c9 --- /dev/null +++ b/.import/light_bulb_r.png-3f8999df551aa39f1ce881714c478c48.stex diff --git a/.import/logo_bg.png-8eba49bf5b641912553ec27e22cf7b4b.md5 b/.import/logo_bg.png-8eba49bf5b641912553ec27e22cf7b4b.md5 index 2e237cb..0465435 100644 --- a/.import/logo_bg.png-8eba49bf5b641912553ec27e22cf7b4b.md5 +++ b/.import/logo_bg.png-8eba49bf5b641912553ec27e22cf7b4b.md5 @@ -1,3 +1,3 @@ -source_md5="8900c8b574a4230ba367a845d72d5457" -dest_md5="ff5ea3d8685a5aad35940e0004d9be61" +source_md5="dbff4b2a94a085a2af371297b470161b" +dest_md5="8e6936662ea2e5506e51886701bd7d04" diff --git a/.import/logo_bg.png-8eba49bf5b641912553ec27e22cf7b4b.stex b/.import/logo_bg.png-8eba49bf5b641912553ec27e22cf7b4b.stex Binary files differindex b5ec41e..d9eca1d 100644 --- a/.import/logo_bg.png-8eba49bf5b641912553ec27e22cf7b4b.stex +++ b/.import/logo_bg.png-8eba49bf5b641912553ec27e22cf7b4b.stex diff --git a/.import/logo_tansparent.png-2553e4311c5af8674c84999f7148cda0.md5 b/.import/logo_tansparent.png-2553e4311c5af8674c84999f7148cda0.md5 index 20e663b..b29226b 100644 --- a/.import/logo_tansparent.png-2553e4311c5af8674c84999f7148cda0.md5 +++ b/.import/logo_tansparent.png-2553e4311c5af8674c84999f7148cda0.md5 @@ -1,3 +1,3 @@ -source_md5="68eb97c994b8792ec2ac5fa1d15f3822" -dest_md5="bc93fc48a878b6c34337994d23ec0413" +source_md5="97eecfc5cb104cc2bcfdc5ebc3bcbd26" +dest_md5="3f9c2aaa084f120517cb3766e5036cb6" diff --git a/.import/logo_tansparent.png-2553e4311c5af8674c84999f7148cda0.stex b/.import/logo_tansparent.png-2553e4311c5af8674c84999f7148cda0.stex Binary files differindex d06d2de..311bcf6 100644 --- a/.import/logo_tansparent.png-2553e4311c5af8674c84999f7148cda0.stex +++ b/.import/logo_tansparent.png-2553e4311c5af8674c84999f7148cda0.stex diff --git a/.import/name.png-4d09aebbcefe71c7a098288a19fce534.md5 b/.import/name.png-4d09aebbcefe71c7a098288a19fce534.md5 new file mode 100644 index 0000000..1ae6b52 --- /dev/null +++ b/.import/name.png-4d09aebbcefe71c7a098288a19fce534.md5 @@ -0,0 +1,3 @@ +source_md5="ba756bf535dab547e80193281afd36a2" +dest_md5="1ca158abacadbe0995d5ce2ebe51d798" + diff --git a/.import/name.png-4d09aebbcefe71c7a098288a19fce534.stex b/.import/name.png-4d09aebbcefe71c7a098288a19fce534.stex Binary files differnew file mode 100644 index 0000000..f6a27fe --- /dev/null +++ b/.import/name.png-4d09aebbcefe71c7a098288a19fce534.stex diff --git a/components/healthbar/heart.gd b/components/healthbar/heart.gd index 6177452..f2ecb65 100644 --- a/components/healthbar/heart.gd +++ b/components/healthbar/heart.gd @@ -6,7 +6,7 @@ onready var notfill = $notfill # Called when the node enters the scene tree for the first time. func _ready(): - pass # Replace with function body. + set_filled(false) func _process(delta): diff --git a/scenes/levels/base_level.gd b/scenes/levels/base_level.gd index b391917..c42e548 100644 --- a/scenes/levels/base_level.gd +++ b/scenes/levels/base_level.gd @@ -5,6 +5,7 @@ onready var pause_menu = $PauseMenu # Called when the node enters the scene tree for the first time. func _ready(): $Control/TextReveal.start() + $healthbar.set_health(2) func _on_MenuButton_on_click(): pause_menu.pause() diff --git a/scenes/menu.tscn b/scenes/menu.tscn index 7df0a7c..991e272 100644 --- a/scenes/menu.tscn +++ b/scenes/menu.tscn @@ -1,10 +1,20 @@ -[gd_scene load_steps=6 format=2] +[gd_scene load_steps=10 format=2] [ext_resource path="res://components/Logo.tscn" type="PackedScene" id=1] [ext_resource path="res://components/button.tscn" type="PackedScene" id=2] [ext_resource path="res://textures/backgrounds/background_grey.png" type="Texture" id=3] [ext_resource path="res://textures/backgrounds/background_blue.png" type="Texture" id=4] [ext_resource path="res://scenes/menu.gd" type="Script" id=5] +[ext_resource path="res://textures/texts/name.png" type="Texture" id=6] +[ext_resource path="res://textures/icons/light_bulb.png" type="Texture" id=7] +[ext_resource path="res://textures/icons/light_bulb_r.png" type="Texture" id=8] + +[sub_resource type="AnimatedTexture" id=1] +frames = 2 +fps = 1.0 +frame_0/texture = ExtResource( 7 ) +frame_1/texture = ExtResource( 8 ) +frame_1/delay_sec = 0.0 [node name="Node2D" type="Node2D"] script = ExtResource( 5 ) @@ -30,7 +40,17 @@ text = "Start" fixed_width = 150 [node name="Logo" parent="." instance=ExtResource( 1 )] -position = Vector2( 640, 250 ) +position = Vector2( 255.566, 250 ) rotation = -1.74846e-07 + +[node name="Sprite3" type="Sprite" parent="."] +position = Vector2( 666.085, 247.613 ) +scale = Vector2( 4.14939, 4.14939 ) +texture = ExtResource( 6 ) + +[node name="Sprite4" type="Sprite" parent="."] +position = Vector2( 1081.89, 246.278 ) +scale = Vector2( 4.35795, 4.35795 ) +texture = SubResource( 1 ) [connection signal="on_click" from="Exit" to="." method="_on_Exit_on_click"] [connection signal="on_click" from="Strart" to="." method="_on_Strart_on_click"] diff --git a/textures/icons/light_bulb.png b/textures/icons/light_bulb.png Binary files differnew file mode 100644 index 0000000..d075a7e --- /dev/null +++ b/textures/icons/light_bulb.png diff --git a/textures/icons/light_bulb.png.import b/textures/icons/light_bulb.png.import new file mode 100644 index 0000000..e4c5a46 --- /dev/null +++ b/textures/icons/light_bulb.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/light_bulb.png-5772eeb96ec3ec0cdc4e5525e056ff36.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/icons/light_bulb.png" +dest_files=[ "res://.import/light_bulb.png-5772eeb96ec3ec0cdc4e5525e056ff36.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/textures/icons/light_bulb.xcf b/textures/icons/light_bulb.xcf Binary files differnew file mode 100644 index 0000000..978a10b --- /dev/null +++ b/textures/icons/light_bulb.xcf diff --git a/textures/icons/light_bulb_r.png b/textures/icons/light_bulb_r.png Binary files differnew file mode 100644 index 0000000..dc0b303 --- /dev/null +++ b/textures/icons/light_bulb_r.png diff --git a/textures/icons/light_bulb_r.png.import b/textures/icons/light_bulb_r.png.import new file mode 100644 index 0000000..1b1c32b --- /dev/null +++ b/textures/icons/light_bulb_r.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/light_bulb_r.png-3f8999df551aa39f1ce881714c478c48.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/icons/light_bulb_r.png" +dest_files=[ "res://.import/light_bulb_r.png-3f8999df551aa39f1ce881714c478c48.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/textures/icons/light_bulb_r.xcf b/textures/icons/light_bulb_r.xcf Binary files differnew file mode 100644 index 0000000..fe1f1d2 --- /dev/null +++ b/textures/icons/light_bulb_r.xcf diff --git a/textures/icons/logo/layers/base.png b/textures/icons/logo/layers/base.png Binary files differindex 6f45029..3d3198d 100644 --- a/textures/icons/logo/layers/base.png +++ b/textures/icons/logo/layers/base.png diff --git a/textures/icons/logo/logo.xcf b/textures/icons/logo/logo.xcf Binary files differindex 345447e..c67e1bb 100644 --- a/textures/icons/logo/logo.xcf +++ b/textures/icons/logo/logo.xcf diff --git a/textures/icons/logo/logo_bg.png b/textures/icons/logo/logo_bg.png Binary files differindex 4200174..3d096c5 100644 --- a/textures/icons/logo/logo_bg.png +++ b/textures/icons/logo/logo_bg.png diff --git a/textures/icons/logo/logo_tansparent.png b/textures/icons/logo/logo_tansparent.png Binary files differindex a427f97..91b3334 100644 --- a/textures/icons/logo/logo_tansparent.png +++ b/textures/icons/logo/logo_tansparent.png diff --git a/textures/texts/name.png b/textures/texts/name.png Binary files differnew file mode 100644 index 0000000..66bb283 --- /dev/null +++ b/textures/texts/name.png diff --git a/textures/texts/name.png.import b/textures/texts/name.png.import new file mode 100644 index 0000000..03ddb3c --- /dev/null +++ b/textures/texts/name.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/name.png-4d09aebbcefe71c7a098288a19fce534.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://textures/texts/name.png" +dest_files=[ "res://.import/name.png-4d09aebbcefe71c7a098288a19fce534.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=false +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/textures/texts/name.xcf b/textures/texts/name.xcf Binary files differnew file mode 100644 index 0000000..2531d86 --- /dev/null +++ b/textures/texts/name.xcf |