Not cross-platform, but I'm reminded of the kkrieger game for Windows which was a 96k FPS game that looked visually impressive for the time. https://web.archive.org/web/20100304155706/http://www.thepro...
This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
11–20 of 93 posts
Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#12For me: - Browser: works after renaming to .html - Linux: "./snake.com: line 20: lzma: command not found". Installing the xz package makes it work (already had XWayland enabled so X11 worked, but may be needed if you have a strict Wayland session). - Windows: As either .com or renaming to .exe I get "The application was unable to start correctly (0xc0000005). Click OK to close the application." Not sure how to make t…
Works for me on Windows 11
Edit: Got it working, was DEP.
Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#13Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#14Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#15https://en.wikipedia.org/wiki/The_Legend_of_Zelda_(video_gam...
Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#16Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#17You could distribute it as `.html` only, and use JS to offer a local download link to itself in the correct extension. A polyglot installer, of sorts.
For example, this gist is an HTML that, when opened, offers a download zip of its DOM in whatever state it currently is:
https://gist.github.com/alganet/c904acb57282402fc0bd724f1eeb...
I think you can use something similar to get the entire page contents as a blob, but I never tested with binary data in actual browsers. Perhaps even patch it to avoid the initial windows error.
Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#18Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#19Wonder why they don't give a demo/link to the browser version
Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser
#20The ability to load .html files over the file:// protocol is a powerful, often neglected feature. In practice, it means you can double-click an HTML file and it runs an app in your browser instantly.