diff --git a/inc/window/window.game.lua b/inc/window/window.game.lua index dbcf351..708a9cd 100644 --- a/inc/window/window.game.lua +++ b/inc/window/window.game.lua @@ -2,6 +2,15 @@ function GameWindow.draw() local currentScreenData = Context.screens[Context.current_screen] 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 function GameWindow.update()