Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Graphics engine for games, set on top of bun.js.
https://github.com/jacklehamster/bun-engine

bun game-development game-engine javascript typescript

Last synced: 2 months ago
JSON representation

Graphics engine for games, set on top of bun.js.

Awesome Lists containing this project

README

        

# bun-engine

![Bun Engine](https://jacklehamster.github.io/bun-engine/icon.png)

Game engine built using bunjs
Work in progress.

## Install bun

https://bun.sh/

```bash
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/](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](https://github.com/jacklehamster/bun-engine/blob/main/src/demo/DemoWorld.ts)

## Github Source

[https://github.com/jacklehamster/bun-engine/](https://github.com/jacklehamster/bun-engine/)

## Dev log

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