Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1006 Bytes

File metadata and controls

46 lines (32 loc) · 1006 Bytes

HTML-JavaScript-Gaming

A browser-based 2D engine repository focused on the current engine architecture, reusable engine code, and progressive samples.

Repository layout

engine/           Current reusable engine
samples/          Progressive samples (Sample01+)
tests/            Current engine test suite
docs/             Documentation
tools/            Utility applications
scripts/          Repository automation scripts

Current architecture

  • renderer-only drawing
  • input only through InputService / ActionInputService
  • scene lifecycle owned by engine
  • progressive samples as the proof path
  • ECS-oriented systems operating on data

Running samples

Use a local web server from the repository root:

python -m http.server 8000

Then open a sample directly, for example:

http://localhost:8000/samples/sample01-basic-loop/index.html

Running tests

npm test

Rules

See RULES.txt for the locked engine rules and scene contract.