Browse Source

Made a very basic level design

master
Felipe M 5 months ago
parent
commit
c0b12fd00e
Signed by: fmartingr GPG Key ID: 716BC147715E716F
  1. 23
      metroidvania/Levels/Level_00.tscn
  2. 229
      metroidvania/Levels/Level_01.tscn
  3. 2
      metroidvania/Scenes/World/World.tscn

23
metroidvania/Levels/Level_00.tscn

File diff suppressed because one or more lines are too long

229
metroidvania/Levels/Level_01.tscn

@ -1,30 +1,235 @@
[gd_scene load_steps=7 format=2]
[gd_scene load_steps=16 format=2]
[ext_resource path="res://Levels/Door.tscn" type="PackedScene" id=1]
[ext_resource path="res://Levels/Level.tscn" type="PackedScene" id=2]
[ext_resource path="res://Levels/DoorConnections/00_link_01.tres" type="Resource" id=3]
[ext_resource path="res://Levels/DoorConnections/01_99.tres" type="Resource" id=4]
[ext_resource path="res://Scenes/Player/MissilesPowerup.tscn" type="PackedScene" id=5]
[ext_resource path="res://Scenes/Objects/SaveStation.tscn" type="PackedScene" id=6]
[ext_resource path="res://Scenes/Enemies/CrawlingEnemy.tscn" type="PackedScene" id=6]
[ext_resource path="res://Scenes/World/MovingPlatform.tscn" type="PackedScene" id=7]
[ext_resource path="res://Scenes/Enemies/PlantEnemy.tscn" type="PackedScene" id=8]
[ext_resource path="res://Scenes/Objects/Brick.tscn" type="PackedScene" id=9]
[ext_resource path="res://Scenes/Enemies/FlyingEnemy.tscn" type="PackedScene" id=10]
[ext_resource path="res://Scenes/Enemies/WalkingEnemy.tscn" type="PackedScene" id=11]
[ext_resource path="res://Scenes/Objects/Spikes.tscn" type="PackedScene" id=12]
[ext_resource path="res://Scenes/Objects/SaveStation.tscn" type="PackedScene" id=13]
[sub_resource type="Animation" id=1]
resource_name = "Loop"
length = 4.0
loop = true
step = 1.0
tracks/0/type = "value"
tracks/0/path = NodePath("Path2D/PathFollow2D:unit_offset")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( -2, -2 ),
"update": 0,
"values": [ 0.0, 1.0 ]
}
[sub_resource type="Animation" id=2]
resource_name = "Loop"
length = 4.0
loop = true
step = 1.0
tracks/0/type = "value"
tracks/0/path = NodePath("Path2D/PathFollow2D:unit_offset")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 2 ),
"transitions": PoolRealArray( -2, -2 ),
"update": 0,
"values": [ 0.0, 1.0 ]
}
[node name="Level_01" instance=ExtResource( 2 )]
[node name="TileMap" parent="." index="0"]
tile_data = PoolIntArray( 393216, 0, 4, 393217, 0, 196609, 393218, 0, 196609, 393219, 0, 196609, 393220, 0, 196609, 393221, 0, 7, 458752, 0, 131075, 458757, 0, 131075, 655360, 0, 196608, 655361, 0, 196609, 655362, 0, 196609, 655363, 0, 196609, 655364, 0, 196609, 655365, 0, 196610 )
[node name="Brick2" parent="." index="0" instance=ExtResource( 9 )]
position = Vector2( 784, 256 )
[node name="Brick3" parent="." index="1" instance=ExtResource( 9 )]
position = Vector2( 800, 256 )
[node name="MissilesPowerup" parent="." index="2" instance=ExtResource( 5 )]
position = Vector2( 1065, -56 )
[node name="MissilesPowerup2" parent="." index="3" instance=ExtResource( 5 )]
position = Vector2( 1080, -87 )
[node name="MissilesPowerup3" parent="." index="4" instance=ExtResource( 5 )]
position = Vector2( 1057, -56 )
[node name="TileMap" parent="." index="5"]
tile_data = PoolIntArray( -655299, 0, 4, -655298, 0, 196609, -655297, 0, 196609, -655296, 0, 196609, -655295, 0, 196609, -655294, 0, 196609, -655293, 0, 7, -589764, 0, 4, -589763, 0, 196615, -589757, 0, 65539, -524229, 0, 4, -524228, 0, 196615, -524221, 0, 196612, -524220, 0, 7, -458694, 0, 4, -458693, 0, 196615, -458684, 0, 65539, -393187, 0, 0, -393186, 0, 5, -393185, 0, 196609, -393184, 0, 196609, -393183, 0, 7, -393158, 0, 65539, -393148, 0, 65539, -327653, 0, 4, -327652, 0, 196609, -327651, 0, 196614, -327650, 0, 131074, -327647, 0, 196612, -327646, 0, 196609, -327645, 0, 196609, -327644, 0, 196609, -327643, 0, 6, -327642, 0, 2, -327631, 0, 4, -327630, 0, 196609, -327629, 0, 196609, -327628, 0, 196609, -327627, 0, 196609, -327626, 0, 196609, -327625, 0, 196609, -327624, 0, 196609, -327623, 0, 196609, -327622, 0, 196615, -327613, 0, 4, -327612, 0, 196615, -262118, 0, 4, -262117, 0, 196615, -262107, 0, 131072, -262106, 0, 196613, -262105, 0, 196609, -262104, 0, 196609, -262103, 0, 6, -262102, 0, 2, -262097, 0, 4, -262096, 0, 196609, -262095, 0, 196615, -262077, 0, 65539, -196584, 0, 4, -196583, 0, 196609, -196582, 0, 196615, -196567, 0, 131072, -196566, 0, 196613, -196565, 0, 196609, -196564, 0, 196609, -196563, 0, 196609, -196562, 0, 196609, -196561, 0, 196615, -196543, 0, 4, -196542, 0, 196609, -196541, 0, 196615, -131057, 0, 0, -131056, 0, 1, -131055, 0, 2, -131050, 0, 4, -131049, 0, 196609, -131048, 0, 196615, -131009, 0, 4, -131008, 0, 196609, -131007, 0, 196615, -65522, 0, 4, -65521, 0, 196614, -65520, 0, 131073, -65519, 0, 196613, -65518, 0, 196609, -65517, 0, 196609, -65516, 0, 196609, -65515, 0, 196609, -65514, 0, 196615, -65476, 0, 4, -65475, 0, 196609, -65474, 0, 196609, -65473, 0, 196615, 13, 0, 4, 14, 0, 196615, 58, 0, 4, 59, 0, 196609, 60, 0, 196615, 65546, 0, 4, 65547, 0, 196609, 65548, 0, 196609, 65549, 0, 196615, 65592, 0, 4, 65593, 0, 196609, 65594, 0, 196615, 131078, 0, 4, 131079, 0, 196609, 131080, 0, 196609, 131081, 0, 196609, 131082, 0, 196615, 131126, 0, 4, 131127, 0, 196609, 131128, 0, 196615, 196613, 0, 4, 196614, 0, 196615, 196648, 0, 0, 196649, 0, 1, 196650, 0, 1, 196651, 0, 1, 196652, 0, 1, 196653, 0, 5, 196654, 0, 196609, 196655, 0, 196609, 196656, 0, 196609, 196657, 0, 196609, 196658, 0, 196609, 196659, 0, 196609, 196660, 0, 196609, 196661, 0, 196609, 196662, 0, 196615, 262148, 0, 4, 262149, 0, 196615, 262184, 0, 65536, 262185, 0, 65537, 262186, 0, 65537, 262187, 0, 65537, 262188, 0, 65537, 262189, 0, 65538, 327682, 0, 4, 327683, 0, 196609, 327684, 0, 196615, 327719, 0, 196608, 327720, 0, 196614, 327721, 0, 65542, 327722, 0, 65537, 327723, 0, 65537, 327724, 0, 65537, 327725, 0, 131077, 327726, 0, 1, 327727, 0, 2, 393217, 0, 4, 393218, 0, 196615, 393257, 0, 131072, 393258, 0, 65542, 393259, 0, 65537, 393260, 0, 65537, 393261, 0, 65537, 393262, 0, 65537, 393263, 0, 65538, 458752, 0, 196608, 458753, 0, 196615, 458794, 0, 65536, 458795, 0, 65537, 458796, 0, 65537, 458797, 0, 65537, 458798, 0, 65537, 458799, 0, 131077, 458800, 0, 2, 524330, 0, 131072, 524331, 0, 131073, 524332, 0, 131073, 524333, 0, 131073, 524334, 0, 131073, 524335, 0, 65542, 524336, 0, 65538, 589871, 0, 131072, 589872, 0, 196613, 589873, 0, 7, 655360, 0, 3, 655409, 0, 65539, 720896, 0, 196612, 720897, 0, 196609, 720898, 0, 196609, 720899, 0, 7, 720945, 0, 196612, 720946, 0, 7, 786435, 0, 196612, 786436, 0, 196609, 786437, 0, 196609, 786438, 0, 196609, 786439, 0, 6, 786440, 0, 1, 786441, 0, 1, 786442, 0, 2, 786456, 0, 3, 786460, 0, 0, 786461, 0, 2, 786482, 0, 196612, 786483, 0, 7, 851975, 0, 131072, 851976, 0, 131073, 851977, 0, 131073, 851978, 0, 9, 851979, 0, 1, 851980, 0, 1, 851981, 0, 2, 851992, 0, 131076, 851993, 0, 5, 851994, 0, 196609, 851995, 0, 196609, 851996, 0, 196614, 851997, 0, 196613, 851998, 0, 196609, 851999, 0, 196609, 852000, 0, 7, 852019, 0, 65539, 917514, 0, 131072, 917515, 0, 131073, 917516, 0, 131073, 917517, 0, 196613, 917518, 0, 196609, 917519, 0, 196609, 917520, 0, 196609, 917521, 0, 196609, 917522, 0, 196609, 917523, 0, 196609, 917524, 0, 196609, 917525, 0, 196609, 917526, 0, 196609, 917527, 0, 196609, 917528, 0, 196614, 917529, 0, 131074, 917536, 0, 196612, 917537, 0, 196609, 917538, 0, 196609, 917539, 0, 7, 917555, 0, 65539, 983075, 0, 196612, 983076, 0, 7, 983083, 0, 0, 983084, 0, 2, 983091, 0, 131076, 983092, 0, 2, 1048612, 0, 131076, 1048613, 0, 2, 1048616, 0, 4, 1048617, 0, 196609, 1048618, 0, 196609, 1048619, 0, 196614, 1048620, 0, 196613, 1048621, 0, 196609, 1048622, 0, 196609, 1048623, 0, 6, 1048624, 0, 2, 1048627, 0, 131072, 1048628, 0, 196613, 1048629, 0, 196609, 1048630, 0, 196609, 1048631, 0, 196610, 1114148, 0, 131072, 1114149, 0, 196613, 1114150, 0, 196609, 1114151, 0, 6, 1114152, 0, 131079, 1114159, 0, 131072, 1114160, 0, 65543, 1179687, 0, 131072, 1179688, 0, 131074, 1179696, 0, 65539, 1245232, 0, 196612, 1245233, 0, 196609, 1245234, 0, 196609, 1245235, 0, 196609, 1245236, 0, 196609, 1245237, 0, 196609, 1245238, 0, 196609, 1245239, 0, 196610 )
[node name="OutDoor" parent="." index="1" instance=ExtResource( 1 )]
position = Vector2( 88, 144 )
[node name="OutDoor" parent="." index="6" instance=ExtResource( 1 )]
position = Vector2( 888, 288 )
connection = ExtResource( 4 )
new_level_path = "res://Levels/Level_99.tscn"
[node name="SaveStation" parent="OutDoor" index="2" instance=ExtResource( 6 )]
position = Vector2( -26, 16 )
[node name="InDoor" parent="." index="2" instance=ExtResource( 1 )]
[node name="InDoor" parent="." index="7" instance=ExtResource( 1 )]
position = Vector2( 8, 144 )
scale = Vector2( -1, 1 )
connection = ExtResource( 3 )
new_level_path = "res://Levels/Level_00.tscn"
[node name="MissilesPowerup" parent="." index="3" instance=ExtResource( 5 )]
position = Vector2( 25, 146 )
[node name="MovingPlatform" parent="." index="8" instance=ExtResource( 7 )]
position = Vector2( 344, 172 )
[node name="KinematicBody2D" parent="MovingPlatform" index="0"]
position = Vector2( 1, 0 )
[node name="Path2D" parent="MovingPlatform" index="1"]
position = Vector2( 1, 0 )
[node name="MovingPlatform2" parent="." index="9" instance=ExtResource( 7 )]
position = Vector2( 441, 120 )
[node name="KinematicBody2D" parent="MovingPlatform2" index="0"]
position = Vector2( 1, 0 )
[node name="Path2D" parent="MovingPlatform2" index="1"]
position = Vector2( 1, 0 )
[node name="AnimationPlayer" parent="MovingPlatform2" index="2"]
anims/Loop = SubResource( 1 )
[node name="MovingPlatform3" parent="." index="10" instance=ExtResource( 7 )]
position = Vector2( 563, 75 )
[node name="KinematicBody2D" parent="MovingPlatform3" index="0"]
position = Vector2( 1, 0 )
[node name="Path2D" parent="MovingPlatform3" index="1"]
position = Vector2( 1, 0 )
[node name="AnimationPlayer" parent="MovingPlatform3" index="2"]
anims/Loop = SubResource( 2 )
[node name="PlantEnemy" parent="." index="11" instance=ExtResource( 8 )]
position = Vector2( 168, 49 )
rotation = 3.14159
[node name="CrawlingEnemy" parent="." index="12" instance=ExtResource( 6 )]
position = Vector2( 165, 192 )
[node name="Spikes4" parent="." index="13" instance=ExtResource( 12 )]
position = Vector2( 256, 208 )
[node name="Spikes3" parent="." index="14" instance=ExtResource( 12 )]
position = Vector2( 272, 208 )
[node name="Spikes2" parent="." index="15" instance=ExtResource( 12 )]
position = Vector2( 240, 208 )
[node name="Spikes" parent="." index="16" instance=ExtResource( 12 )]
position = Vector2( 224, 208 )
[node name="Spikes5" parent="." index="17" instance=ExtResource( 12 )]
position = Vector2( 320, 208 )
[node name="Spikes6" parent="." index="18" instance=ExtResource( 12 )]
position = Vector2( 304, 208 )
[node name="Spikes7" parent="." index="19" instance=ExtResource( 12 )]
position = Vector2( 288, 208 )
[node name="Spikes8" parent="." index="20" instance=ExtResource( 12 )]
position = Vector2( 336, 208 )
[node name="FlyingEnemy" parent="." index="21" instance=ExtResource( 10 )]
position = Vector2( 798, -15 )
[node name="WalkingEnemy" parent="." index="22" instance=ExtResource( 11 )]
position = Vector2( 671, 47 )
[node name="PlantEnemy3" parent="." index="23" instance=ExtResource( 8 )]
position = Vector2( 360, 1 )
rotation = 3.14159
[node name="PlantEnemy4" parent="." index="24" instance=ExtResource( 8 )]
position = Vector2( 487, -63 )
rotation = 3.14159
[node name="PlantEnemy5" parent="." index="25" instance=ExtResource( 8 )]
position = Vector2( 664, -31 )
rotation = 3.14159
[node name="PlantEnemy6" parent="." index="26" instance=ExtResource( 8 )]
position = Vector2( 826, -62 )
rotation = 3.14159
[node name="PlantEnemy2" parent="." index="27" instance=ExtResource( 8 )]
position = Vector2( 624, 88 )
rotation = -1.5708
[node name="FlyingEnemy2" parent="." index="28" instance=ExtResource( 10 )]
position = Vector2( 265, 67 )
[node name="FlyingEnemy3" parent="." index="29" instance=ExtResource( 10 )]
position = Vector2( 144, 120 )
[node name="FlyingEnemy4" parent="." index="30" instance=ExtResource( 10 )]
position = Vector2( 562, 149 )
[node name="FlyingEnemy5" parent="." index="31" instance=ExtResource( 10 )]
position = Vector2( 434, 40 )
[node name="FlyingEnemy6" parent="." index="32" instance=ExtResource( 10 )]
position = Vector2( 654, 210 )
[node name="FlyingEnemy7" parent="." index="33" instance=ExtResource( 10 )]
position = Vector2( 1050, -97 )
[node name="FlyingEnemy8" parent="." index="34" instance=ExtResource( 10 )]
position = Vector2( 1016, -117 )
[node name="FlyingEnemy9" parent="." index="35" instance=ExtResource( 10 )]
position = Vector2( 1045, -125 )
[node name="FlyingEnemy10" parent="." index="36" instance=ExtResource( 10 )]
position = Vector2( 1034, -106 )
[node name="FlyingEnemy11" parent="." index="37" instance=ExtResource( 10 )]
position = Vector2( 1013, -97 )
[node name="WalkingEnemy2" parent="." index="38" instance=ExtResource( 11 )]
position = Vector2( 991, -18 )
[node name="CrawlingEnemy2" parent="." index="39" instance=ExtResource( 6 )]
position = Vector2( 943, -2 )
[node name="CrawlingEnemy3" parent="." index="40" instance=ExtResource( 6 )]
position = Vector2( 885, 30 )
[node name="WalkingEnemy3" parent="." index="41" instance=ExtResource( 11 )]
position = Vector2( 1023, -35 )
[node name="Spikes10" parent="." index="42" instance=ExtResource( 12 )]
position = Vector2( 368, 224 )
rotation = -1.5708
[node name="Spikes11" parent="." index="43" instance=ExtResource( 12 )]
position = Vector2( 368, 208 )
rotation = -1.5708
[node name="Spikes9" parent="." index="44" instance=ExtResource( 12 )]
position = Vector2( 352, 208 )
[node name="SaveStation" parent="." index="45" instance=ExtResource( 13 )]
position = Vector2( 840, 304 )
[node name="MissilesPowerup4" parent="." index="46" instance=ExtResource( 5 )]
position = Vector2( 799, 296 )
[editable path="MovingPlatform"]
[editable path="MovingPlatform2"]
[editable path="MovingPlatform3"]

2
metroidvania/Scenes/World/World.tscn

@ -21,7 +21,7 @@ remote_path = NodePath("../../Camera")
[node name="UI" parent="." instance=ExtResource( 7 )]
[node name="Level_00" parent="." instance=ExtResource( 1 )]
position = Vector2( -132, -32 )
position = Vector2( -12, 308 )
[connection signal="died" from="Player" to="." method="_on_Player_died"]

Loading…
Cancel
Save