Display Norman's room at Screen 1.
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2026-02-12 19:22:24 +01:00
parent 68ccdb632a
commit 6977800f6a

View File

@@ -2,6 +2,15 @@ function GameWindow.draw()
local currentScreenData = Context.screens[Context.current_screen] local currentScreenData = Context.screens[Context.current_screen]
UI.draw_top_bar(currentScreenData.name) UI.draw_top_bar(currentScreenData.name)
-- Draw Norman's bedroom
local from_x = 0 -- top-left coordinate of the large MAP (screen 1)
local from_y = 0 -- top-left coordinate of the large MAP (screen 1)
local width = 30 -- width of the standard screen (number of tiles)
local height = 17 -- height of the standard screen (number of tiles)
local to_x = 0 -- target x (of the displayed screen)([0-29])
local to_y = 0 -- target y (of the displayed screen)([0-16])
map(from_x, from_y, width, height, to_x, to_y)
end end
function GameWindow.update() function GameWindow.update()