Tommy
New Member
Posts: 17
|
Post by Tommy on Apr 19, 2005 10:50:28 GMT
If I use the Sprite Image Packer all images on one texture are placed with horizontal and vertical gaps. This is fine because the Image Packer also generates proper code templates to create the images. But HUD_AnimateImage(...) does not like those gaps and expects images that are next to each other to create the animation sequence. So the Image Packer should be allowed to generate textures without gaps between images or HUD_AnimateImage() needs additional parameters to specify the width and height of horizontal or vertical gaps. And another issue with the Image Packer: I want to store images in some DIMed Array and I want to use the Image Packer capabilities (template code generation). I can rename an image that is placed on a texture, but I cannot name it like MyImage(3) or ImgArray(5) because brackets are not allowed in names ...could this get fixed? This way I could name the images to influence code generation... Cheers, Tommy
|
|
|
Post by Xpressive on Apr 21, 2005 7:29:06 GMT
Thanks for the feedback - the problem when using no gaps between images on one texture is that Blitz is not very accurate here, especially when images are scaled. So I really recommend to use a spacing between images.
You can also load image strips (like used with Blitz2D) to load animations. Simply place all your animation frames horizontally onto one image, one after another.
Including brackets to the image names is a good idea, I'll add this with the next version.
|
|
Tommy
New Member
Posts: 17
|
Post by Tommy on Apr 21, 2005 9:48:33 GMT
Thanks for the feedback - the problem when using no gaps between images on one texture is that Blitz is not very accurate here, especially when images are scaled. So I really recommend to use a spacing between images. Yes, you are right. I found out last night Okay, I will give that a try. Sounds good. Any timeframe for the next version of the Image Packer and SpriteCandy itself? Tommy
|
|