-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstate.title.lua
More file actions
35 lines (28 loc) · 1.11 KB
/
Copy pathstate.title.lua
File metadata and controls
35 lines (28 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
-- title screen state
title = state.create('title')
title.fade = true
function title.enter()
music(-1)
music(10)
title.paw = false
scroll.init(title, 15, 'employment agreement|......................||thank you for applying|to dome enterprises.||your job will be to|investigate why the|printer isn\'t wo%King|correctly after|embers, ari and sun|our program#ers|insta!1ed the last|buggy upd*te. .$)&&&$| : . . |f e l d o #1buttonjam .| . . : :|your supervisor %&*|requests{ that you|refrain* from stomping|or jumping in your|cubicle += we have|sustained recent|damage from <undef>|employees doing so.| i1 \' ` ~!: .|press 🅾️ to sign this|agreement and clock in!|$*%)@!mwa#ah!@*@(@#||X..........%:.:.......||○2024 dangerous office| machine enterprises| #::.|* ($% ]* (&h @% @#$')
end
function title.update(dt)
scroll.update(dt)
end
function title.draw()
scroll.draw()
if title.paw then
spr(106, 40, 212, 2, 2)
end
end
function title.press() end
function title.hold(secs) end
function title.release(secs)
title.paw = true
sfx(40)
state.switch('game')
end
function title.leave()
music(-1)
end