diff --git a/art.lua b/art.lua index ced7d67..0219236 100644 --- a/art.lua +++ b/art.lua @@ -12,6 +12,10 @@ intro = room{ ART LOST IN TIME a short game about challenges of digital art preservation + +Written and drawn over weekend by Severák for Paint Jam 2021. + +I used my own game engine (from other project) and actual digital art from Andy Warhol. ]], cont = 'intro2' } @@ -56,6 +60,11 @@ put = verb{ n = "put", params = {"floppylike", "_into", "computerlike"}, act = function(what, _into, where) + if where == 'amiga' and amiga.dead then + p "I will not put floppy into Amiga as it seems to be dead." + return + end + if where == 'amiga' and (floppy_workbench.w == 'amiga' or floppy_graphics.w == 'amiga') then p "(You first ejected floppy which was in Amiga's drive.)" if floppy_graphics.w=='amiga' then move("floppy_graphics", "museum") end @@ -63,7 +72,7 @@ put = verb{ end if what == 'floppy_workbench' and where == 'notebook' then - p "You don't need this. As Amiga enthusiast you have already installed official WORKBENCH copy on your computer." + p "You don't need this. As an Amiga enthusiast you have already installed official WORKBENCH copy on your computer." elseif what == 'floppy_workbench' and where == 'amiga' then p "You put WORKBENCH floppy into Amiga." move("floppy_workbench", "amiga") @@ -114,7 +123,9 @@ Also this one was used by Andy Warhol.]], p "You tried to power up Warhol's Amiga." p "It actually started and Workbench interface appeared on the screen." p "But when you clicked on PROGRAMS icons whole thing freezed and screen went black." + p "You should better try other floppies in more recent machine." p "(also you smell some smoke)" + img "museum-smoke.png" amiga.dead = true elseif floppy_graphics.w == 'amiga' then p "You tried to power up Warhol's Amiga." @@ -123,6 +134,7 @@ Also this one was used by Andy Warhol.]], p "Ouch! It sounds like it eaten the floppy." p "Which means you are unable to found Andy's art. GAME OVER!" p "(also you smell some smoke)" + img "museum-smoke.png" amiga.dead = true else p "It will not start without floppy in it." @@ -175,19 +187,131 @@ notebook = item{ return end - p "I started my computer and loaded bitcopy of GRAPHICSART floppy into WinUAE emulator." - -- TODO - zde bude samotná hra + walk "hackerman" end } +floppy_workbench = item{ + n = 'WORKBENCH floppy', + desc = "There is a printed label: Amiga Workbench 1.3", + floppylike = true +} + floppy_graphics = item{ n = 'floppy "GRAPHICSART"', desc = "It's yellow floppy with handwritten letters GRAPHICSART. I wonder what's on it.", floppylike = true } -floppy_workbench = item{ - n = 'WORKBENCH floppy', - desc = "There is a printed label: Amiga Workbench 1.3", - floppylike = true +hackerman = room{ + n = "Full hacker mode activated...", + d = [[ +You started your notebook. + +It's time to do some serious digital preservation work. Let's show others who is real HACKERMAN! + ]], + cont = "windows", + img = "hackerman.png" } + +windows = room{ + n = "in Windows XP desktop", + d = [[ +A view familiar to many of us - an Windows XP desktop with it's iconic default background. + ]], + img = "winxp.png" +} + +start = verb{ + n = "Start", + params = {"program"}, + act = function(name) + game[name].program() + end +} + +ie = item{ + n = "Internet Exploder", + program = function() + p "It's not time to browse web." + end, + w = "windows" +} + +diskextractor = item{ + n = "DiskExtractor", + program = function() + p "DiskExtractor found that (expect from binary GRAPHICSART) these files are in an unknown format." + winuae.willuse = true + end, + w = "windows" +} + +winuae = item{ + n = "WinUAE", + program = function() + if not winuae.willuse then + p "There is no need to run Amiga emulator." + p "I should first find out in which format files were." + return + end + + walk "graphicsart" + end, + willuse = false, + w = "windows" +} + +shutdown = item{ + n = "Shut down", + program = function() + walk "museum" + end, + w = "windows" +} + +graphicsart = room{ + n = "GRAPHICSART", + d = [[ +Now I understand - it seems that GRAPHICSART was one of those early graphics programs. That's why files seemed to be in unknown format. + +As Amiga 1000 had only one drive it looks like the actual art was saved to the same floppy as program itself. +]], + img = "graphicsart.png", + new_file = true, + save_as = true, + back = true +} + +new_file = verb{ + n = "New file...", + act = function() + p "TADA" + end, + used = false +} + +open_file = verb{ + n = "Open file...", + params = {"file"}, + act = function() + p "TADA" + end +} + +save_as = verb{ + n = "Save as...", + act = function() + + end +} + +back = verb{ + n = "(back to Windows desktop)", + act = function() + walk "windows" + end +} + + + diff --git a/art/graphicsart.png b/art/graphicsart.png new file mode 100644 index 0000000..955e011 Binary files /dev/null and b/art/graphicsart.png differ diff --git a/art/hackerman.png b/art/hackerman.png new file mode 100644 index 0000000..a6f365a Binary files /dev/null and b/art/hackerman.png differ diff --git a/art/museum-smoke.png b/art/museum-smoke.png new file mode 100644 index 0000000..f663f32 Binary files /dev/null and b/art/museum-smoke.png differ diff --git a/art/painting.png b/art/painting.png new file mode 100644 index 0000000..41797ab Binary files /dev/null and b/art/painting.png differ diff --git a/art/titulka.png b/art/titulka.png index 420475d..40dcfb0 100644 Binary files a/art/titulka.png and b/art/titulka.png differ diff --git a/art/winxp.png b/art/winxp.png new file mode 100644 index 0000000..e783651 Binary files /dev/null and b/art/winxp.png differ diff --git a/index.html b/index.html index defa8db..8b598f9 100644 --- a/index.html +++ b/index.html @@ -76,6 +76,8 @@ + +