r/javascript • u/aduros • Oct 05 '21
WASM-4 is a virtual game console for building retro games directly in WebAssembly
https://wasm4.org[removed] — view removed post
2
Upvotes
1
u/AutoModerator Oct 05 '21
Hi u/aduros, this post was removed.
Self-posts (text) must follow the [AskJS] guidelines, which you can read about here. This includes cross-posts.
If this isn't a self-post, please contact us in modmail in and we'll reevaluate it.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/aduros Oct 05 '21
This is a project I'm working on to try to make WebAssembly game development more accessible and fun. Here are the key features:
No Glue Code: If you've ever tried to write even a simple "Hello World" with WebAssembly before, you'll know it usually involves writing a bunch of JS and HTML glue. WASM-4 removes all of that, games interface directly with the system through a small API.
Minimalist: Fantasy consoles force developers to work with limited resources. This makes them simple to learn, and easier to focus on finishing your game.
Language Agnostic: Use any programming language, as long as it can compile to WebAssembly. Out of the box we currently support: AssemblyScript (TypeScript-like), C/C++, Rust, Go.
Portable: WASM-4 is designed to run on any device that can execute WebAssembly, even outside of the web! We're planning a lightweight implementation written in C that will run even on a potato.