-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tutorial about conversion from swf to lwf #5
Comments
I've uploaded a FLASH production guideline doc. http://gree.github.com/lwf-demo/pdf/FLASHforLWFproductionguideline.pdf |
You can verify your FLASH scene in FLASH environment by using LWF_Publish.jsfl. https://github.com/gree/lwf/blob/master/tools/flash/LWF_Publish.jsfl Installing JSFL Scripts |
I try to bulid project tools swf2lwf but errors. Thanks and Regards. |
tested. seems like export works. my animations works in unity |
I agree with having a tutorial. I can't seem to get sprite atlas to work with the animation. I can't seem to find any tutorials on this besides swf2lwf command line but I can't seem to get that to work. If any one has had success on this PLEASE help me out. Thanks! |
Thank you Adamcbrz. Can you please take a look Texture Packer. Anyway, a tutorial for converting swf by using Texture Packer's json data would be required... |
Here is a quick tutorial for making sprite atlas for LWF:)
ruby swf2lwf.rb sprite_atlas.swf
/Applications/TexturePacker.app/Contents/MacOS/TexturePacker --format json --data sprite_atlas.json --sheet "sprite_atlas_texture.png" sprite_atlas.lwfdata/*.png
ruby swf2lwf.rb sprite_atlas.swf sprite_atlas.json |
First thanks for getting back to me! Thats what I had figured out but when I run through this process and import it to Unity I see the animation on meshes but the atlas doesn't show correctly. Every Mesh shows the entire atlas. My process is as follows:
I will include the flash file and unity project to see if you can see what I am doing wrong. Drop box link: https://www.dropbox.com/s/4d5es1xv74efc80/LWFTest.zip Edit: I am using Unity 4.0.1 Thanks, |
Image file names that used for TexturePacker have to be as same as Linkage names.
/Applications/TexturePacker.app/Contents/MacOS/TexturePacker --opt RGBA4444 --scale 1.0 --format json --data Jake.json --sheet "Jake_texture.png" Jake.bitmap/*.png
|
Thanks worked great! |
i tryed by myself but got plenty of ruby errors.
only detect that flash version 7 supported for converting
The text was updated successfully, but these errors were encountered: