文件夹将会变为粉色,并且有一个高兴的笑脸来指示它是一个只能精灵表。通过再次右键单击它,并选择”编辑只能精灵表...“来编辑精灵表的属性。你可以选择输出的式、压缩和抖动方式。 抖动将只被用于无所压缩PVR式。HTML 5 仍然不支持PRV贴图,因此,将会为HTML 5到处PNG,而不管如何设置。
If you need to access the smart sprite sheet's images from code, the name of the sprite sheet will be the name of the directory with the *.plist* extension added. The names of the sprite frames will be the name of the full path to the image, including the directories that it is in (but excluding any resource specific directories, such as *resources-auto*).
如果你需要从代码中访问智能精灵表的图像,精灵表将会被命名为"[目录].plist". 精灵帧们将会被命名为图像的完全路径,包括他们所在的目录(但不包括任何资源特定的目录,比如"resources-auto").
Sound Conversions
声音转换
Sounds needs to be saved in different formats for different platforms to play back optimally. cocosbuilder conveniently handles this for you. To use the automatic conversion feature, make sure that all your sound effects are saved in *wav* format. Longer sounds, such as background music should be saved in *mp3* format. When the sounds are published they will be converted to suitable formats for the different platforms.
声音需要为不同的平台存储为不同的式进行最佳回放.cocosbuilder方便的为你处理这件事.为了使用自动转换功能,确保你的全部音效存储为"wav"式.较长的声音,比如背景音乐,需要存储为".mp3"式.当声音被发布后,他们将会为不同的平台转换为合适的式.
以上就是关于cocosbuilder的全部内容,相信你一定会非常满意。
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/shenmilingyu/article-5850-2.html
虽然这次中国有点示弱
感觉世界就是美国家开的
你会越来约差