eightbittr
TypeScript icon, indicating that this package has built-in type declarations

0.8.15 • Public • Published

EightBittr

Code Style: Prettier TypeScript: Strict NPM version Join the chat at https://gitter.im/FullScreenShenanigans/community

Bare-bones, highly modular game engine for 2D 8-bit games.

EightBittr is an in-progress experimental game engine targeted to 8-bit retro 2D games. It's got some great features built-in, such as:

  • Blazingly fast start times:
    • Lazily-instantiated and -loaded components
    • Lazily-instantiated actor classes with inline POJO sprite declarations
    • <150KB minified / <30KB gzipped TTFI game components
  • 🔧 Easy scaffolding for extensible mods, level editors, and random map generation
  • 🖐 Touch UI support with schema-driven menus and touchscreen buttons
  • 💉 Full testability with dependency-injectable, swappable APIs for data storage and time management

EightBittr isn't production ready or well-supported - you're probably better off using a more standard game engine.

Documentation

Interested in learning more? See:

Development

This repository is a portion of the EightBittr monorepo. See its docs/Development.md for details on how to get started. 💖

Running Tests

yarn run test

Tests are written in Mocha and Chai. Their files are written using alongside source files under src/ and named *.test.ts?. Whenever you add, remove, or rename a *.test.t* file under src/, watch will re-run yarn run test:setup to regenerate the list of static test files in test/index.html. You can open that file in a browser to debug through the tests, or run yarn test:run to run them in headless Chrome.

Readme

Keywords

none

Package Sidebar

Install

npm i eightbittr

Weekly Downloads

15

Version

0.8.15

License

MIT

Unpacked Size

417 kB

Total Files

215

Last publish

Collaborators

  • joshuakgoldberg