FlashPlayer11新特性 Sprite Sheets

TexturePacker – the best sprite sheet maker available

TexturePacker is the best sprite sheet maker available for MacOS and Windows. It reads a directory and adds all image files (png, bmp, gif, jpg.) – and with the next update even frames from Flash .swf files – to a sprite sheet which you can export to png, jpg. It also allows image optimization for iPhone/iPod/iPad – exporting PowerVR’s native pvr file format.

Many different settings allow you to optimize the sprite sheet you are making – e.g. by removing transparent pixels and allowing you to create an even better packing ratio. Padding can be added to avoid artifacts and much more.

This sprite sheet maker is not restricted to equal sized sprites like many are. You can pack any image size you want. The optimized max rects algorithm will give you good results – no matter what sprites you have to pack.

How sprite sheets can speed up your 2d and 3d games

When starting to develop a game you need a big amount of image data. For a 3d game this is the texture data that is projected on an object’s surface – for a 2d game these are simply the objects and characters that bring your game to live.

In both cases many images are required. While it is working at the beginning to use single images it has several disadvantages:

  • Single files take a much more time to load
  • When drawing the sprites on the screen the graphics processor must switch between the sprites which also consumes time
  • Many files are hard to handle
  • Many files consume much more memory

With a sprite sheet these problems do not exist: The sprites are all stacked in one (or more) sprite sheets. An additional file tells the game engine where to find which sprite and how to display it. Think of it like packing many files in a zip file.

http://www.texturepacker.com/sprite-sheet-maker/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值