feat: added intro sequence, fixed norman's sprite, placed him in various places
This commit is contained in:
@@ -7,5 +7,10 @@ Screen.register({
|
||||
"go_to_sleep",
|
||||
"go_to_end",
|
||||
},
|
||||
background = "bedroom"
|
||||
background = "bedroom",
|
||||
draw = function()
|
||||
if Context.home_norman_visible and Window.get_current_id() == "game" then
|
||||
Sprite.draw_at("norman", 100, 80)
|
||||
end
|
||||
end
|
||||
})
|
||||
|
||||
@@ -26,10 +26,14 @@ Screen.register({
|
||||
|
||||
local sw = Config.screen.width
|
||||
local cx = sw / 2
|
||||
local norman_x = math.floor(sw * 0.75)
|
||||
local norman_y = math.floor(Config.screen.height * 0.75)
|
||||
local bar_w = math.floor(sw * 0.75)
|
||||
local bar_x = math.floor((sw - bar_w) / 2)
|
||||
local bar_h = 4
|
||||
|
||||
Sprite.draw_at("norman", norman_x, norman_y)
|
||||
|
||||
Print.text_center("day " .. Context.day_count, cx, 10, Config.colors.white)
|
||||
|
||||
local narrative = "reflecting on my past and present\n...\nboth eventually flushed."
|
||||
|
||||
Reference in New Issue
Block a user