From e2907f47278c00aaf70f85773a59c9ed24224d71 Mon Sep 17 00:00:00 2001 From: Maxim Lobovsky Date: Mon, 3 Oct 2022 22:32:28 +0200 Subject: [PATCH] aggiunto ending --- ASSETS/Ending1.png | Bin 0 -> 3713 bytes ASSETS/Ending1.png.import | 35 +++++++++++++++++++++++++++++++++++ ASSETS/Ending2.png | Bin 0 -> 3584 bytes ASSETS/Ending2.png.import | 35 +++++++++++++++++++++++++++++++++++ End_Button.tscn | 31 +++++++++++++++++++++++++++++++ Level1.tscn | 6 +++++- 6 files changed, 106 insertions(+), 1 deletion(-) create mode 100644 ASSETS/Ending1.png create mode 100644 ASSETS/Ending1.png.import create mode 100644 ASSETS/Ending2.png create mode 100644 ASSETS/Ending2.png.import create mode 100644 End_Button.tscn diff --git a/ASSETS/Ending1.png b/ASSETS/Ending1.png new file mode 100644 index 0000000000000000000000000000000000000000..dadcbf77478ff87245c5e4b04dee2d881498dd35 GIT binary patch literal 3713 zcmcgv3s@6Z79MJxJXa#tCM;Zk@d0z9>C!C-QzHCpUp0s%wQDHDnZV#1cJKrQXSnNrMpt8p!jGJ3|q7?``%uPw!~zZ7&MBpa4BY*nU)GHj_r2L!bdUBL-Pj9 z0o<|Jl*sX%C6VhT2oCWJq2O6vF9rq43s5GV?FA}G98eP(YGx>&Gske8zMDI9D1?bHaSTC_n1mGL6EHBqY*00zrk3KVmxAS_ zRQ3Xx)3UmZ*Fv>4spHHB3M7s-PzelbGA3B9snukJ(ZW+knu$;;5#VYd%W6r2R>(Cv zjaWorazZ30Bs!5sfzu*ckX9mA1O;gbTH3u{#nCAOsf6{m`qFYV(Ba4iNys!*kWNdB zv{JE7L=%!Akz7veL^x0+!L_(dO6a<^%`&r~#3_AGt%6rtpizq9I!Y6Si*!;-Bcd3I zMx-Hdok&Va8LdvEU@#4Xz|ZZ5a(d3J=CmN@VgwelO#=16RZ6HYC4$>0;{>YeQ*4t# z1O`4RF8tc%^Iju=E}mm#L5K+i7WhJ1?MH*w1ssq`rD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+importer="texture" +type="StreamTexture" +path="res://.import/Ending1.png-890d75d006276719059ecc152460f9fd.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://ASSETS/Ending1.png" +dest_files=[ "res://.import/Ending1.png-890d75d006276719059ecc152460f9fd.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/ASSETS/Ending2.png b/ASSETS/Ending2.png new file mode 100644 index 0000000000000000000000000000000000000000..7fd9cf2b5e43e7dfc90633b4725df0bc7eb1f5d9 GIT binary patch literal 3584 zcmcgv3se;66`lnSAZjAfV>z+0lQ9~o&d$ufcgmu`f)HIqmhfmy%IrLLM|OACnE@8m zYCJwbB8f3df*J**dDK^J#QKUc!AD~ySUnnzU`#bejiQYwST(f&>@F+jh?=&id(Q6s z^WX2k_x|^O_x}IZcn@G}vM@=z;gH`)IK7fXx|mX|*MfBJ+=IY8V?he_ zHr(b*XI*?&mB`wwa`Ne_QrgTQV^iQ{KM53gSeb(T9=BH_{T3vkmjq*F8bja!L@u=; zsft0k$d(JI3nB{})Hq7xxB)hr)r3K3(3!@-8eBtQIDruwl+crU4XH81p$`JAi3~^P zSu;bnz?%he$+C~cu!@Qbb%jy;&d zCBj$`C7Ue_zpq-4CybWljB?;nXm9sLOZk;P7RzHLp-iONjB;RcM2};VoX6e`%_A%a z@bF@vOOOT0CG-)5u=t)($UN7FK}B*8l=bs{KovLb%dmXZZAUl80q+{x|n4c2JX z8aT0#_cB6-l%#Atw1BlzGHXEqkpP8o6xZf!G$gJgwZv!~4DcY-2B^tUGId|Dnbex@ z0SgSzRX!BT&?F~_9ttFm_fSq2^Ld>CYc?C1?U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UZwKIKH-o|8E4^wG63i`Mb^nWyZhnT|U`N{f9;98~4HmXk5LWOa;d z^+%n~!WDyJ4R+^(H`5kFIjjG0x#Z%f1UT3IO*@;UUXflu_+;+$ zd)vNP)_HzOs$n^IV4XYuLfiRnsDxaJ#73ycjLaNTQaqGB_tb&2k=@-_=^4Z46UhdNpZP&sc4W9pzt}(jgRgI%n_Hr@uZP~BReSY7`7uw!s7-^vZ2n6F-!LPh{|oKN z%^}|sNf=^@*+AVsxk+_>3cmrzhnLm1{m}*-KeKn@(RZvDM@HXhgX{kO*Q;=K;e7hc zt+Zcdj@Wx~)t~mIOrCXBer?pA#t%%*vuf({Q->|e{(eIOR81v(^2;B5Fa37&vBmJV y>f(P4NM8C($#0Ik(SlVc4rPv9?cPZfcD@;BQs_qh)90SU0AX%=tGC#Q`(` literal 0 HcmV?d00001 diff --git a/ASSETS/Ending2.png.import b/ASSETS/Ending2.png.import new file mode 100644 index 0000000..3f49308 --- /dev/null +++ b/ASSETS/Ending2.png.import @@ -0,0 +1,35 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/Ending2.png-c9d9b1bd90c4bb1ce77fd79151d33ef6.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://ASSETS/Ending2.png" +dest_files=[ "res://.import/Ending2.png-c9d9b1bd90c4bb1ce77fd79151d33ef6.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 +process/normal_map_invert_y=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/End_Button.tscn b/End_Button.tscn new file mode 100644 index 0000000..43657bf --- /dev/null +++ b/End_Button.tscn @@ -0,0 +1,31 @@ +[gd_scene load_steps=5 format=2] + +[ext_resource path="res://ASSETS/Ending1.png" type="Texture" id=1] +[ext_resource path="res://ASSETS/Ending2.png" type="Texture" id=2] + +[sub_resource type="SpriteFrames" id=1] +animations = [ { +"frames": [ ExtResource( 1 ), ExtResource( 2 ) ], +"loop": true, +"name": "default", +"speed": 1.0 +} ] + +[sub_resource type="RectangleShape2D" id=2] +extents = Vector2( 8, 3.5 ) + +[node name="Node2D" type="Node2D"] +__meta__ = { +"_edit_group_": true +} + +[node name="AnimatedSprite" type="AnimatedSprite" parent="."] +frames = SubResource( 1 ) +playing = true + +[node name="StaticBody2D" type="StaticBody2D" parent="AnimatedSprite"] + +[node name="CollisionShape2D" type="CollisionShape2D" parent="AnimatedSprite/StaticBody2D"] +position = Vector2( 0, 4.5 ) +shape = SubResource( 2 ) +one_way_collision = true diff --git a/Level1.tscn b/Level1.tscn index 0bf8309..4fa8215 100644 --- a/Level1.tscn +++ b/Level1.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=14 format=2] +[gd_scene load_steps=15 format=2] [ext_resource path="res://light.tscn" type="PackedScene" id=1] [ext_resource path="res://Giovanna.tscn" type="PackedScene" id=2] @@ -8,6 +8,7 @@ [ext_resource path="res://ASSETS/Background/Skyline1.png" type="Texture" id=6] [ext_resource path="res://My Platform.tscn" type="PackedScene" id=7] [ext_resource path="res://ASSETS/Sunimation/Sun_0_5000ms.png" type="Texture" id=8] +[ext_resource path="res://End_Button.tscn" type="PackedScene" id=9] [sub_resource type="GDScript" id=3] script/source = "extends Node2D @@ -212,5 +213,8 @@ position = Vector2( 320, 34 ) [node name="My Platform3" parent="." instance=ExtResource( 7 )] position = Vector2( 264, -3 ) +[node name="Ending" parent="." instance=ExtResource( 9 )] +position = Vector2( 827, 237 ) + [connection signal="sun_anim_done" from="ParallaxBackground/ParallaxLayer2/Sun" to="." method="_on_sun_anim_done"] [connection signal="body_entered" from="DeathZone" to="." method="_on_DeathZone_body_entered"]