respawn points vertical
This commit is contained in:
parent
1b4fbcd8aa
commit
1c9291868a
1 changed files with 101 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=29 format=2]
|
[gd_scene load_steps=36 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://objects/Camera2D.tscn" type="PackedScene" id=1]
|
[ext_resource path="res://objects/Camera2D.tscn" type="PackedScene" id=1]
|
||||||
[ext_resource path="res://maps/future/mountain_future.gd" type="Script" id=2]
|
[ext_resource path="res://maps/future/mountain_future.gd" type="Script" id=2]
|
||||||
|
@ -18,6 +18,7 @@
|
||||||
[ext_resource path="res://objects/enemy/roboturret.tscn" type="PackedScene" id=16]
|
[ext_resource path="res://objects/enemy/roboturret.tscn" type="PackedScene" id=16]
|
||||||
[ext_resource path="res://objects/hud/hud.tscn" type="PackedScene" id=17]
|
[ext_resource path="res://objects/hud/hud.tscn" type="PackedScene" id=17]
|
||||||
[ext_resource path="res://objects/enemy/bat.tscn" type="PackedScene" id=18]
|
[ext_resource path="res://objects/enemy/bat.tscn" type="PackedScene" id=18]
|
||||||
|
[ext_resource path="res://objects/respawn_point.tscn" type="PackedScene" id=19]
|
||||||
[ext_resource path="res://objects/collectibles/shard.tscn" type="PackedScene" id=21]
|
[ext_resource path="res://objects/collectibles/shard.tscn" type="PackedScene" id=21]
|
||||||
[ext_resource path="res://tilesets/t_death.tres" type="TileSet" id=22]
|
[ext_resource path="res://tilesets/t_death.tres" type="TileSet" id=22]
|
||||||
[ext_resource path="res://tilesets/t_ladders.tres" type="TileSet" id=23]
|
[ext_resource path="res://tilesets/t_ladders.tres" type="TileSet" id=23]
|
||||||
|
@ -44,6 +45,24 @@ _data = {
|
||||||
"points": PoolVector2Array( 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 32, 48, 0, 0, 0, 0, -16, 48, 0, 0, 0, 0, -16, -24, 0, 0, 0, 0, 16, -24, 0, 0, 0, 0, 16, -16, 0, 0, 0, 0, 0, -16, 0, 0, 0, 0, 0, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0 )
|
"points": PoolVector2Array( 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 32, 48, 0, 0, 0, 0, -16, 48, 0, 0, 0, 0, -16, -24, 0, 0, 0, 0, 16, -24, 0, 0, 0, 0, 16, -16, 0, 0, 0, 0, 0, -16, 0, 0, 0, 0, 0, -8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0 )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id=15]
|
||||||
|
extents = Vector2( 76, 9 )
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id=17]
|
||||||
|
extents = Vector2( 80, 8 )
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id=18]
|
||||||
|
extents = Vector2( 20, 12 )
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id=19]
|
||||||
|
extents = Vector2( 30, 16 )
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id=20]
|
||||||
|
extents = Vector2( 36, 16 )
|
||||||
|
|
||||||
|
[sub_resource type="RectangleShape2D" id=16]
|
||||||
|
extents = Vector2( 40, 8 )
|
||||||
|
|
||||||
[sub_resource type="Animation" id=10]
|
[sub_resource type="Animation" id=10]
|
||||||
resource_name = "liftoff"
|
resource_name = "liftoff"
|
||||||
length = 3.0
|
length = 3.0
|
||||||
|
@ -65,7 +84,7 @@ tracks/0/keys = {
|
||||||
pause_mode = 1
|
pause_mode = 1
|
||||||
script = ExtResource( 2 )
|
script = ExtResource( 2 )
|
||||||
__meta__ = {
|
__meta__ = {
|
||||||
"_edit_horizontal_guides_": [ -192.0, 191.0, 384.0 ],
|
"_edit_horizontal_guides_": [ -192.0, 192.0, 384.0 ],
|
||||||
"_edit_vertical_guides_": [ 256.0, 0.0, 512.0, -256.0 ]
|
"_edit_vertical_guides_": [ 256.0, 0.0, 512.0, -256.0 ]
|
||||||
}
|
}
|
||||||
min_interval = 1.0
|
min_interval = 1.0
|
||||||
|
@ -473,6 +492,86 @@ color = 4
|
||||||
|
|
||||||
[node name="Respawns" type="Node2D" parent="."]
|
[node name="Respawns" type="Node2D" parent="."]
|
||||||
|
|
||||||
|
[node name="RespawnPoint" parent="Respawns" instance=ExtResource( 19 )]
|
||||||
|
position = Vector2( 104, 176 )
|
||||||
|
match_v = false
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Respawns/RespawnPoint"]
|
||||||
|
position = Vector2( -20, -1 )
|
||||||
|
shape = SubResource( 15 )
|
||||||
|
|
||||||
|
[node name="RespawnPoint8" parent="Respawns" instance=ExtResource( 19 )]
|
||||||
|
position = Vector2( 88, 224 )
|
||||||
|
match_v = false
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Respawns/RespawnPoint8"]
|
||||||
|
position = Vector2( -8, -16 )
|
||||||
|
shape = SubResource( 15 )
|
||||||
|
|
||||||
|
[node name="RespawnPoint5" parent="Respawns" instance=ExtResource( 19 )]
|
||||||
|
position = Vector2( 376, 0 )
|
||||||
|
match_v = false
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Respawns/RespawnPoint5"]
|
||||||
|
position = Vector2( -16, -16 )
|
||||||
|
shape = SubResource( 17 )
|
||||||
|
|
||||||
|
[node name="RespawnPoint6" parent="Respawns" instance=ExtResource( 19 )]
|
||||||
|
position = Vector2( 416, 32 )
|
||||||
|
match_v = false
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Respawns/RespawnPoint6"]
|
||||||
|
position = Vector2( -16, -16 )
|
||||||
|
shape = SubResource( 17 )
|
||||||
|
|
||||||
|
[node name="RespawnPoint3" parent="Respawns" instance=ExtResource( 19 )]
|
||||||
|
position = Vector2( -168, 152 )
|
||||||
|
match_v = false
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Respawns/RespawnPoint3"]
|
||||||
|
position = Vector2( -4, -12 )
|
||||||
|
shape = SubResource( 18 )
|
||||||
|
|
||||||
|
[node name="RespawnPoint9" parent="Respawns" instance=ExtResource( 19 )]
|
||||||
|
position = Vector2( -204, 248 )
|
||||||
|
match_v = false
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Respawns/RespawnPoint9"]
|
||||||
|
position = Vector2( -2, -16 )
|
||||||
|
shape = SubResource( 19 )
|
||||||
|
|
||||||
|
[node name="RespawnPoint10" parent="Respawns" instance=ExtResource( 19 )]
|
||||||
|
position = Vector2( -120, 248 )
|
||||||
|
match_v = false
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Respawns/RespawnPoint10"]
|
||||||
|
position = Vector2( -20, -16 )
|
||||||
|
shape = SubResource( 20 )
|
||||||
|
|
||||||
|
[node name="RespawnPoint4" parent="Respawns" instance=ExtResource( 19 )]
|
||||||
|
position = Vector2( -168, -8 )
|
||||||
|
match_v = false
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Respawns/RespawnPoint4"]
|
||||||
|
position = Vector2( -4, -12 )
|
||||||
|
shape = SubResource( 18 )
|
||||||
|
|
||||||
|
[node name="RespawnPoint2" parent="Respawns" instance=ExtResource( 19 )]
|
||||||
|
position = Vector2( 352, 176 )
|
||||||
|
match_v = false
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Respawns/RespawnPoint2"]
|
||||||
|
position = Vector2( 24, 0 )
|
||||||
|
shape = SubResource( 16 )
|
||||||
|
|
||||||
|
[node name="RespawnPoint7" parent="Respawns" instance=ExtResource( 19 )]
|
||||||
|
position = Vector2( 352, 224 )
|
||||||
|
match_v = false
|
||||||
|
|
||||||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Respawns/RespawnPoint7"]
|
||||||
|
position = Vector2( 24, -16 )
|
||||||
|
shape = SubResource( 16 )
|
||||||
|
|
||||||
[node name="Boundaries" type="StaticBody2D" parent="."]
|
[node name="Boundaries" type="StaticBody2D" parent="."]
|
||||||
|
|
||||||
[node name="HUD" parent="." instance=ExtResource( 17 )]
|
[node name="HUD" parent="." instance=ExtResource( 17 )]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue