Skip to content

Commit 4b432da

Browse files
author
Not-A-Normal-Robot
committed
Add challenge indicator in pause menu
1 parent 76be48e commit 4b432da

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

parts/scenes/pause.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,15 @@ function scene.draw()
229229
mDraw(tasText,870,395,.3,2.6)
230230
end
231231

232+
if CHALLENGE~=0 then
233+
setFont(25)
234+
gc.setColor(.97,.97,.97,timer1*.06)
235+
gc.rectangle('fill',555,631,620,36,8)
236+
gc.setColor(.97,.97,.97,timer1)
237+
gc.rectangle('line',555,631,620,36,8)
238+
mStr(text.challenges[CHALLENGE][1],865,630)
239+
end
240+
232241
--Big info frame
233242
if PLAYERS[1].frameRun>=180 then
234243
gc.push('transform')

0 commit comments

Comments
 (0)