1
Fork 0
mirror of https://github.com/Steffo99/watermelonkeys-patched-ld51.git synced 2024-11-21 15:44:19 +00:00

aggiunto ending

This commit is contained in:
Maxim Lobovsky 2022-10-03 22:32:28 +02:00
parent 3eff920146
commit e2907f4727
6 changed files with 106 additions and 1 deletions

BIN
ASSETS/Ending1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

35
ASSETS/Ending1.png.import Normal file
View file

@ -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

BIN
ASSETS/Ending2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

35
ASSETS/Ending2.png.import Normal file
View file

@ -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

31
End_Button.tscn Normal file
View file

@ -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

View file

@ -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"]