diff options
| author | Jan Tuomi <jan.tuomi@valuemotive.com> | 2020-07-30 22:44:44 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan.tuomi@valuemotive.com> | 2020-07-30 22:44:44 +0300 |
| commit | 1c7db0e243d2a8a93d19d953ab656610aa4ea1b4 (patch) | |
| tree | b54d98eb99f82582eaca9d99ee2b0879fd3dabb0 /scenes/Scene2.tscn | |
| parent | d07037aa7ffb18b3219f1a73b1d8ef8b04be915c (diff) | |
Make ladders work
Diffstat (limited to 'scenes/Scene2.tscn')
| -rw-r--r-- | scenes/Scene2.tscn | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scenes/Scene2.tscn b/scenes/Scene2.tscn index e45bc13..49f9cd5 100644 --- a/scenes/Scene2.tscn +++ b/scenes/Scene2.tscn @@ -1,10 +1,11 @@ -[gd_scene load_steps=51 format=2] +[gd_scene load_steps=52 format=2] [ext_resource path="res://scenes/PlayerCharacter.tscn" type="PackedScene" id=1] [ext_resource path="res://textures/world_tileset.tres" type="Texture" id=2] [ext_resource path="res://scenes/DwarfNPC.tscn" type="PackedScene" id=3] [ext_resource path="res://scripts/Scene1.gd" type="Script" id=4] [ext_resource path="res://externals/point_light.png" type="Texture" id=5] +[ext_resource path="res://scenes/Ladder.tscn" type="PackedScene" id=6] [sub_resource type="OccluderPolygon2D" id=1] polygon = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 ) @@ -330,5 +331,9 @@ shadow_color = Color( 0.184314, 0.215686, 0.176471, 0 ) shadow_filter = 1 [node name="DwarfNPC" parent="YSort" instance=ExtResource( 3 )] -position = Vector2( 10.3836, 61.3265 ) +position = Vector2( 16, 56 ) target = NodePath("../../../Scene2/YSort/PlayerCharacter") + +[node name="Ladder" parent="YSort" instance=ExtResource( 6 )] +position = Vector2( 88, 48 ) +target_scene_num = 1 |
