diff options
| -rw-r--r-- | assets.lua | 4 | ||||
| -rw-r--r-- | assets/bsod.png | bin | 0 -> 4195 bytes | |||
| -rw-r--r-- | loading.lua | 3 | ||||
| -rw-r--r-- | main.lua | 2 |
4 files changed, 9 insertions, 0 deletions
@@ -234,6 +234,10 @@ function loadAssets(id) loadDia() end if id == 18 then + bsod = {} + bsod.pic = love.graphics.newImage("assets/bsod.png") + end + if id == 19 then loaded = true end end diff --git a/assets/bsod.png b/assets/bsod.png Binary files differnew file mode 100644 index 0000000..2dfb859 --- /dev/null +++ b/assets/bsod.png diff --git a/loading.lua b/loading.lua index de67665..a322685 100644 --- a/loading.lua +++ b/loading.lua @@ -25,4 +25,7 @@ function drawLoading() end end function drawBSOD() + love.graphics.setBackgroundColor(0,0,120) + love.graphics.setColor(256,256,256) + love.graphics.draw(bsod.pic, sys.w/2, sys.h/2, 0, 1, 1, 320, 200) end @@ -97,5 +97,7 @@ function love.draw() drawLoading() elseif scene == 2 then drawVirusFight1() + elseif scene == 666 then + drawBSOD() end end |
