diff --git a/ASSETS/Platforms/Plafformina1.png b/ASSETS/Platforms/Plafformina1.png new file mode 100644 index 0000000..79b6565 Binary files /dev/null and b/ASSETS/Platforms/Plafformina1.png differ diff --git a/ASSETS/Platforms/Plafformina1.png.import b/ASSETS/Platforms/Plafformina1.png.import new file mode 100644 index 0000000..26e712f --- /dev/null +++ b/ASSETS/Platforms/Plafformina1.png.import @@ -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 diff --git a/ASSETS/Platforms/Plafformina2.png b/ASSETS/Platforms/Plafformina2.png new file mode 100644 index 0000000..d1f4b69 Binary files /dev/null and b/ASSETS/Platforms/Plafformina2.png differ diff --git a/ASSETS/Platforms/Plafformina2.png.import b/ASSETS/Platforms/Plafformina2.png.import new file mode 100644 index 0000000..4fcbd71 --- /dev/null +++ b/ASSETS/Platforms/Plafformina2.png.import @@ -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 diff --git a/ASSETS/Platforms/Plafformina3.png b/ASSETS/Platforms/Plafformina3.png new file mode 100644 index 0000000..3301daf Binary files /dev/null and b/ASSETS/Platforms/Plafformina3.png differ diff --git a/ASSETS/Platforms/Plafformina3.png.import b/ASSETS/Platforms/Plafformina3.png.import new file mode 100644 index 0000000..01391ad --- /dev/null +++ b/ASSETS/Platforms/Plafformina3.png.import @@ -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 diff --git a/ASSETS/Tiles/Uglee_tileset.png b/ASSETS/Tiles/Uglee_tileset.png new file mode 100644 index 0000000..d1777ff Binary files /dev/null and b/ASSETS/Tiles/Uglee_tileset.png differ diff --git a/ASSETS/Tiles/Uglee_tileset.png.import b/ASSETS/Tiles/Uglee_tileset.png.import new file mode 100644 index 0000000..fddb27e --- /dev/null +++ b/ASSETS/Tiles/Uglee_tileset.png.import @@ -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 diff --git a/ASSETS/cactus.png.import b/ASSETS/cactus.png.import new file mode 100644 index 0000000..6462e4b --- /dev/null +++ b/ASSETS/cactus.png.import @@ -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 diff --git a/Level1.tscn b/Level1.tscn index 1cdfaab..0231062 100644 --- a/Level1.tscn +++ b/Level1.tscn @@ -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"] diff --git a/My Platform.tscn b/My Platform.tscn new file mode 100644 index 0000000..fc3db77 --- /dev/null +++ b/My Platform.tscn @@ -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