added objective, added boss
This commit is contained in:
1 parent
db6cec47b4
commit
eb0ec1287f
27 files changed
+945
-60
No files matched your search
@@ -1,6 +1,24 @@
|
||||
extends Node2D
|
||||
|
||||
var gems: int = 4
|
||||
|
||||
func _ready() -> void:
|
||||
#$YSort/Player.position = get_viewport_rect().size / 2
|
||||
$YSort/Player.load_hud($HUD)
|
||||
return
|
||||
|
||||
|
||||
func _on_TreasureChest_gem_collected() -> void:
|
||||
gems -= 1
|
||||
|
||||
if gems == 0:
|
||||
$YSort/Items/Door/doorClosed.visible = false
|
||||
$YSort/Items/Door/doorOpened.visible = true
|
||||
$DoorCollision.layers = 5
|
||||
|
||||
|
||||
|
||||
func _on_NextArea_area_entered(area: Area2D) -> void:
|
||||
if area.get_parent().name == 'Player':
|
||||
$YSort/Player.position.x = 195
|
||||
$YSort/Player.position.y = -335
|
||||
+76
-52
@@ -4,7 +4,7 @@
|
||||
[ext_resource path="res://Enemies/Hellhound.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://Sprites/Assets/fire_column_medium_3.png" type="Texture" id=3]
|
||||
[ext_resource path="res://Sprites/Assets/fire_column_medium_9.png" type="Texture" id=4]
|
||||
[ext_resource path="res://Sprites/Assets/Destructible Objects Sprite Sheet.png" type="Texture" id=5]
|
||||
[ext_resource path="res://Levels/Objects/Door.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://Sprites/Assets/fire_column_medium_10.png" type="Texture" id=6]
|
||||
[ext_resource path="res://Sprites/Assets/fire_column_medium_4.png" type="Texture" id=7]
|
||||
[ext_resource path="res://Sprites/Assets/fire_column_medium_6.png" type="Texture" id=8]
|
||||
@@ -15,6 +15,7 @@
|
||||
[ext_resource path="res://Sprites/Assets/fire_column_medium_11.png" type="Texture" id=13]
|
||||
[ext_resource path="res://Sprites/Assets/fire_column_medium_8.png" type="Texture" id=14]
|
||||
[ext_resource path="res://Sprites/Assets/tileset_mk_16_16_nature_tileset_godot.tres" type="TileSet" id=15]
|
||||
[ext_resource path="res://Levels/Objects/TreasureChest.tscn" type="PackedScene" id=16]
|
||||
[ext_resource path="res://Sprites/Assets/fire_column_medium_2.png" type="Texture" id=17]
|
||||
[ext_resource path="res://Sprites/Assets/fire_column_medium_7.png" type="Texture" id=18]
|
||||
[ext_resource path="res://Sprites/Assets/transparent16x16.png" type="Texture" id=19]
|
||||
@@ -23,6 +24,7 @@
|
||||
[ext_resource path="res://GUI/Pause Screen.tscn" type="PackedScene" id=22]
|
||||
[ext_resource path="res://GUI/HUD.tscn" type="PackedScene" id=23]
|
||||
[ext_resource path="res://Enemies/Flaming Skull.tscn" type="PackedScene" id=24]
|
||||
[ext_resource path="res://Enemies/DemonBoss.tscn" type="PackedScene" id=26]
|
||||
|
||||
[sub_resource type="SpriteFrames" id=1]
|
||||
animations = [ {
|
||||
@@ -58,28 +60,11 @@ points = PoolVector2Array( 16, 16, 0, 16, 0, 0, 16, 0 )
|
||||
} ]
|
||||
0/z_index = 0
|
||||
|
||||
[sub_resource type="AtlasTexture" id=22]
|
||||
flags = 4
|
||||
atlas = ExtResource( 5 )
|
||||
region = Rect2( 0, 648, 64, 54 )
|
||||
[sub_resource type="RectangleShape2D" id=11]
|
||||
extents = Vector2( 39, 10 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=23]
|
||||
flags = 4
|
||||
atlas = ExtResource( 5 )
|
||||
region = Rect2( 64, 648, 64, 54 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=24]
|
||||
flags = 4
|
||||
atlas = ExtResource( 5 )
|
||||
region = Rect2( 128, 648, 64, 54 )
|
||||
|
||||
[sub_resource type="SpriteFrames" id=21]
|
||||
animations = [ {
|
||||
"frames": [ SubResource( 22 ), SubResource( 23 ), SubResource( 24 ) ],
|
||||
"loop": true,
|
||||
"name": "default",
|
||||
"speed": 4.0
|
||||
} ]
|
||||
[sub_resource type="RectangleShape2D" id=12]
|
||||
extents = Vector2( 26.5, 10 )
|
||||
|
||||
[node name="World" type="Node2D"]
|
||||
script = ExtResource( 9 )
|
||||
@@ -89,33 +74,33 @@ tile_set = ExtResource( 15 )
|
||||
cell_size = Vector2( 16, 16 )
|
||||
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
|
||||
format = 1
|
||||
tile_data = PoolIntArray( -786450, 0, 1, -786449, 0, 2, -786448, 0, 2, -786447, 0, 2, -786446, 0, 2, -786445, 0, 2, -786444, 0, 2, -786443, 0, 2, -786442, 0, 2, -786441, 0, 2, -786440, 0, 2, -786439, 0, 2, -786438, 0, 2, -786437, 0, 2, -786436, 0, 2, -786435, 0, 2, -786434, 0, 2, -786433, 0, 2, -851968, 0, 2, -851967, 0, 2, -851966, 0, 2, -851965, 0, 2, -851964, 0, 2, -851963, 0, 2, -851962, 0, 2, -851961, 0, 2, -851960, 0, 2, -851959, 0, 2, -851958, 0, 2, -851957, 0, 2, -851956, 0, 2, -851955, 0, 2, -851954, 0, 2, -851953, 0, 2, -851952, 0, 2, -851951, 0, 2, -851950, 0, 2, -851949, 0, 2, -851948, 0, 2, -851947, 0, 2, -851946, 0, 2, -851945, 0, 2, -851944, 0, 2, -851943, 0, 2, -851942, 0, 2, -851941, 0, 2, -851940, 0, 2, -851939, 0, 2, -851938, 0, 2, -851937, 0, 2, -851936, 0, 2, -851935, 0, 2, -851934, 0, 2, -851933, 0, 2, -851932, 0, 2, -851931, 0, 3, -720914, 0, 65537, -720913, 0, 65538, -720912, 0, 65538, -720911, 0, 65538, -720910, 0, 65538, -720909, 0, 65538, -720908, 0, 65538, -720907, 0, 65538, -720906, 0, 65538, -720905, 0, 65538, -720904, 0, 65538, -720903, 0, 65538, -720902, 0, 65538, -720901, 0, 65538, -720900, 0, 65538, -720899, 0, 65538, -720898, 0, 65538, -720897, 0, 65538, -786432, 0, 65538, -786431, 0, 65538, -786430, 0, 65538, -786429, 0, 65538, -786428, 0, 65538, -786427, 0, 65538, -786426, 0, 65538, -786425, 0, 65538, -786424, 0, 65538, -786423, 0, 65538, -786422, 0, 65538, -786421, 0, 65538, -786420, 0, 65538, -786419, 0, 65538, -786418, 0, 65538, -786417, 0, 65538, -786416, 0, 65538, -786415, 0, 65538, -786414, 0, 65538, -786413, 0, 65538, -786412, 0, 65538, -786411, 0, 65538, -786410, 0, 65538, -786409, 0, 65538, -786408, 0, 65538, -786407, 0, 65538, -786406, 0, 65538, -786405, 0, 65538, -786404, 0, 65538, -786403, 0, 65538, -786402, 0, 65538, -786401, 0, 65538, -786400, 0, 65538, -786399, 0, 65538, -786398, 0, 65538, -786397, 0, 65538, -786396, 0, 65538, -786395, 0, 65539, -655378, 0, 65537, -655377, 0, 65538, -655376, 0, 65538, -655375, 0, 65538, -655374, 0, 65538, -655373, 0, 65538, -655372, 0, 65538, -655371, 0, 65538, -655370, 0, 65538, -655369, 0, 65538, -655368, 0, 65538, -655367, 0, 65538, -655366, 0, 65538, -655365, 0, 65538, -655364, 0, 65538, -655363, 0, 65538, -655362, 0, 65538, -655361, 0, 65538, -720896, 0, 65538, -720895, 0, 65538, -720894, 0, 65538, -720893, 0, 65538, -720892, 0, 65538, -720891, 0, 65538, -720890, 0, 65538, -720889, 0, 65538, -720888, 0, 65538, -720887, 0, 65538, -720886, 0, 65538, -720885, 0, 65538, -720884, 0, 65538, -720883, 0, 65538, -720882, 0, 65538, -720881, 0, 65538, -720880, 0, 65538, -720879, 0, 65538, -720878, 0, 65538, -720877, 0, 65538, -720876, 0, 65538, -720875, 0, 65538, -720874, 0, 65538, -720873, 0, 65538, -720872, 0, 65538, -720871, 0, 65538, -720870, 0, 65538, -720869, 0, 65538, -720868, 0, 65538, -720867, 0, 65538, -720866, 0, 65538, -720865, 0, 65538, -720864, 0, 65538, -720863, 0, 65538, -720862, 0, 65538, -720861, 0, 65538, -720860, 0, 65538, -720859, 0, 65539, -589842, 0, 65537, -589841, 0, 65538, -589840, 0, 65538, -589839, 0, 65538, -589838, 0, 65538, -589837, 0, 65538, -589836, 0, 65538, -589835, 0, 65538, -589834, 0, 65538, -589833, 0, 65538, -589832, 0, 65538, -589831, 0, 65538, -589830, 0, 65538, -589829, 0, 65538, -589828, 0, 65538, -589827, 0, 65538, -589826, 0, 65538, -589825, 0, 65538, -655360, 0, 65538, -655359, 0, 65538, -655358, 0, 65538, -655357, 0, 65538, -655356, 0, 65538, -655355, 0, 65538, -655354, 0, 65538, -655353, 0, 65538, -655352, 0, 65538, -655351, 0, 65538, -655350, 0, 65538, -655349, 0, 65538, -655348, 0, 65538, -655347, 0, 65538, -655346, 0, 65538, -655345, 0, 65538, -655344, 0, 65538, -655343, 0, 65538, -655342, 0, 65538, -655341, 0, 65538, -655340, 0, 65538, -655339, 0, 65538, -655338, 0, 65538, -655337, 0, 65538, -655336, 0, 65538, -655335, 0, 65538, -655334, 0, 65538, -655333, 0, 65538, -655332, 0, 65538, -655331, 0, 65538, -655330, 0, 65538, -655329, 0, 65538, -655328, 0, 65538, -655327, 0, 65538, -655326, 0, 65538, -655325, 0, 65538, -655324, 0, 65538, -655323, 0, 65539, -524306, 0, 65537, -524305, 0, 65538, -524304, 0, 65538, -524303, 0, 65538, -524302, 0, 65538, -524301, 0, 65538, -524300, 0, 65538, -524299, 0, 65538, -524298, 0, 65538, -524297, 0, 65538, -524296, 0, 65538, -524295, 0, 65538, -524294, 0, 65538, -524293, 0, 65538, -524292, 0, 65538, -524291, 0, 65538, -524290, 0, 65538, -524289, 0, 65538, -589824, 0, 65538, -589823, 0, 65538, -589822, 0, 65538, -589821, 0, 65538, -589820, 0, 65538, -589819, 0, 65538, -589818, 0, 65538, -589817, 0, 65538, -589816, 0, 65538, -589815, 0, 65538, -589814, 0, 65538, -589813, 0, 65538, -589812, 0, 65538, -589811, 0, 65538, -589810, 0, 65538, -589809, 0, 65538, -589808, 0, 65538, -589807, 0, 65538, -589806, 0, 65538, -589805, 0, 65538, -589804, 0, 65538, -589803, 0, 65538, -589802, 0, 65538, -589801, 0, 65538, -589800, 0, 65538, -589799, 0, 65538, -589798, 0, 65538, -589797, 0, 65538, -589796, 0, 65538, -589795, 0, 65538, -589794, 0, 65538, -589793, 0Line truncated
|
||||
tile_data = PoolIntArray( -851986, 0, 1, -851985, 0, 2, -851984, 0, 2, -851983, 0, 2, -851982, 0, 2, -851981, 0, 2, -851980, 0, 2, -851979, 0, 2, -851978, 0, 2, -851977, 0, 2, -851976, 0, 2, -851975, 0, 2, -851974, 0, 2, -851973, 0, 2, -851972, 0, 2, -851971, 0, 2, -851970, 0, 2, -851969, 0, 2, -917504, 0, 2, -917503, 0, 2, -917502, 0, 2, -917501, 0, 2, -917500, 0, 2, -917499, 0, 2, -917498, 0, 2, -917497, 0, 2, -917496, 0, 2, -917495, 0, 2, -917494, 0, 2, -917493, 0, 2, -917492, 0, 2, -917491, 0, 2, -917490, 0, 2, -917489, 0, 2, -917488, 0, 2, -917487, 0, 2, -917486, 0, 2, -917485, 0, 2, -917484, 0, 2, -917483, 0, 2, -917482, 0, 2, -917481, 0, 2, -917480, 0, 2, -917479, 0, 2, -917478, 0, 2, -917477, 0, 2, -917476, 0, 2, -917475, 0, 2, -917474, 0, 2, -917473, 0, 2, -917472, 0, 2, -917471, 0, 2, -917470, 0, 2, -917469, 0, 2, -917468, 0, 2, -917467, 0, 3, -786450, 0, 65537, -786449, 0, 65538, -786448, 0, 65538, -786447, 0, 65538, -786446, 0, 65538, -786445, 0, 65538, -786444, 0, 65538, -786443, 0, 65538, -786442, 0, 65538, -786441, 0, 65538, -786440, 0, 65538, -786439, 0, 65538, -786438, 0, 65538, -786437, 0, 65538, -786436, 0, 65538, -786435, 0, 65538, -786434, 0, 65538, -786433, 0, 65538, -851968, 0, 65538, -851967, 0, 65538, -851966, 0, 65538, -851965, 0, 65538, -851964, 0, 65538, -851963, 0, 65538, -851962, 0, 65538, -851961, 0, 65538, -851960, 0, 65538, -851959, 0, 65538, -851958, 0, 65538, -851957, 0, 65538, -851956, 0, 65538, -851955, 0, 65538, -851954, 0, 65538, -851953, 0, 65538, -851952, 0, 65538, -851951, 0, 65538, -851950, 0, 65538, -851949, 0, 65538, -851948, 0, 65538, -851947, 0, 65538, -851946, 0, 65538, -851945, 0, 65538, -851944, 0, 65538, -851943, 0, 65538, -851942, 0, 65538, -851941, 0, 65538, -851940, 0, 65538, -851939, 0, 65538, -851938, 0, 65538, -851937, 0, 65538, -851936, 0, 65538, -851935, 0, 65538, -851934, 0, 65538, -851933, 0, 65538, -851932, 0, 65538, -851931, 0, 65539, -720914, 0, 65537, -720913, 0, 65538, -720912, 0, 65538, -720911, 0, 65538, -720910, 0, 65538, -720909, 0, 65538, -720908, 0, 65538, -720907, 0, 65538, -720906, 0, 65538, -720905, 0, 65538, -720904, 0, 65538, -720903, 0, 65538, -720902, 0, 65538, -720901, 0, 65538, -720900, 0, 65538, -720899, 0, 65538, -720898, 0, 65538, -720897, 0, 65538, -786432, 0, 65538, -786431, 0, 65538, -786430, 0, 65538, -786429, 0, 65538, -786428, 0, 65538, -786427, 0, 65538, -786426, 0, 65538, -786425, 0, 65538, -786424, 0, 65538, -786423, 0, 65538, -786422, 0, 65538, -786421, 0, 65538, -786420, 0, 65538, -786419, 0, 65538, -786418, 0, 65538, -786417, 0, 65538, -786416, 0, 65538, -786415, 0, 65538, -786414, 0, 65538, -786413, 0, 65538, -786412, 0, 65538, -786411, 0, 65538, -786410, 0, 65538, -786409, 0, 65538, -786408, 0, 65538, -786407, 0, 65538, -786406, 0, 65538, -786405, 0, 65538, -786404, 0, 65538, -786403, 0, 65538, -786402, 0, 65538, -786401, 0, 65538, -786400, 0, 65538, -786399, 0, 65538, -786398, 0, 65538, -786397, 0, 65538, -786396, 0, 65538, -786395, 0, 65539, -655378, 0, 65537, -655377, 0, 65538, -655376, 0, 65538, -655375, 0, 65538, -655374, 0, 65538, -655373, 0, 65538, -655372, 0, 65538, -655371, 0, 65538, -655370, 0, 65538, -655369, 0, 65538, -655368, 0, 65538, -655367, 0, 65538, -655366, 0, 65538, -655365, 0, 65538, -655364, 0, 65538, -655363, 0, 65538, -655362, 0, 65538, -655361, 0, 65538, -720896, 0, 65538, -720895, 0, 65538, -720894, 0, 65538, -720893, 0, 65538, -720892, 0, 65538, -720891, 0, 65538, -720890, 0, 65538, -720889, 0, 65538, -720888, 0, 65538, -720887, 0, 65538, -720886, 0, 65538, -720885, 0, 65538, -720884, 0, 65538, -720883, 0, 65538, -720882, 0, 65538, -720881, 0, 65538, -720880, 0, 65538, -720879, 0, 65538, -720878, 0, 65538, -720877, 0, 65538, -720876, 0, 65538, -720875, 0, 65538, -720874, 0, 65538, -720873, 0, 65538, -720872, 0, 65538, -720871, 0, 65538, -720870, 0, 65538, -720869, 0, 65538, -720868, 0, 65538, -720867, 0, 65538, -720866, 0, 65538, -720865, 0, 65538, -720864, 0, 65538, -720863, 0, 65538, -720862, 0, 65538, -720861, 0, 65538, -720860, 0, 65538, -720859, 0, 65539, -589842, 0, 65537, -589841, 0, 65538, -589840, 0, 65538, -589839, 0, 65538, -589838, 0, 65538, -589837, 0, 65538, -589836, 0, 65538, -589835, 0, 65538, -589834, 0, 65538, -589833, 0, 65538, -589832, 0, 65538, -589831, 0, 65538, -589830, 0, 65538, -589829, 0, 65538, -589828, 0, 65538, -589827, 0, 65538, -589826, 0, 65538, -589825, 0, 65538, -655360, 0, 65538, -655359, 0, 65538, -655358, 0, 65538, -655357, 0, 65538, -655356, 0, 65538, -655355, 0, 65538, -655354, 0, 65538, -655353, 0, 65538, -655352, 0, 65538, -655351, 0, 65538, -655350, 0, 65538, -655349, 0, 65538, -655348, 0, 65538, -655347, 0, 65538, -655346, 0, 65538, -655345, 0, 65538, -655344, 0, 65538, -655343, 0, 65538, -655342, 0, 65538, -655341, 0, 65538, -655340, 0, 65538, -655339, 0, 65538, -655338, 0, 65538, -655337, 0, 65538, -655336, 0, 65538, -655335, 0, 65538, -655334, 0, 65538, -655333, 0, 65538, -655332, 0, 65538, -655331, 0, 65538, -655330, 0, 65538, -655329, 0Line truncated
|
||||
|
||||
[node name="Wall" type="TileMap" parent="."]
|
||||
tile_set = ExtResource( 15 )
|
||||
cell_size = Vector2( 16, 16 )
|
||||
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
|
||||
format = 1
|
||||
tile_data = PoolIntArray( -524290, 0, 5, -524289, 0, 196610, -589824, 0, 196610, -589823, 0, 196610, -589822, 0, 196610, -589821, 0, 196610, -589820, 0, 196610, -589819, 0, 8, -458754, 0, 65540, -524283, 0, 65540, -393218, 0, 65540, -458747, 0, 65540, -327682, 0, 65540, -393211, 0, 65540, -262146, 0, 65540, -327675, 0, 65540, -196610, 0, 196613, -196609, 0, 8, -262140, 0, 5, -262139, 0, 196616, -131073, 0, 65540, -196604, 0, 65540, -65537, 0, 65540, -131068, 0, 65540, -131049, 0, 5, -131048, 0, 196610, -131047, 0, 196610, -131046, 0, 196610, -131045, 0, 196610, -131044, 0, 8, -1, 0, 65540, -65532, 0, 196613, -65531, 0, 196610, -65530, 0, 196610, -65529, 0, 196610, -65528, 0, 196610, -65527, 0, 196610, -65526, 0, 196610, -65525, 0, 196610, -65524, 0, 196610, -65523, 0, 196610, -65522, 0, 196610, -65521, 0, 196610, -65520, 0, 196610, -65519, 0, 196610, -65518, 0, 196610, -65517, 0, 196610, -65516, 0, 196610, -65515, 0, 196610, -65514, 0, 196610, -65513, 0, 196616, -65508, 0, 65540, 65535, 0, 65540, 28, 0, 65540, 131071, 0, 65540, 65564, 0, 65540, 196607, 0, 65540, 131100, 0, 65540, 262143, 0, 65540, 196611, 0, 196609, 196612, 0, 196610, 196613, 0, 196610, 196614, 0, 196611, 196618, 0, 196609, 196619, 0, 196610, 196620, 0, 196610, 196621, 0, 196611, 196625, 0, 4, 196636, 0, 65540, 327679, 0, 65540, 262161, 0, 65540, 262164, 0, 5, 262165, 0, 196610, 262166, 0, 196610, 262167, 0, 8, 262172, 0, 65540, 393215, 0, 65540, 327697, 0, 65540, 327700, 0, 65540, 327703, 0, 196613, 327704, 0, 196610, 327705, 0, 196610, 327706, 0, 196610, 327707, 0, 196610, 327708, 0, 196616, 458743, 0, 5, 458744, 0, 196610, 458745, 0, 196610, 458746, 0, 196610, 458747, 0, 196610, 458748, 0, 8, 458751, 0, 65540, 393233, 0, 65540, 393236, 0, 65540, 524279, 0, 65540, 524284, 0, 196613, 524285, 0, 196610, 524286, 0, 196610, 524287, 0, 196616, 458756, 0, 4, 458760, 0, 4, 458764, 0, 4, 458769, 0, 65540, 458772, 0, 65540, 589815, 0, 65540, 524292, 0, 131076, 524296, 0, 131076, 524300, 0, 131076, 524305, 0, 131076, 524308, 0, 65540, 655351, 0, 65540, 589844, 0, 65540, 720887, 0, 65540, 655380, 0, 65540, 786423, 0, 65540, 720916, 0, 65540, 851959, 0, 65540, 851964, 0, 5, 851965, 0, 196610, 851966, 0, 196610, 851967, 0, 196610, 786432, 0, 196610, 786433, 0, 196610, 786434, 0, 196610, 786435, 0, 196610, 786436, 0, 196610, 786437, 0, 196610, 786438, 0, 196610, 786439, 0, 196610, 786440, 0, 196610, 786441, 0, 196610, 786442, 0, 196610, 786443, 0, 196610, 786444, 0, 196610, 786445, 0, 196610, 786446, 0, 196610, 786447, 0, 8, 786452, 0, 65540, 917495, 0, 196613, 917496, 0, 196610, 917497, 0, 196610, 917498, 0, 196610, 917499, 0, 196610, 917500, 0, 196616, 851983, 0, 65540, 851988, 0, 65540, 917519, 0, 65540, 917524, 0, 65540, 983054, 0, 5, 983055, 0, 196616, 983060, 0, 196613, 983061, 0, 8, 1048590, 0, 65540, 1048597, 0, 65540, 1114126, 0, 65540, 1114133, 0, 65540, 1179662, 0, 65540, 1179669, 0, 65540, 1245198, 0, 65540, 1245205, 0, 65540, 1310734, 0, 196613, 1310735, 0, 196610, 1310736, 0, 196610, 1310737, 0, 196610, 1310738, 0, 196610, 1310739, 0, 196610, 1310740, 0, 196610, 1310741, 0, 196616 )
|
||||
tile_data = PoolIntArray( -2359292, 0, 5, -2359291, 0, 196610, -2359290, 0, 196610, -2359289, 0, 196610, -2359288, 0, 196610, -2359287, 0, 196610, -2359286, 0, 196610, -2359285, 0, 196610, -2359284, 0, 196610, -2359283, 0, 196610, -2359282, 0, 196610, -2359281, 0, 196610, -2359280, 0, 196610, -2359279, 0, 196610, -2359278, 0, 196610, -2359277, 0, 196610, -2359276, 0, 8, -2293756, 0, 65540, -2293740, 0, 65540, -2228220, 0, 65540, -2228204, 0, 65540, -2162684, 0, 65540, -2162668, 0, 65540, -2097148, 0, 65540, -2097132, 0, 65540, -2031612, 0, 65540, -2031596, 0, 65540, -1966076, 0, 65540, -1966060, 0, 65540, -1900540, 0, 65540, -1900524, 0, 65540, -1835004, 0, 65540, -1834988, 0, 65540, -1769468, 0, 65540, -1769452, 0, 65540, -1703932, 0, 65540, -1703916, 0, 65540, -1638396, 0, 196613, -1638395, 0, 196610, -1638394, 0, 196610, -1638393, 0, 196610, -1638392, 0, 196610, -1638391, 0, 196610, -1638390, 0, 8, -1638386, 0, 5, -1638385, 0, 196610, -1638384, 0, 196610, -1638383, 0, 196610, -1638382, 0, 196610, -1638381, 0, 196610, -1638380, 0, 196616, -1572854, 0, 65540, -1572850, 0, 65540, -1507318, 0, 65540, -1507314, 0, 65540, -1441782, 0, 65540, -1441778, 0, 65540, -1376246, 0, 65540, -1376242, 0, 65540, -1310710, 0, 65540, -1310706, 0, 65540, -1245174, 0, 65540, -1245170, 0, 65540, -1179638, 0, 65540, -1179634, 0, 65540, -1114102, 0, 262149, -1114101, 0, 196610, -1114100, 0, 196610, -1114099, 0, 196610, -1114098, 0, 262152, -1048566, 0, 65540, -1048562, 0, 65540, -983030, 0, 65540, -983026, 0, 65540, -917494, 0, 65540, -917490, 0, 65540, -851958, 0, 65540, -851954, 0, 65540, -786422, 0, 65540, -786418, 0, 65540, -720886, 0, 65540, -720882, 0, 65540, -655350, 0, 65540, -655346, 0, 65540, -524290, 0, 5, -524289, 0, 196610, -589824, 0, 196610, -589823, 0, 196610, -589822, 0, 196610, -589821, 0, 196610, -589820, 0, 196610, -589819, 0, 8, -589814, 0, 65540, -589810, 0, 65540, -458754, 0, 65540, -524283, 0, 65540, -524278, 0, 65540, -524274, 0, 65540, -393218, 0, 65540, -458747, 0, 65540, -458742, 0, 65540, -458738, 0, 65540, -327682, 0, 65540, -393211, 0, 65540, -393206, 0, 65540, -393202, 0, 65540, -262146, 0, 65540, -327675, 0, 65540, -327670, 0, 65540, -327666, 0, 65540, -196610, 0, 196613, -196609, 0, 8, -262140, 0, 5, -262139, 0, 196616, -262134, 0, 65540, -262130, 0, 65540, -131073, 0, 65540, -196604, 0, 65540, -196598, 0, 65540, -196594, 0, 65540, -65537, 0, 65540, -131068, 0, 65540, -131062, 0, 65540, -131058, 0, 65540, -131049, 0, 5, -131048, 0, 196610, -131047, 0, 196610, -131046, 0, 196610, -131045, 0, 196610, -131044, 0, 8, -1, 0, 65540, -65532, 0, 196613, -65531, 0, 196610, -65530, 0, 196610, -65529, 0, 196610, -65528, 0, 196610, -65527, 0, 196610, -65526, 0, 196616, -65522, 0, 196613, -65521, 0, 196610, -65520, 0, 196610, -65519, 0, 196610, -65518, 0, 196610, -65517, 0, 196610, -65516, 0, 196610, -65515, 0, 196610, -65514, 0, 196610, -65513, 0, 196616, -65508, 0, 65540, 65535, 0, 65540, 28, 0, 65540, 131071, 0, 65540, 65564, 0, 65540, 196607, 0, 65540, 131100, 0, 65540, 262143, 0, 65540, 196611, 0, 196609, 196612, 0, 196610, 196613, 0, 196610, 196614, 0, 196611, 196618, 0, 196609, 196619, 0, 196610, 196620, 0, 196610, 196621, 0, 196611, 196625, 0, 4, 196636, 0, 65540, 327679, 0, 65540, 262161, 0, 65540, 262164, 0, 5, 262165, 0, 196610, 262166, 0, 196610, 262167, 0, 8, 262172, 0, 65540, 393215, 0, 65540, 327697, 0, 65540, 327700, 0, 65540, 327703, 0, 196613, 327704, 0, 196610, 327705, 0, 196610, 327706, 0, 196610, 327707, 0, 196610, 327708, 0, 196616, 458743, 0, 5, 458744, 0, 196610, 458745, 0, 196610, 458746, 0, 196610, 458747, 0, 196610, 458748, 0, 8, 458751, 0, 65540, 393233, 0, 65540, 393236, 0, 65540, 524279, 0, 65540, 524284, 0, 196613, 524285, 0, 196610, 524286, 0, 196610, 524287, 0, 196616, 458756, 0, 4, 458760, 0, 4, 458764, 0, 4, 458769, 0, 65540, 458772, 0, 65540, 589815, 0, 65540, 524292, 0, 131076, 524296, 0, 131076, 524300, 0, 131076, 524305, 0, 131076, 524308, 0, 65540, 655351, 0, 65540, 589844, 0, 65540, 720887, 0, 65540, 655380, 0, 65540, 786423, 0, 65540, 720916, 0, 65540, 851959, 0, 65540, 851964, 0, 5, 851965, 0, 196610, 851966, 0, 196610, 851967, 0, 196610, 786432, 0, 196610, 786433, 0, 196610, 786434, 0, 196610, 786435, 0, 196610, 786436, 0, 196610, 786437, 0, 196610, 786438, 0, 196610, 786439, 0, 196610, 786440, 0, 196610, 786441, 0, 196610, 786442, 0, 196610, 786443, 0, 196610, 786444, 0, 196610, 786445, 0, 196610, 786446, 0, 196610, 786447, 0, 8, 786452, 0, 65540, 917495, 0, 196613, 917496, 0, 196610, 917497, 0, 196610, 917498, 0, 196610, 917499, 0, 196610, 917500, 0, 196616, 851983, 0, 65540, 851988, 0, 65540, 917519, 0, 65540, 917524, 0, 65540, 983054, 0, 5, 983055, 0, 196616, 983060, 0, 196613, 983061, 0, 8, 1048590, 0, 65540, 1048597, 0, 65540, 1114126, 0, 65540, 1114133, 0, 65540, 1179662, 0, 65540, 1179669, 0, 65540, 1245198, 0, 65540, 1245205, 0, 65540, 1310734, 0, 196613, 1310735, 0, 196610, 1310736, 0, 196610, 1310737, 0, 196610, 1310738, 0, 196610, 1310739, 0, 196610, 1Line truncated
|
||||
|
||||
[node name="Fire3" type="AnimatedSprite" parent="."]
|
||||
position = Vector2( -607.628, -210.601 )
|
||||
frames = SubResource( 1 )
|
||||
frame = 9
|
||||
frame = 1
|
||||
playing = true
|
||||
offset = Vector2( 679.819, 333.222 )
|
||||
|
||||
[node name="Fire2" type="AnimatedSprite" parent="."]
|
||||
position = Vector2( -543.25, -212.563 )
|
||||
frames = SubResource( 1 )
|
||||
frame = 12
|
||||
frame = 4
|
||||
playing = true
|
||||
offset = Vector2( 679.819, 333.222 )
|
||||
|
||||
[node name="Fire1" type="AnimatedSprite" parent="."]
|
||||
position = Vector2( -479.806, -214.167 )
|
||||
frames = SubResource( 1 )
|
||||
frame = 5
|
||||
frame = 11
|
||||
playing = true
|
||||
offset = Vector2( 679.819, 333.222 )
|
||||
|
||||
@@ -124,7 +109,7 @@ tile_set = ExtResource( 15 )
|
||||
cell_size = Vector2( 16, 16 )
|
||||
cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 )
|
||||
format = 1
|
||||
tile_data = PoolIntArray( -458753, 8, 37, -524288, 8, 38, -524287, 8, 38, -524286, 8, 38, -524285, 8, 38, -524284, 8, 39, -393217, 8, 65573, -458752, 8, 65574, -458751, 8, 65574, -458750, 8, 65574, -458749, 8, 65574, -458748, 8, 65575, -327681, 8, 65573, -393216, 8, 65574, -393215, 8, 65574, -393214, 8, 65574, -393213, 8, 65574, -393212, 8, 65575, -262145, 8, 131109, -327680, 8, 65579, -327679, 8, 65574, -327678, 8, 65574, -327677, 8, 65578, -327676, 8, 131111, -262144, 8, 65573, -262143, 8, 65574, -262142, 8, 65574, -262141, 8, 65575, -196608, 8, 65573, -196607, 8, 65574, -196606, 8, 65574, -196605, 8, 65575, -131072, 8, 65573, -131071, 8, 65574, -131070, 8, 65574, -131069, 8, 65575, -65536, 8, 65573, -65535, 8, 65574, -65534, 8, 65574, -65533, 8, 65575, -65512, 8, 37, -65511, 8, 38, -65510, 8, 38, -65509, 8, 39, 0, 8, 65573, 1, 8, 65574, 2, 8, 65574, 3, 8, 131114, 4, 8, 38, 5, 8, 38, 6, 8, 38, 7, 8, 38, 8, 8, 38, 9, 8, 38, 10, 8, 38, 11, 8, 38, 12, 8, 38, 13, 8, 38, 14, 8, 38, 15, 8, 38, 16, 8, 38, 17, 8, 38, 18, 8, 38, 19, 8, 38, 20, 8, 38, 21, 8, 38, 22, 8, 38, 23, 8, 38, 24, 8, 131115, 25, 8, 65574, 26, 8, 65574, 27, 8, 65575, 65536, 8, 65573, 65537, 8, 65574, 65538, 8, 65574, 65539, 8, 65574, 65540, 8, 65574, 65541, 8, 65574, 65542, 8, 65574, 65543, 8, 65574, 65544, 8, 65574, 65545, 8, 65574, 65546, 8, 65574, 65547, 8, 65574, 65548, 8, 65574, 65549, 8, 65574, 65550, 8, 65574, 65551, 8, 65574, 65552, 8, 65574, 65553, 8, 65574, 65554, 8, 65574, 65555, 8, 65574, 65556, 8, 65574, 65557, 8, 65574, 65558, 8, 65574, 65559, 8, 65574, 65560, 8, 65574, 65561, 8, 65574, 65562, 8, 65574, 65563, 8, 65575, 131072, 8, 65573, 131073, 8, 65574, 131074, 8, 65578, 131075, 8, 131110, 131076, 8, 131110, 131077, 8, 131110, 131078, 8, 131110, 131079, 8, 65579, 131080, 8, 65574, 131081, 8, 65578, 131082, 8, 131110, 131083, 8, 131110, 131084, 8, 131110, 131085, 8, 131110, 131086, 8, 65579, 131087, 8, 65574, 131088, 8, 65578, 131089, 8, 131110, 131090, 8, 65579, 131091, 8, 65574, 131092, 8, 65574, 131093, 8, 65574, 131094, 8, 65574, 131095, 8, 65574, 131096, 8, 65574, 131097, 8, 65574, 131098, 8, 65574, 131099, 8, 65575, 196608, 8, 65573, 196609, 8, 65574, 196610, 8, 65575, 196615, 8, 65573, 196616, 8, 65574, 196617, 8, 65575, 196622, 8, 65573, 196623, 8, 65574, 196624, 8, 65575, 196626, 8, 65573, 196627, 8, 65578, 196628, 8, 131110, 196629, 8, 131110, 196630, 8, 131110, 196631, 8, 131110, 196632, 8, 65579, 196633, 8, 65574, 196634, 8, 65574, 196635, 8, 65575, 262144, 8, 65573, 262145, 8, 65574, 262146, 8, 131114, 262147, 8, 38, 262148, 8, 38, 262149, 8, 38, 262150, 8, 38, 262151, 8, 131115, 262152, 8, 65574, 262153, 8, 131114, 262154, 8, 38, 262155, 8, 38, 262156, 8, 38, 262157, 8, 38, 262158, 8, 131115, 262159, 8, 65574, 262160, 8, 65575, 262162, 8, 65573, 262163, 8, 65575, 262168, 8, 131109, 262169, 8, 131110, 262170, 8, 131110, 262171, 8, 131111, 327680, 8, 65573, 327681, 8, 65574, 327682, 8, 65574, 327683, 8, 65574, 327684, 8, 65574, 327685, 8, 65574, 327686, 8, 65574, 327687, 8, 65574, 327688, 8, 65574, 327689, 8, 65574, 327690, 8, 65574, 327691, 8, 65574, 327692, 8, 65574, 327693, 8, 65574, 327694, 8, 65574, 327695, 8, 65574, 327696, 8, 65575, 327698, 8, 65573, 327699, 8, 65575, 393216, 8, 65573, 393217, 8, 65574, 393218, 8, 65574, 393219, 8, 65578, 393220, 8, 131110, 393221, 8, 65579, 393222, 8, 65574, 393223, 8, 65578, 393224, 8, 131110, 393225, 8, 65579, 393226, 8, 65574, 393227, 8, 65578, 393228, 8, 131110, 393229, 8, 65579, 393230, 8, 65574, 393231, 8, 65574, 393232, 8, 65575, 393234, 8, 65573, 393235, 8, 65575, 524280, 8, 37, 524281, 8, 38, 524282, 8, 38, 524283, 8, 39, 458752, 8, 65573, 458753, 8, 65574, 458754, 8, 65574, 458755, 8, 65575, 458757, 8, 65573, 458758, 8, 65574, 458759, 8, 65575, 458761, 8, 65573, 458762, 8, 65574, 458763, 8, 65575, 458765, 8, 65573, 458766, 8, 65574, 458767, 8, 65574, 458768, 8, 65575, 458770, 8, 65573, 458771, 8, 65575, 589816, 8, 65573, 589817, 8, 65574, 589818, 8, 65574, 589819, 8, 131114, 589820, 8, 38, 589821, 8, 38, 589822, 8, 38, 589823, 8, 38, 524288, 8, 131115, 524289, 8, 65574, 524290, 8, 65574, 524291, 8, 65575, 524293, 8, 65573, 524294, 8, 65574, 524295, 8, 65575, 524297, 8, 65573, 524298, 8, 65574, 524299, 8, 65575, 524301, 8, 65573, 524302, 8, 65574, 524303, 8, 65574, 524304, 8, 65575, 524306, 8, 65573, 524307, 8, 65575, 655352, 8, 65573, 655353, 8, 65574, 655354, 8, 65574, 655355, 8, 65574, 655356, 8, 65574, 655357, 8, 65574, 655358, 8, 65574, 655359, 8, 65574, 589824, 8, 65574, 589825, 8, 65574, 589826, 8, 65574, 589827, 8, 131114, 589828, 8, 38, 589829, 8, 131115, 589830, 8, 65574, 589831, 8, 131114, 589832, 8, 38, 589833, 8, 131115, 589834, 8, 65574, 589835, 8, 131114, 589836, 8, 38, 589837, 8, 131115, 589838, 8, 65574, 589839, 8, 65574, 589840, 8, 131114, 589841, 8, 38, 589842, 8, 131115, 589843, 8, 65575, 720888, 8, 65573, 720889, 8, 65574, 720890, 8, 65574, 720891, 8, 65574, 720892, 8, 65574, 720893, 8, 65574, 720894, 8, 65574, 720895, 8, 65574, 655360, 8, 6557Line truncated
|
||||
tile_data = PoolIntArray( -2293755, 8, 37, -2293754, 8, 38, -2293753, 8, 38, -2293752, 8, 38, -2293751, 8, 38, -2293750, 8, 38, -2293749, 8, 38, -2293748, 8, 38, -2293747, 8, 38, -2293746, 8, 38, -2293745, 8, 38, -2293744, 8, 38, -2293743, 8, 38, -2293742, 8, 38, -2293741, 8, 39, -2228219, 8, 65573, -2228218, 8, 65574, -2228217, 8, 65574, -2228216, 8, 65574, -2228215, 8, 65574, -2228214, 8, 65574, -2228213, 8, 65574, -2228212, 8, 65574, -2228211, 8, 65574, -2228210, 8, 65574, -2228209, 8, 65574, -2228208, 8, 65574, -2228207, 8, 65574, -2228206, 8, 65574, -2228205, 8, 65575, -2162683, 8, 65573, -2162682, 8, 65574, -2162681, 8, 65574, -2162680, 8, 65574, -2162679, 8, 65574, -2162678, 8, 65574, -2162677, 8, 65574, -2162676, 8, 65574, -2162675, 8, 65574, -2162674, 8, 65574, -2162673, 8, 65574, -2162672, 8, 65574, -2162671, 8, 65574, -2162670, 8, 65574, -2162669, 8, 65575, -2097147, 8, 65573, -2097146, 8, 65574, -2097145, 8, 65574, -2097144, 8, 65574, -2097143, 8, 65574, -2097142, 8, 65574, -2097141, 8, 65574, -2097140, 8, 65574, -2097139, 8, 65574, -2097138, 8, 65574, -2097137, 8, 65574, -2097136, 8, 65574, -2097135, 8, 65574, -2097134, 8, 65574, -2097133, 8, 65575, -2031611, 8, 65573, -2031610, 8, 65574, -2031609, 8, 65574, -2031608, 8, 65574, -2031607, 8, 65574, -2031606, 8, 65574, -2031605, 8, 65574, -2031604, 8, 65574, -2031603, 8, 65574, -2031602, 8, 65574, -2031601, 8, 65574, -2031600, 8, 65574, -2031599, 8, 65574, -2031598, 8, 65574, -2031597, 8, 65575, -1966075, 8, 65573, -1966074, 8, 65574, -1966073, 8, 65574, -1966072, 8, 65574, -1966071, 8, 65574, -1966070, 8, 65574, -1966069, 8, 65574, -1966068, 8, 65574, -1966067, 8, 65574, -1966066, 8, 65574, -1966065, 8, 65574, -1966064, 8, 65574, -1966063, 8, 65574, -1966062, 8, 65574, -1966061, 8, 65575, -1900539, 8, 65573, -1900538, 8, 65574, -1900537, 8, 65574, -1900536, 8, 65574, -1900535, 8, 65574, -1900534, 8, 65574, -1900533, 8, 65574, -1900532, 8, 65574, -1900531, 8, 65574, -1900530, 8, 65574, -1900529, 8, 65574, -1900528, 8, 65574, -1900527, 8, 65574, -1900526, 8, 65574, -1900525, 8, 65575, -1835003, 8, 65573, -1835002, 8, 65574, -1835001, 8, 65574, -1835000, 8, 65574, -1834999, 8, 65574, -1834998, 8, 65574, -1834997, 8, 65574, -1834996, 8, 65574, -1834995, 8, 65574, -1834994, 8, 65574, -1834993, 8, 65574, -1834992, 8, 65574, -1834991, 8, 65574, -1834990, 8, 65574, -1834989, 8, 65575, -1769467, 8, 65573, -1769466, 8, 65574, -1769465, 8, 65574, -1769464, 8, 65574, -1769463, 8, 65574, -1769462, 8, 65574, -1769461, 8, 65574, -1769460, 8, 65574, -1769459, 8, 65574, -1769458, 8, 65574, -1769457, 8, 65574, -1769456, 8, 65574, -1769455, 8, 65574, -1769454, 8, 65574, -1769453, 8, 65575, -1703931, 8, 131109, -1703930, 8, 131110, -1703929, 8, 131110, -1703928, 8, 131110, -1703927, 8, 131110, -1703926, 8, 131110, -1703925, 8, 65579, -1703924, 8, 65574, -1703923, 8, 65578, -1703922, 8, 131110, -1703921, 8, 131110, -1703920, 8, 131110, -1703919, 8, 131110, -1703918, 8, 131110, -1703917, 8, 131111, -1638389, 8, 65573, -1638388, 8, 65574, -1638387, 8, 65575, -1572853, 8, 65573, -1572852, 8, 65574, -1572851, 8, 65575, -1507317, 8, 65573, -1507316, 8, 65574, -1507315, 8, 65575, -1441781, 8, 65573, -1441780, 8, 65574, -1441779, 8, 65575, -1376245, 8, 65573, -1376244, 8, 65574, -1376243, 8, 65575, -1310709, 8, 65573, -1310708, 8, 65574, -1310707, 8, 65575, -1245173, 8, 65573, -1245172, 8, 65574, -1245171, 8, 65575, -1179637, 8, 131109, -1179636, 8, 131110, -1179635, 8, 131111, -1048565, 8, 37, -1048564, 8, 38, -1048563, 8, 39, -983029, 8, 65573, -983028, 8, 65574, -983027, 8, 65575, -917493, 8, 65573, -917492, 8, 65574, -917491, 8, 65575, -851957, 8, 65573, -851956, 8, 65574, -851955, 8, 65575, -786421, 8, 65573, -786420, 8, 65574, -786419, 8, 65575, -720885, 8, 65573, -720884, 8, 65574, -720883, 8, 65575, -655349, 8, 65573, -655348, 8, 65574, -655347, 8, 65575, -589813, 8, 65573, -589812, 8, 65574, -589811, 8, 65575, -458753, 8, 37, -524288, 8, 38, -524287, 8, 38, -524286, 8, 38, -524285, 8, 38, -524284, 8, 39, -524277, 8, 65573, -524276, 8, 65574, -524275, 8, 65575, -393217, 8, 65573, -458752, 8, 65574, -458751, 8, 65574, -458750, 8, 65574, -458749, 8, 65574, -458748, 8, 65575, -458741, 8, 65573, -458740, 8, 65574, -458739, 8, 65575, -327681, 8, 65573, -393216, 8, 65574, -393215, 8, 65574, -393214, 8, 65574, -393213, 8, 65574, -393212, 8, 65575, -393205, 8, 65573, -393204, 8, 65574, -393203, 8, 65575, -262145, 8, 131109, -327680, 8, 65579, -327679, 8, 65574, -327678, 8, 65574, -327677, 8, 65578, -327676, 8, 131111, -327669, 8, 65573, -327668, 8, 65574, -327667, 8, 65575, -262144, 8, 65573, -262143, 8, 65574, -262142, 8, 65574, -262141, 8, 65575, -262133, 8, 65573, -262132, 8, 65574, -262131, 8, 65575, -196608, 8, 65573, -196607, 8, 65574, -196606, 8, 65574, -196605, 8, 65575, -196597, 8, 65573, -196596, 8, 65574, -196595, 8, 65575, -131072, 8, 65573, -131071, 8, 65574, -131070, 8, 65574, -131069, 8, 65575, -131061, 8, 65573, -131060, 8, 65574, -131059, 8, 65575, -65536Line truncated
|
||||
|
||||
[node name="Wall (Collision)" type="TileMap" parent="."]
|
||||
tile_set = SubResource( 9 )
|
||||
@@ -134,12 +119,13 @@ show_collision = true
|
||||
collision_layer = 2
|
||||
collision_mask = 2
|
||||
format = 1
|
||||
tile_data = PoolIntArray( -524290, 0, 0, -524289, 0, 0, -589824, 0, 0, -589823, 0, 0, -589822, 0, 0, -589821, 0, 0, -589820, 0, 0, -589819, 0, 0, -458754, 0, 0, -524283, 0, 0, -393218, 0, 0, -458747, 0, 0, -327682, 0, 0, -393211, 0, 0, -262146, 0, 0, -327675, 0, 0, -196610, 0, 0, -196609, 0, 0, -262140, 0, 0, -262139, 0, 0, -131073, 0, 0, -196604, 0, 0, -65537, 0, 0, -131068, 0, 0, -131049, 0, 0, -131048, 0, 0, -131047, 0, 0, -131046, 0, 0, -131045, 0, 0, -131044, 0, 0, -1, 0, 0, -65532, 0, 0, -65531, 0, 0, -65530, 0, 0, -65529, 0, 0, -65528, 0, 0, -65527, 0, 0, -65526, 0, 0, -65525, 0, 0, -65524, 0, 0, -65523, 0, 0, -65522, 0, 0, -65521, 0, 0, -65520, 0, 0, -65519, 0, 0, -65518, 0, 0, -65517, 0, 0, -65516, 0, 0, -65515, 0, 0, -65514, 0, 0, -65513, 0, 0, -65508, 0, 0, 65535, 0, 0, 28, 0, 0, 131071, 0, 0, 65564, 0, 0, 196607, 0, 0, 131100, 0, 0, 262143, 0, 0, 196611, 0, 0, 196612, 0, 0, 196613, 0, 0, 196614, 0, 0, 196618, 0, 0, 196619, 0, 0, 196620, 0, 0, 196621, 0, 0, 196625, 0, 0, 196636, 0, 0, 327679, 0, 0, 262161, 0, 0, 262164, 0, 0, 262165, 0, 0, 262166, 0, 0, 262167, 0, 0, 262172, 0, 0, 393215, 0, 0, 327697, 0, 0, 327700, 0, 0, 327703, 0, 0, 327704, 0, 0, 327705, 0, 0, 327706, 0, 0, 327707, 0, 0, 327708, 0, 0, 458743, 0, 0, 458744, 0, 0, 458745, 0, 0, 458746, 0, 0, 458747, 0, 0, 458748, 0, 0, 458751, 0, 0, 393233, 0, 0, 393236, 0, 0, 524279, 0, 0, 524284, 0, 0, 524285, 0, 0, 524286, 0, 0, 524287, 0, 0, 458756, 0, 0, 458760, 0, 0, 458764, 0, 0, 458769, 0, 0, 458772, 0, 0, 589815, 0, 0, 524292, 0, 0, 524296, 0, 0, 524300, 0, 0, 524305, 0, 0, 524308, 0, 0, 655351, 0, 0, 589844, 0, 0, 720887, 0, 0, 655380, 0, 0, 786423, 0, 0, 720916, 0, 0, 851959, 0, 0, 851964, 0, 0, 851965, 0, 0, 851966, 0, 0, 851967, 0, 0, 786432, 0, 0, 786433, 0, 0, 786434, 0, 0, 786435, 0, 0, 786436, 0, 0, 786437, 0, 0, 786438, 0, 0, 786439, 0, 0, 786440, 0, 0, 786441, 0, 0, 786442, 0, 0, 786443, 0, 0, 786444, 0, 0, 786445, 0, 0, 786446, 0, 0, 786447, 0, 0, 786452, 0, 0, 917495, 0, 0, 917496, 0, 0, 917497, 0, 0, 917498, 0, 0, 917499, 0, 0, 917500, 0, 0, 851983, 0, 0, 851988, 0, 0, 917519, 0, 0, 917524, 0, 0, 983054, 0, 0, 983055, 0, 0, 983060, 0, 0, 983061, 0, 0, 1048590, 0, 0, 1048597, 0, 0, 1114126, 0, 0, 1114133, 0, 0, 1179662, 0, 0, 1179669, 0, 0, 1245198, 0, 0, 1245205, 0, 0, 1310734, 0, 0, 1310735, 0, 0, 1310736, 0, 0, 1310737, 0, 0, 1310738, 0, 0, 1310739, 0, 0, 1310740, 0, 0, 1310741, 0, 0 )
|
||||
tile_data = PoolIntArray( -2359292, 0, 0, -2359291, 0, 0, -2359290, 0, 0, -2359289, 0, 0, -2359288, 0, 0, -2359287, 0, 0, -2359286, 0, 0, -2359285, 0, 0, -2359284, 0, 0, -2359283, 0, 0, -2359282, 0, 0, -2359281, 0, 0, -2359280, 0, 0, -2359279, 0, 0, -2359278, 0, 0, -2359277, 0, 0, -2359276, 0, 0, -2293756, 0, 0, -2293740, 0, 0, -2228220, 0, 0, -2228204, 0, 0, -2162684, 0, 0, -2162668, 0, 0, -2097148, 0, 0, -2097132, 0, 0, -2031612, 0, 0, -2031596, 0, 0, -1966076, 0, 0, -1966060, 0, 0, -1900540, 0, 0, -1900524, 0, 0, -1835004, 0, 0, -1834988, 0, 0, -1769468, 0, 0, -1769452, 0, 0, -1703932, 0, 0, -1703916, 0, 0, -1638396, 0, 0, -1638395, 0, 0, -1638394, 0, 0, -1638393, 0, 0, -1638392, 0, 0, -1638391, 0, 0, -1638390, 0, 0, -1638386, 0, 0, -1638385, 0, 0, -1638384, 0, 0, -1638383, 0, 0, -1638382, 0, 0, -1638381, 0, 0, -1638380, 0, 0, -1114101, 0, 0, -1114100, 0, 0, -1114099, 0, 0, -524290, 0, 0, -524289, 0, 0, -589824, 0, 0, -589823, 0, 0, -589822, 0, 0, -589821, 0, 0, -589820, 0, 0, -589819, 0, 0, -458754, 0, 0, -524283, 0, 0, -393218, 0, 0, -458747, 0, 0, -327682, 0, 0, -393211, 0, 0, -393206, 0, 0, -393205, 0, 0, -393204, 0, 0, -393203, 0, 0, -393202, 0, 0, -262146, 0, 0, -327675, 0, 0, -327670, 0, 0, -327666, 0, 0, -196610, 0, 0, -196609, 0, 0, -262140, 0, 0, -262139, 0, 0, -262134, 0, 0, -262130, 0, 0, -131073, 0, 0, -196604, 0, 0, -196598, 0, 0, -196594, 0, 0, -65537, 0, 0, -131068, 0, 0, -131062, 0, 0, -131058, 0, 0, -131049, 0, 0, -131048, 0, 0, -131047, 0, 0, -131046, 0, 0, -131045, 0, 0, -131044, 0, 0, -1, 0, 0, -65532, 0, 0, -65531, 0, 0, -65530, 0, 0, -65529, 0, 0, -65528, 0, 0, -65527, 0, 0, -65526, 0, 0, -65522, 0, 0, -65521, 0, 0, -65520, 0, 0, -65519, 0, 0, -65518, 0, 0, -65517, 0, 0, -65516, 0, 0, -65515, 0, 0, -65514, 0, 0, -65513, 0, 0, -65508, 0, 0, 65535, 0, 0, 28, 0, 0, 131071, 0, 0, 65564, 0, 0, 196607, 0, 0, 131100, 0, 0, 262143, 0, 0, 196611, 0, 0, 196612, 0, 0, 196613, 0, 0, 196614, 0, 0, 196618, 0, 0, 196619, 0, 0, 196620, 0, 0, 196621, 0, 0, 196625, 0, 0, 196636, 0, 0, 327679, 0, 0, 262161, 0, 0, 262164, 0, 0, 262165, 0, 0, 262166, 0, 0, 262167, 0, 0, 262172, 0, 0, 393215, 0, 0, 327697, 0, 0, 327700, 0, 0, 327703, 0, 0, 327704, 0, 0, 327705, 0, 0, 327706, 0, 0, 327707, 0, 0, 327708, 0, 0, 458743, 0, 0, 458744, 0, 0, 458745, 0, 0, 458746, 0, 0, 458747, 0, 0, 458748, 0, 0, 458751, 0, 0, 393233, 0, 0, 393236, 0, 0, 524279, 0, 0, 524284, 0, 0, 524285, 0, 0, 524286, 0, 0, 524287, 0, 0, 458756, 0, 0, 458760, 0, 0, 458764, 0, 0, 458769, 0, 0, 458772, 0, 0, 589815, 0, 0, 524292, 0, 0, 524296, 0, 0, 524300, 0, 0, 524305, 0, 0, 524308, 0, 0, 655351, 0, 0, 589844, 0, 0, 720887, 0, 0, 655380, 0, 0, 786423, 0, 0, 720916, 0, 0, 851959, 0, 0, 851964, 0, 0, 851965, 0, 0, 851966, 0, 0, 851967, 0, 0, 786432, 0, 0, 786433, 0, 0, 786434, 0, 0, 786435, 0, 0, 786436, 0, 0, 786437, 0, 0, 786438, 0, 0, 786439, 0, 0, 786440, 0, 0, 786441, 0, 0, 786442, 0, 0, 786443, 0, 0, 786444, 0, 0, 786445, 0, 0, 786446, 0, 0, 786447, 0, 0, 786452, 0, 0, 917495, 0, 0, 917496, 0, 0, 917497, 0, 0, 917498, 0, 0, 917499, 0, 0, 917500, 0, 0, 851983, 0, 0, 851988, 0, 0, 917519, 0, 0, 917524, 0, 0, 983054, 0, 0, 983055, 0, 0, 983060, 0, 0, 983061, 0, 0, 1048590, 0, 0, 1048597, 0, 0, 1114126, 0, 0, 1114133, 0, 0, 1179662, 0, 0, 1179669, 0, 0, 1245198, 0, 0, 1245205, 0, 0, 1310734, 0, 0, 1310735, 0, 0, 1310736, 0, 0, 1310737, 0, 0, 1310738, 0, 0, 1310739, 0, 0, 1310740, 0, 0, 1310741, 0, 0 )
|
||||
|
||||
[node name="YSort" type="YSort" parent="."]
|
||||
|
||||
[node name="Player" parent="YSort" instance=ExtResource( 21 )]
|
||||
position = Vector2( 158, 91 )
|
||||
z_index = 5
|
||||
collision_mask = 2
|
||||
|
||||
[node name="Camera2D" type="Camera2D" parent="YSort/Player"]
|
||||
@@ -149,54 +135,92 @@ current = true
|
||||
|
||||
[node name="Flaming Skull" parent="YSort/Enemies" instance=ExtResource( 24 )]
|
||||
position = Vector2( 25, 53 )
|
||||
z_index = 4
|
||||
|
||||
[node name="Flaming Skull2" parent="YSort/Enemies" instance=ExtResource( 24 )]
|
||||
position = Vector2( 29, 158 )
|
||||
z_index = 4
|
||||
|
||||
[node name="Flaming Skull3" parent="YSort/Enemies" instance=ExtResource( 24 )]
|
||||
position = Vector2( 281, 22 )
|
||||
z_index = 4
|
||||
|
||||
[node name="Flaming Skull4" parent="YSort/Enemies" instance=ExtResource( 24 )]
|
||||
position = Vector2( 242, 149 )
|
||||
z_index = 4
|
||||
|
||||
[node name="Flaming Skull5" parent="YSort/Enemies" instance=ExtResource( 24 )]
|
||||
position = Vector2( 165, 170 )
|
||||
z_index = 4
|
||||
|
||||
[node name="Flaming Skull6" parent="YSort/Enemies" instance=ExtResource( 24 )]
|
||||
position = Vector2( 121, 12 )
|
||||
z_index = 4
|
||||
|
||||
[node name="Hellhound" parent="YSort/Enemies" instance=ExtResource( 2 )]
|
||||
position = Vector2( -77, 157 )
|
||||
|
||||
[node name="Hellhound2" parent="YSort/Enemies" instance=ExtResource( 2 )]
|
||||
position = Vector2( 395, 33 )
|
||||
z_index = 4
|
||||
|
||||
[node name="Hellhound3" parent="YSort/Enemies" instance=ExtResource( 2 )]
|
||||
position = Vector2( 34, -81 )
|
||||
position = Vector2( 35, -79 )
|
||||
z_index = 4
|
||||
|
||||
[node name="Hellhound4" parent="YSort/Enemies" instance=ExtResource( 2 )]
|
||||
position = Vector2( 290, 273 )
|
||||
z_index = 4
|
||||
|
||||
[node name="Chest1" type="AnimatedSprite" parent="."]
|
||||
position = Vector2( 35.1075, -101.959 )
|
||||
scale = Vector2( 0.533564, 0.533564 )
|
||||
frames = SubResource( 21 )
|
||||
playing = true
|
||||
[node name="Items" type="YSort" parent="YSort"]
|
||||
|
||||
[node name="Chest2" type="AnimatedSprite" parent="."]
|
||||
position = Vector2( 421.5, 34.687 )
|
||||
scale = Vector2( 0.533564, 0.533564 )
|
||||
frames = SubResource( 21 )
|
||||
frame = 1
|
||||
playing = true
|
||||
[node name="TreasureChest" parent="YSort/Items" instance=ExtResource( 16 )]
|
||||
position = Vector2( 33, -101 )
|
||||
scale = Vector2( 0.35, 0.35 )
|
||||
z_index = 2
|
||||
|
||||
[node name="Chest3" type="AnimatedSprite" parent="."]
|
||||
position = Vector2( 289.9, 294.945 )
|
||||
scale = Vector2( 0.533564, 0.533564 )
|
||||
frames = SubResource( 21 )
|
||||
playing = true
|
||||
[node name="TreasureChest2" parent="YSort/Items" instance=ExtResource( 16 )]
|
||||
position = Vector2( -96, 158 )
|
||||
scale = Vector2( 0.35, 0.35 )
|
||||
z_index = 2
|
||||
|
||||
[node name="Chest4" type="AnimatedSprite" parent="."]
|
||||
position = Vector2( -99.4362, 161.242 )
|
||||
scale = Vector2( 0.533564, 0.533564 )
|
||||
frames = SubResource( 21 )
|
||||
frame = 1
|
||||
playing = true
|
||||
[node name="TreasureChest3" parent="YSort/Items" instance=ExtResource( 16 )]
|
||||
position = Vector2( 290, 295 )
|
||||
scale = Vector2( 0.35, 0.35 )
|
||||
z_index = 2
|
||||
|
||||
[node name="TreasureChest4" parent="YSort/Items" instance=ExtResource( 16 )]
|
||||
position = Vector2( 417, 34 )
|
||||
scale = Vector2( 0.35, 0.35 )
|
||||
z_index = 2
|
||||
|
||||
[node name="Door" parent="YSort/Items" instance=ExtResource( 5 )]
|
||||
position = Vector2( 200, -30 )
|
||||
scale = Vector2( 1.25, 1.25 )
|
||||
|
||||
[node name="HUD" parent="." instance=ExtResource( 23 )]
|
||||
|
||||
[node name="Pause Screen" parent="." instance=ExtResource( 22 )]
|
||||
|
||||
[node name="DoorCollision" type="StaticBody2D" parent="."]
|
||||
collision_layer = 2
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="DoorCollision"]
|
||||
position = Vector2( 201, -10 )
|
||||
shape = SubResource( 11 )
|
||||
|
||||
[node name="NextArea" type="Area2D" parent="."]
|
||||
collision_layer = 2
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="NextArea"]
|
||||
position = Vector2( 200, -56 )
|
||||
shape = SubResource( 12 )
|
||||
|
||||
[node name="DemonBoss" parent="." instance=ExtResource( 26 )]
|
||||
position = Vector2( 194, -550 )
|
||||
|
||||
[connection signal="gem_collected" from="YSort/Items/TreasureChest" to="." method="_on_TreasureChest_gem_collected"]
|
||||
[connection signal="gem_collected" from="YSort/Items/TreasureChest2" to="." method="_on_TreasureChest_gem_collected"]
|
||||
[connection signal="gem_collected" from="YSort/Items/TreasureChest3" to="." method="_on_TreasureChest_gem_collected"]
|
||||
[connection signal="gem_collected" from="YSort/Items/TreasureChest4" to="." method="_on_TreasureChest_gem_collected"]
|
||||
[connection signal="area_entered" from="NextArea" to="." method="_on_NextArea_area_entered"]
|
||||
@@ -0,0 +1,13 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://Sprites/Assets/DoorOpen.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Sprites/Assets/DoorClosed.png" type="Texture" id=2]
|
||||
|
||||
[node name="Door" type="Sprite"]
|
||||
|
||||
[node name="doorClosed" type="Sprite" parent="."]
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="doorOpened" type="Sprite" parent="."]
|
||||
visible = false
|
||||
texture = ExtResource( 1 )
|
||||
@@ -0,0 +1,24 @@
|
||||
extends Node2D
|
||||
|
||||
|
||||
# Declare member variables here. Examples:
|
||||
# var a: int = 2
|
||||
# var b: String = "text"
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
#func _process(delta: float) -> void:
|
||||
# pass
|
||||
|
||||
|
||||
func _on_AnimationPlayer_animation_finished(anim_name: String) -> void:
|
||||
$GemSprite.visible = false
|
||||
|
||||
|
||||
func _on_AnimationPlayer_animation_started(anim_name: String) -> void:
|
||||
$GemSprite.visible = true
|
||||
@@ -0,0 +1,34 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
|
||||
[ext_resource path="res://Sprites/Assets/resources_basic.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Levels/Objects/Gem.gd" type="Script" id=2]
|
||||
|
||||
[sub_resource type="Animation" id=3]
|
||||
resource_name = "rise"
|
||||
length = 1.2
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("GemSprite:position")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 0.3, 0.8, 1.2 ),
|
||||
"transitions": PoolRealArray( 1, 1, 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Vector2( 0, 0 ), Vector2( 0, -10 ), Vector2( 0, -18 ), Vector2( 0, -20 ) ]
|
||||
}
|
||||
|
||||
[node name="Gem" type="Node2D"]
|
||||
script = ExtResource( 2 )
|
||||
|
||||
[node name="GemSprite" type="Sprite" parent="."]
|
||||
position = Vector2( 0, -20 )
|
||||
texture = ExtResource( 1 )
|
||||
region_enabled = true
|
||||
region_rect = Rect2( 2, 50, 20, 20 )
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
anims/rise = SubResource( 3 )
|
||||
|
||||
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]
|
||||
@@ -0,0 +1,33 @@
|
||||
extends Sprite
|
||||
|
||||
var is_player_inside: bool = false
|
||||
var is_opened: bool = false
|
||||
var has_gem: bool = true
|
||||
|
||||
signal gem_collected
|
||||
|
||||
# Declare member variables here. Examples:
|
||||
# var a: int = 2
|
||||
# var b: String = "text"
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
#func _process(delta: float) -> void:
|
||||
# pass
|
||||
|
||||
|
||||
func _on_Player_Detector_area_entered(area: Area2D) -> void:
|
||||
if area.get_parent().name == 'Player':
|
||||
if is_opened == false:
|
||||
$chestClosed.visible = false
|
||||
$chestOpened.visible = true
|
||||
$Gem.visible = true
|
||||
$Gem/AnimationPlayer.play("rise")
|
||||
is_opened = true
|
||||
has_gem = false
|
||||
emit_signal("gem_collected")
|
||||
@@ -0,0 +1,36 @@
|
||||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://Sprites/Assets/treasureChestOpen.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Sprites/Assets/treasureChest.png" type="Texture" id=2]
|
||||
[ext_resource path="res://Levels/Objects/Gem.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://Levels/Objects/TreasureChest.gd" type="Script" id=4]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 21.3333, 17.3333 )
|
||||
|
||||
[node name="TreasureChest" type="Sprite" groups=["enemies"]]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="chestOpened" type="Sprite" parent="."]
|
||||
visible = false
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="chestClosed" type="Sprite" parent="."]
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="Gem" parent="." instance=ExtResource( 3 )]
|
||||
visible = false
|
||||
|
||||
[node name="Player Detector" type="Area2D" parent="."]
|
||||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
input_pickable = false
|
||||
monitorable = false
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Player Detector"]
|
||||
visible = false
|
||||
position = Vector2( 1, -1 )
|
||||
scale = Vector2( 1.5, 1.5 )
|
||||
shape = SubResource( 1 )
|
||||
|
||||
[connection signal="area_entered" from="Player Detector" to="." method="_on_Player_Detector_area_entered"]
|
||||
Reference in new issue
Block a user