![]() To sort the sprites by using a _01.png suffix in the source files. This naming convention may be useful for automatic animations creation. Many times developers group the source images in different folders with a special meaning, for example, the images are grouped in an Attacking and Idle folders, so, by enabling this parameter, the names of the folders are prepended to the name of the frames: Attacking_001. Prepends the parent folders name to the frames name. If your source images have extra space (transparent areas) around the picture, then activating these parameters the editor generates a texture that removes that spaces and a JSON file that specify to Phaser to render the sprites with the right spacing. It is useful to remove artifacts from sprites animations, tile sprites, in general when the source images has color pixels in the borders. It controls the spacing between the sprites. In some platforms this kind of textures performs better. In the second case the editor generates a texture with a size power of 2. You can select Any Size (default) or POT (Power of 2). However, you can change the max size of the texture to make space for all the sprites. There are cases where the editor generates more than one page (images), to fit the given size. You can adjust the texture packing with the following parameters: Parameter ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |