funexpected / flash-tools

Export flash project to Godot
MIT License
21 stars 4 forks source link

Windows 10 export issue #1

Closed davord45 closed 3 years ago

davord45 commented 3 years ago

Hello I get the following error when i try to use Export.jsfl in Adobe Animate 2020 on Windows 10 image I followed the instructions in README.

davord45 commented 3 years ago

It only manages to make a recover fla project

jkb0o commented 3 years ago

Looks like there are wrong path delimiters. Will fix it shortly.

jkb0o commented 3 years ago

Should be fixed in 0.2.5 release. Reopen please if not.

davord45 commented 3 years ago

Can you update the zip linked in the README?

jkb0o commented 3 years ago

Readme links to the latest release, if it doesn't work, then the bug has not fixed probably. Can you please post the output of the export command and error after updating to the latest release?

davord45 commented 3 years ago

I will test it out once i am back at the laptop

davord45 commented 3 years ago

I still get these 2 errors. Output is also visible in the screenshots image image These are the settings that i put in the scripts: image Tell me if i am not doing something right

jkb0o commented 3 years ago

You did everything fine. I've finally got windows virtual machine, fixed and tested all this stuff. Should work like a charm (except I can't run Godot on the virtual machine for now).

Please, download the latest release (https://github.com/funexpected/flash-tools/releases/tag/v0.2.7) and tell me if there any problems left.

davord45 commented 3 years ago

It works great,thank for taking the time to fix it image

Can i ask you what is active timeline property for? Can it be used to link the animation to AnimationPlayer?

Can you export more than one animation from Adobe animate? Does one zfl contain one animation?

If you could make a tutorial how this module works i would appreciate it!

jkb0o commented 3 years ago

You're welcome!

For now, you can export flash in 3 modes: Document (only document and dependencies), Library (root library items with dependencies), and Active screen (only currently edited active item with dependencies). Active timeline property switches what animation (library item) should be played, it is most useful if you export flash in Library mode.

For example, there is how one of our library is organized (the document is empty):

Screenshot 2021-02-28 at 23 51 59

And there is how it appears in Godot:

Screenshot 2021-02-28 at 23 51 30

There are labels and skins (variants) that also may be appeared in the properties, but I'll cover those features in docs and tutorials.

davord45 commented 3 years ago

This is really amazing,i will definitely keep an eye on new updates!