An open-source texture atlas packer built with Svelte 5 and Phaser 3. OpenTXPacker provides a modern, efficient alternative to TexturePacker for combining multiple textures into optimized sprite atlases.
- 🎨 Upload and combine thousands of textures into one atlas
- 📦 Efficient texture atlas packing algorithm - faster than TexturePacker!
- 🔍 Real-time preview with camera controls
- 💾 Multiple export formats (Phaser 3, Multiatlas, JSON)
- 🖼️ Support for various image formats (PNG-32, PNG-8, WebP)
- 🎮 Built with game development in mind
- bun
curl -fsSL https://bun.sh/install | bash
-
Clone the repository:
git clone https://github.com/andrewrexo/opentxpacker.git cd opentxpacker
-
Install dependencies:
bun install
-
Start the development server:
bun dev
-
Open your browser and navigate to
http://localhost:5173
- Open the application in your browser
- Upload textures by clicking the "Upload" button or dragging and dropping files
- Configure export settings (format, compression, etc.)
- Export your texture atlas!
- Svelte 5 - Frontend framework with runes
- Phaser 3 - Canvas rendering and texture management
- TailwindCSS - Styling
- DaisyUI - UI components
- TypeScript - Type safety and DX boosts
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a PR. I'll review it as soon as I can!
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by TexturePacker. Even though this project may have been started out of spite it still wouldn't have been possible without them.