8 lines
361 B
Plaintext
8 lines
361 B
Plaintext
draw_run_time_error = function()
|
|
if Run_time_error == nil then return end
|
|
local height = math.min(20*HUD_line_height, App.screen.height*0.2)
|
|
App.color{r=0.8,g=0,b=0}
|
|
love.graphics.rectangle('fill', 0, App.screen.height - height-10, App.screen.width, height+10)
|
|
App.color{r=0,g=0,b=0}
|
|
love.graphics.print(Run_time_error, 30, App.screen.height - height)
|
|
end |