←back to thread

You can make PS2 games in JavaScript

(jslegenddev.substack.com)
230 points tosh | 1 comments | | HN request time: 0.221s | source
Show context
saghul ◴[] No.46009867[source]
A similar thing, also using QuickJS, but for the Nintendo Switch: https://github.com/TooTallNate/nx.js (I'm not the author).
replies(1): >>46009925 #
1. Flux159 ◴[] No.46009925[source]
Nice, this is similar to what I was wondering about - it looks like it's pretty limited in capability right now (looks like it only supports canvas2d at the moment: https://nxjs.n8.io/runtime/rendering/canvas), but in theory it would allow you to make a layer to convert WebGPU or WebGL games for Switch (ignoring the huge performance drop going from v8 / jit JS engines to QuickJS).