texture-slot-allocator
v1.0.24
Published
Texture slot allocator
Downloads
12
Maintainers
Readme
texture-slot-allocator
Component for allocating texture slots for spritesheets, for use in WebGL projects.
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: "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/texture-slot-allocator/example/