diff options
Diffstat (limited to 'scenes/Scene1.tscn')
| -rw-r--r-- | scenes/Scene1.tscn | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scenes/Scene1.tscn b/scenes/Scene1.tscn index 2656dbd..d6652d9 100644 --- a/scenes/Scene1.tscn +++ b/scenes/Scene1.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=52 format=2] +[gd_scene load_steps=53 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] @@ -6,6 +6,7 @@ [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] +[ext_resource path="res://scenes/GUI.tscn" type="PackedScene" id=7] [sub_resource type="OccluderPolygon2D" id=1] polygon = PoolVector2Array( 8, 8, 0, 8, 0, 0, 8, 0 ) @@ -311,12 +312,12 @@ tile_data = PoolIntArray( -262152, 0, 0, -262151, 0, 0, -262150, 0, 0, -262149, [node name="PlayerCharacter" parent="YSort" instance=ExtResource( 1 )] position = Vector2( 12.8563, 19.5552 ) speed = 32 +gui_node = NodePath("../../CanvasLayer/GUI") [node name="Camera2D" type="Camera2D" parent="YSort/PlayerCharacter"] current = true zoom = Vector2( 0.2, 0.2 ) process_mode = 0 -smoothing_enabled = true smoothing_speed = 2.0 [node name="Light2D" type="Light2D" parent="YSort/PlayerCharacter"] @@ -338,3 +339,7 @@ target = NodePath("../PlayerCharacter") [node name="Ladder" parent="YSort" instance=ExtResource( 6 )] target_scene_num = 2 + +[node name="CanvasLayer" type="CanvasLayer" parent="."] + +[node name="GUI" parent="CanvasLayer" instance=ExtResource( 7 )] |
