summaryrefslogtreecommitdiffstats
path: root/room_main_menu.tscn
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-11-30 23:23:52 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-11-30 23:23:52 +0200
commitc00d24f219ee7a7e2f2264a3add0baa2c34e600d (patch)
treeac21d844ba76587a563e3caadcbbc36a2d162b38 /room_main_menu.tscn
parent9ff143c5af68853b7f417d54f06aa194039114d2 (diff)
Add multiple camera focus targets
Diffstat (limited to 'room_main_menu.tscn')
-rw-r--r--room_main_menu.tscn5
1 files changed, 3 insertions, 2 deletions
diff --git a/room_main_menu.tscn b/room_main_menu.tscn
index 9469646..3c5099b 100644
--- a/room_main_menu.tscn
+++ b/room_main_menu.tscn
@@ -1,7 +1,8 @@
-[gd_scene load_steps=3 format=4 uid="uid://cjdhfl70fgt6m"]
+[gd_scene load_steps=4 format=4 uid="uid://cjdhfl70fgt6m"]
[ext_resource type="Script" uid="uid://dufnvsfxreqq8" path="res://room_main_menu.gd" id="1_rbk04"]
[ext_resource type="TileSet" uid="uid://0cd30n67d6k5" path="res://tileset_kenney_platformer.tres" id="2_ftmdk"]
+[ext_resource type="PackedScene" uid="uid://dfyvkc2qlcdac" path="res://game_camera.tscn" id="2_gpf47"]
[node name="MainMenu" type="Node2D" groups=["debug_info"]]
process_mode = 1
@@ -21,7 +22,7 @@ grow_horizontal = 2
grow_vertical = 2
color = Color(0.2509804, 0.15686275, 0.34901962, 1)
-[node name="Camera2D" type="Camera2D" parent="."]
+[node name="GameCamera" parent="." instance=ExtResource("2_gpf47")]
position = Vector2(96, 54)
[node name="PlayButton" type="Button" parent="."]