godot-wasm-engine
bsnes-plus-wasm
godot-wasm-engine | bsnes-plus-wasm | |
---|---|---|
1 | 3 | |
- | 3 | |
- | - | |
- | 0.0 | |
- | almost 2 years ago | |
C++ | ||
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
godot-wasm-engine
-
Why WebAssembly is innovative even outside the browser
For me, the most interesting potential of WASM is it provides a platform-independent sandboxed way to run untrusted code written in multiple programming languages.
This means it's in theory possible to run the same code on an embedded hardware platform, a desktop app or in the browser.
And while I'm sure there's "serious" business uses for that capability :) I'm most interested in what it enables in terms of user customisation/modding of games.
Which was my main motivation for creating a Wasmtime WASM runtime add-on for the Godot game engine: https://gitlab.com/RancidBacon/godot-wasm-engine
And also designing the "WebAssembly Calling Card" specification as a way of demonstrating how the same code could produce graphical output that is then used in 2D or 3D environments: https://wacc.rancidbacon.com
bsnes-plus-wasm
-
SNES Development Part 1: Getting Started
I've developed quite a few SNES-related things for fun, mostly using Go and C++, with some 65816 ASM sprinkled in.
https://github.com/alttpo/alttpo - A Link To The Past Online. Lets multiple players see and interact with one another in the same game world and synchronize their progress through the game. Exclusive to a customized fork of the bsnes emulator which provides a scripting language and PPU-integrated drawing routines to render remote player sprites. In retrospect, I consider this a dead-end architecture; redesigned in o2 project (see below).
https://github.com/alttpo/o2 - Second version of alttpo (see above) but this time targeted at SNES hardware console support (via SD2SNES flash cart USB feature) and does not require a customized emulator nor a scripting language. Trade-off here is a loss of the visual aspect (cannot see remote player sprites) due to tight hardware limitations in the amount of VRAM and limited SNES CPU cycles available. Work is in progress to gain back the remote sprite rendering as an optional add-on via the bsnes-plus WASM module support (see below). This project includes a 65816 machine code emitter library (pure Go) with support for named labels of branch targets. There is also a bare-bones headless SNES emulator library (pure Go) included for unit tests to verify the generated 65816 ASM and ROM patching mechanism.
https://github.com/alttpo/bsnes-plus - A fork of bsnes-plus in development that invokes WebAssembly modules when certain general SNES events occur, e.g. `on_nmi`, `on_power`, `on_reset`, `on_frame_present`. WASM code has access to a draw-list API for drawing into the various PPU layers, e.g. extra sprites, text (with PCF font support), basic shapes. WASM code can also receive arbitrary binary messages from external applications, e.g. to update remote player positions or exchange custom sprite graphics.
- FFVI Variable Display
-
Why WebAssembly is innovative even outside the browser
Hm not really but I do update my repo on github.com. It's all work in progress stuff being designed as I go.
https://github.com/alttpo/bsnes-plus/tree/wasm/bsnes/wasm
What are some alternatives?
wasmtime - A fast and secure runtime for WebAssembly
alttpo - Contains AngelScript code for bsnes-as integration and alttp-server
wasmer - 🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten
Mesen-SX - Homebrew development oriented fork of Mesen-S - a cross-platform (Windows & Linux) SNES emulator built in C++ and C#. Deprecated; see https://github.com/SourMesen/Mesen2/
Uno Platform - Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
cap-std - Capability-oriented version of the Rust standard library
watt - Runtime for executing procedural macros as WebAssembly
snestracker - Super Nintendo Entertainment System Music Software. Super Famicom Music Software
bass - fork of byuu's bass assembler
Graal - GraalVM compiles Java applications into native executables that start instantly, scale fast, and use fewer compute resources 🚀
o2 - ALttP Online 2.0 designed for console support