← All projects
Project record1 mention
Originally shared on Hacker News

neo8

neo8 is a custom NES-style game microengine — explicitly not an emulator, as it cannot run NES ROMs. It presents a high-level language with a basic camera system, an event-based sound system, a polling and event-based input handler that maps inputs to in-game events, and a way to model game entities. High-level code compiles to a zero-dependency native binary with Windows/Mac/Linux outputs. For the demo, the author also built a tool that converts raw ROM binary data into .png, .mp3, and high-level code, and demonstrated the engine with a proof-of-concept Contra recreation.

Last shared
01 / The problem

What it addresses

The author wanted to create new, cross-platform NES-style games on modern hardware using a tiny engine; the Contra recreation was only a proof-of-concept for the engine, since real Contra was already playable on original hardware or an emulator.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. neo8

    neo8 is a custom NES-style game microengine — explicitly not an emulator, as it cannot run NES ROMs. It presents a high-level language with a basic camera system, an event-based sound system, a polling and event-based input handler that maps inputs to in-game events, and a way to model game entities. High-level code compiles to a zero-dependency native binary with Windows/Mac/Linux outputs. For the demo, the author also built a tool that converts raw ROM binary data into .png, .mp3, and high-level code, and demonstrated the engine with a proof-of-concept Contra recreation.

    Problem: The author wanted to create new, cross-platform NES-style games on modern hardware using a tiny engine; the Contra recreation was only a proof-of-concept for the engine, since real Contra was already playable on original hardware or an emulator.

    Posted by @normalocity · Original source ↗

    Story title · @normalocity · · Source ↗

    Show HN: I recreated Contra in a custom NES game engine (NOT an emulator)

    Source text · @normalocity · · Source ↗

    But my micro engine (which I named `neo8`)

    Source text · @normalocity · · Source ↗

    To be clear, `neo8` is _not_ an emulator. It cannot run NES ROMs.

    Source text · @normalocity · · Source ↗

    looks like a high-level language, has a basic camera system, and event-based sound system, a polling and event-based input handler that maps inputs to in-game events, a way to model game entities

    Source text · @normalocity · · Source ↗

    That high-level code is then compiled to a zero-dependency, native binary, and the little engine supports win/mac/linux as binary outputs.

    Source text · @normalocity · · Source ↗

    The point was to create the engine so I could create new, cross-platform NES-style games using a tiny engine.

    Source text · @normalocity · · Source ↗

    The Contra demo was simply a proof-of-concept to see if my little engine could replicate Contra's gameplay style, and sure enough it pretty much worked.

    Source text · @normalocity · · Source ↗

    https://s3.us-east-2.amazonaws.com/jeffluntgames.com/the-surprise-demo.mp4