nx_game_engine_compose_test.nx
buildroot/runtime/nx_game_engine_compose_test.nx
about
nx_game_engine_compose_test.nx -- the full game-loop scaffold.
All 4 new primitives composed with the prior Minecraft-MCU
substrate. Realistic game-loop shape:
1. world_seed generates 16x16x8 terrain from seed=42
2. font + 1bpp framebuffer prepared
3. raycast + dither pattern renders the world to fb
4. text_render overlays "Z42" coordinate
5. input drives camera movement
6. q14_math normalizes camera direction
This proves the substrate-side game engine works end-to-end on a
hardware-floor that maps cleanly to ESP32-class silicon.
dependencies 11 imports · 0 importers
diagram shows first 10 each side; +1 more imports, +0 more importers in the complete lists below.
imports: nx_syscalls.nxnx_tier.nxnx_palette.nxnx_tissue.nxnx_raycast_voxel.nxnx_fb_1bpp.nxnx_input_gpio.nxnx_q14_math.nxnx_font_1bpp.nxnx_text_render.nxnx_world_seed.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 27 | func main() -> i64 |