Texpac by David Maziarka is an application that will pack gfx files up into one image. It can be used for sprites, textures, animation strips and bitmap fonts and is often referred as a texture packer or sprite atlas. There are 2 resulting in files, one .png and one .pac file that contains the coordinates of each packed image.
Features and Benefits:
- Keeping your gfx in a pac means you only have to incbin one file. this can help you to be more organized.
- Bitmap fonts.
- Basic experimental graphic filters
- Loads png, jpeg and bmp.
- Fully alpha transparency capable.
- Fonts can be spaced such as to give room for modification in a paint program.
- You can create spacer rects. useful when creating an image strip for a toolbar in MaxGUI
- Save the project you’re working on for later modification.
- Easy to use export file
- BlitzMax module, load and draw the images and the fonts.
- Monkey import file for draw of images and fonts
- Performance, this module’s draw routines can be 2x faster than the Blitz DrawImage on many cards.
- The font drawing can is up 2x faster on almost all cards.
Here is a short little tutorial to get you started.
Texpac Application | ~(1.1mb) | win exe | |
Texpac Source | ~(1.1mb) | bmx src zip | |
Monkey pacimage source with example | ~(0.2mb) | win/mac zip | |
BlitzMax pacimage mod | ~(0.2mb) | win zip | mac zip |
supports OpenGL, DirectX 7 and DirectX 9 | |||
pre-compiled verison only – source available for purchase, ask in the forum | |||
DX9 made possible through Doug Stastny’s BlitzMax DX9 driver (optional) | |||
ssImage2 example | ~(0.4mb) | win exe | mac zip |
ssImage2 w/DX9 example | ~(0.4mb) | win exe | |
ssFont example | ~(0.7mb) | win exe | mac zip |
drawtext2 example | ~(0.7mb) | win zip | mac zip |
with source and media |