Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jacklehamster/bun-engine
- Owner: jacklehamster
- License: mit
- Created: 2023-09-18T07:53:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-17T10:02:11.000Z (7 months ago)
- Last Synced: 2024-09-30T10:05:08.554Z (3 months ago)
- Topics: bun, game-development, game-engine, javascript, typescript
- Language: TypeScript
- Homepage: https://jacklehamster.github.io/bun-engine/
- Size: 7.41 MB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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)