HeadlinesBriefing favicon HeadlinesBriefing.com

Nintendo DS Gets Scriptable 3D Game Engine

Hacker News: Front Page •
×

A developer has created a scriptable 3D game engine directly for the Nintendo DS, allowing users to write and run games on the console itself. The engine is written in C and utilizes libnds, compiling to a small .nds ROM file. The system features a touch-based code editor and real-time 3D rendering, offering a throwback to early game development experiences.

This project provides a complete programming environment, complete with a custom programming language featuring variables and conditionals. The engine's functionality is split between a top screen for 3D rendering and a bottom screen for the script editor. The custom language allows for commands, making it easier to develop simple games directly on the DS hardware.

The engine's design includes a 3D rendering system using the DS's hardware and a script interpreter that executes one line per frame. The developer has even included a working 3D pong game as the default script. This project's focus on accessibility and ease of use could inspire a new generation of game developers.

To build and run the engine, users need devkitPro and a flashcart for the DS. After compilation, the .nds ROM is copied to a microSD card and loaded on the console. This offers a unique glimpse into the possibilities of retro gaming development. The project's source code and compiled ROM are available for download, inviting further exploration.