1
Fork 0
mirror of https://github.com/Steffo99/watermelonkeys-patched-ld51.git synced 2024-11-24 17:04:23 +00:00

aggiunta piattaformina

This commit is contained in:
Maxim Lobovsky 2022-10-03 21:57:56 +02:00
parent 1da6395498
commit fd62aa09b7
11 changed files with 219 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Plafformina1.png-85b0c462d29c7c28af9f1e100cf212a5.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://ASSETS/Platforms/Plafformina1.png"
dest_files=[ "res://.import/Plafformina1.png-85b0c462d29c7c28af9f1e100cf212a5.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Plafformina2.png-db50289b66f0f9986174c8e9e37d6b19.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://ASSETS/Platforms/Plafformina2.png"
dest_files=[ "res://.import/Plafformina2.png-db50289b66f0f9986174c8e9e37d6b19.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Plafformina3.png-143433d74a5d5c50633ec4c473278c0f.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://ASSETS/Platforms/Plafformina3.png"
dest_files=[ "res://.import/Plafformina3.png-143433d74a5d5c50633ec4c473278c0f.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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Uglee_tileset.png-04dc1d7abb9d420aadb20e079f85896f.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://ASSETS/Tiles/Uglee_tileset.png"
dest_files=[ "res://.import/Uglee_tileset.png-04dc1d7abb9d420aadb20e079f85896f.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

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

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/cactus.png-bf66f27736945243f6ec6c2b3bc1aa48.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://ASSETS/cactus.png"
dest_files=[ "res://.import/cactus.png-bf66f27736945243f6ec6c2b3bc1aa48.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

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=13 format=2]
[gd_scene load_steps=14 format=2]
[ext_resource path="res://light.tscn" type="PackedScene" id=1]
[ext_resource path="res://Giovanna.tscn" type="PackedScene" id=2]
@ -6,6 +6,7 @@
[ext_resource path="res://ASSETS/Background/Layer 7.png" type="Texture" id=4]
[ext_resource path="res://ASSETS/Background/Skyline2.png" type="Texture" id=5]
[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]
[sub_resource type="GDScript" id=3]
@ -22,6 +23,7 @@ onready var layer_3 = $ParallaxBackground/ParallaxLayer
onready var sun_sprite = $ParallaxBackground/ParallaxLayer2/Sun
func _ready():
$TileMap.material = tiles_mat
tiles_mat.light_mode = CanvasItemMaterial.LIGHT_MODE_UNSHADED
emit_signal(\"day\")
@ -176,7 +178,6 @@ position = Vector2( -4, 0 )
texture = ExtResource( 5 )
[node name="TileMap" type="TileMap" parent="."]
material = SubResource( 7 )
tile_set = ExtResource( 3 )
cell_size = Vector2( 16, 16 )
format = 1
@ -203,5 +204,14 @@ shape = SubResource( 4 )
[node name="Player" parent="." instance=ExtResource( 2 )]
position = Vector2( 73, 39 )
[node name="My Platform" parent="." instance=ExtResource( 7 )]
position = Vector2( 378, 72 )
[node name="My Platform2" parent="." instance=ExtResource( 7 )]
position = Vector2( 320, 34 )
[node name="My Platform3" parent="." instance=ExtResource( 7 )]
position = Vector2( 264, -3 )
[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"]

32
My Platform.tscn Normal file
View file

@ -0,0 +1,32 @@
[gd_scene load_steps=6 format=2]
[ext_resource path="res://ASSETS/Platforms/Plafformina3.png" type="Texture" id=1]
[ext_resource path="res://ASSETS/Platforms/Plafformina1.png" type="Texture" id=2]
[ext_resource path="res://ASSETS/Platforms/Plafformina2.png" type="Texture" id=3]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 1 ) ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 23.5, 1.5 )
[node name="My Platform" type="Node2D"]
__meta__ = {
"_edit_group_": true
}
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
frames = SubResource( 1 )
playing = true
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2( 0.5, -10.5 )
shape = SubResource( 2 )
one_way_collision = true