Skip to content

jacklehamster/bun-engine

Repository files navigation

bun-engine

Bun Engine

Game engine built using bunjs Work in progress.

Install bun

https://bun.sh/

curl -fsSL https://bun.sh/install | bash

Commands

  • start: "bun run index.ts",
  • bundle: "bun run bundler/bundler.ts",
  • list: "bun run samples/list-scripts.tsx",
  • example: "bun run bundle && cd example && bun start && cd ..",
  • fileSample: "bun run samples/file.tsx && cat samples/data/test.json",
  • httpSample: "bun run samples/server.tsx"

Run example

https://jacklehamster.github.io/bun-engine/example/

Demo

To create a project, for now the best way would be to heck out the DemoWorld example: https://github.com/jacklehamster/bun-engine/blob/main/src/demo/DemoWorld.ts

Github Source

https://github.com/jacklehamster/bun-engine/

Dev log

https://dev.to/jacklehamster/started-a-repo-for-my-new-game-engine-54cc