diff --git a/ASSETS/Ending1.png b/ASSETS/Ending1.png new file mode 100644 index 0000000..dadcbf7 Binary files /dev/null and b/ASSETS/Ending1.png differ diff --git a/ASSETS/Ending1.png.import b/ASSETS/Ending1.png.import new file mode 100644 index 0000000..f98004c --- /dev/null +++ b/ASSETS/Ending1.png.import @@ -0,0 +1,35 @@ +[remap] + +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 0000000..7fd9cf2 Binary files /dev/null and b/ASSETS/Ending2.png differ 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"]