03-02-2026, 12:07 AM
(03-01-2026, 04:22 PM)grymmjack Wrote: ...the virtual NES is justHa, thanks! I actually tried to make this in such a way that it would be as easy as possible if anyone else wanted to "NESify" their QBJS program. There are only three steps.
1) Include these dependencies at the top of your program:
Code: (Select All)
Import Dom From "lib/web/dom.bas"
Import THREE From "https://boxgaming.github.io/three.qbjs/three.qbjs"
Import NESify From "https://boxgaming.github.io/three.qbjs/samples/nesify.bas"
2) Before your main program loop starts, wait for the 3D assets to load:
Code: (Select All)
While Not NESify.IsLoaded: Limit 60: Wend
3) At the end of your game loop, insert a call to render the 3D scene just before you call _Limit:
Code: (Select All)
_Display
NESify.Render3DScene
_Limit 60
Loop Until _KeyDown(27)
Here's a NESified version of @bplus' Falling Circles game as an example:


