added level restart function
This commit is contained in:
parent
18f5b28295
commit
3247a67e96
12 changed files with 206 additions and 40 deletions
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=13 format=2]
|
||||
[gd_scene load_steps=14 format=2]
|
||||
|
||||
[ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://tilesets/t_cave.tres" type="TileSet" id=2]
|
||||
|
@ -12,6 +12,7 @@
|
|||
[ext_resource path="res://objects/enemy/slime.tscn" type="PackedScene" id=10]
|
||||
[ext_resource path="res://maps/map.gd" type="Script" id=11]
|
||||
[ext_resource path="res://audio/music/smokestack.mp3" type="AudioStream" id=12]
|
||||
[ext_resource path="res://objects/collectibles/arrow.tscn" type="PackedScene" id=13]
|
||||
|
||||
[node name="Map" type="Node2D" groups=["map"]]
|
||||
script = ExtResource( 11 )
|
||||
|
@ -43,8 +44,11 @@ tile_data = PoolIntArray( 196618, 0, 65537, 196619, 0, 65537, 196620, 0, 65537,
|
|||
[node name="Slime" parent="." instance=ExtResource( 10 )]
|
||||
position = Vector2( 84, -7 )
|
||||
|
||||
[node name="Arrow" parent="." instance=ExtResource( 13 )]
|
||||
position = Vector2( 77, 164 )
|
||||
|
||||
[node name="Player" parent="." instance=ExtResource( 1 )]
|
||||
position = Vector2( 84, 14 )
|
||||
position = Vector2( 64, 162 )
|
||||
|
||||
[node name="Ladder2" parent="." instance=ExtResource( 9 )]
|
||||
position = Vector2( 56, 104 )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue