![]() Following these guidelines will make the contribution process a lot smoother and faster. ![]() We invite you to help make Defold an even better product! You don't even have to be a coder to contribute! You can contribute in the following ways:īefore you start contributing we would like to ask you to familiarise yourself with our contribution guidelines and our code of conduct. Thank you for visiting the Defold open source contribution guidelines. defold/defold/blob/dev/CONTRIBUTING.md#new-features # Contribution Guidelines We usually start with a design document to discuss how to implement the feature before we start implementation. ![]() Thank you for the contribution and Artem! This is definitely something we want but seeing as it is new functionality we need to make sure it is well implemented and follows our design principles. There is no guarantee it’s going to be accepted and merged but I hope it will. The exported supports storing atlas settings and animations settings such as margin, padding, FPS, playback and so on.Īn editor script was created that takes a spritesheet image generated by TexturePacker with a JSON file containing information on each image inside the spritesheet and splits up the image into individual files suitable for the atlas. The exporter generates atlas file for Defold and a JSON file for the Spritesheet Split editor script. To ease the generation of such atlases a custom exporter was created for TexturePacker. This new information about the images can be entered by hand or a special user script can be used to prepare such atlases. `Source Width` and `Source Height` indicate the original image size and they are needed to correctly center the trimmed image inside the animation frame. `Source Position X` and `Source Position Y` indicate the position offset of the trimmed image inside the original image from the top left corner. Namely `Source Position X`, `Source Position Y`, `Source Width`, `Source Height`. This feature introduces new fields for images in the atlas outline pane. Therefore only the editor and bob were modified to add the trimmed images support. The engine itself already has support for arbitrary vertex positions for each image which was introduced with the Sprite Trim Mode feature. Texture sizes can be greatly reduced by trimming transparent pixels around the a … ctual sprite image.
0 Comments
Leave a Reply. |