Giter Site home page Giter Site logo

grapefrukt-export's People

Contributors

ankstoo avatar grapefrukt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grapefrukt-export's Issues

How are you keeping things smooth?

Im integrating your animation player into a SFML based engine and all the scaling looks super pixelated during rendering. Any idea how to smooth those out?

pixels

How do you handle skews?

cool exporter you've got here :) I'm using the animation extractor

I'm wondering how you handle skews. Because in DancingDarwin, there a symbol that is indicated as skewed(specifically rarm)

https://github.com/tsaizhenling/stuff/blob/master/Screen%20Shot%202012-09-07%20at%203.30.30%20PM.png

but in animations.xml, single rotation values are generated, just like all other components. I have parsed the data into an iOS project, everything looks right except that component. I'm guessing that I should not be skewing the movie clips at all.

Export Keyframe data only?

This project is truly awesome! I'm glad I found this. I was looking through the examples and messing around a bit and noticed that your XML export seems to bake the keyframe data to standard frames. Is it possible to export only the keyframes, and have whatever run-time engine interpret the tweens?

Frame data missing, even though Animations seem to be found

Hello,
I am testing the export and realized from watching the help video (even though I did not hear it mentioned), that one needs to set ActionScript linkage for the used library objects.

Now I have managed to get the export running, but I still seem to have something missing as I only get the Animation names in the animations.xml, the frame counts mentioned seem also correct (in my case 16 and 40 for two animations). But I am missing the actual frame data.

The exporter does give a warning:
ChildFinder removing unnamed instance: instance10 at frame: 1 in parent: [object mushmoving]

The time line for my library symbol [named: mushmoving] is like this:

title    | o mushing...........|o jumping..........|
control  | ........................................|
mushroom | o------>|o------->|o|o--------------->|o|

And on the main scene I have the


...
AnimationExtractor.extract(export.animations, new mushmoving);
export.export();

This is what I get in the animations.xml:

Animations
  Animation name="jumping" frameCount="16"
  Animation name="mushing" frameCount="40"
/Animations

Flash project file?

Hi,
the exporter seems very nice! Perhaps you could add the flp- project file to help trying to mess around with the project. I was planning to try out exporting to a custom format, and thus would need to create a custom exporter .swc. Or what do you think is the best way to start modifying/adding stuff to the exporter?

Duplication of assets

Due to the direct coupling between Textures and Animation Parts there is duplication of texture assets when assets are reused. We have for instance a scene with multiple butterflies that use the same sprite sheet animation. For each butterfly in the scene the exporter will create a separate animation texturesheet. This is hugely wasteful especially for big animation sheets.

Is this something you have run into or something you plan to do something about?

Exporting Bones

I am working on a project that needs a custom puppet system built for it. Your grapefrukt exporter has been just the right tool to find to create an XML file from the Flash animation. However, I cannot find a code that allows me to export to an XML from the bones of the animation skeleton in Flash that contain movie clips.

Is there a code that I am missing to allow me to export bones to the XML file? I have gone through your tutorials and have been glued to your YouTube channel for a few hours now trying to see if there is anything I missed. Any information or help would be greatly appreciated!!

Shared zIndex

Hi, we're using the exporter and it's awesome, thanks.

One thing we run into, is that sometimes zIndex isn't correct.

There are a bunch of layers in the exported sheet that share a zIndex, can you describe where zIndex is coming from? We do a bunch of things such as duplicate art and give it different symbol names, so I'm wondering if this has something to do with it. Our solution right now is to manually change the zIndex for the texture's that are out of order.

Thanks!
-David

JSFL?

Why not using JSFL?

Skew support

Sorry, I didn't noticed any skew transformations. Is skew supported by your awesome exporter?

The xml export does not include the draw order

For instance the god scores export has the layers export in the following order:

  1. cloudback
  2. cloudfront
  3. rainbow
  4. rays
  5. text

The actual draw order is by my best guess the following:

  1. rays
  2. cloudback
  3. rainbow
  4. cloudfront
  5. text

Either the Part or the Frame should include a draw order or z value. My understanding of Adobe Animate is limited so I wouldn't know..

Problem with elements size.

Hello, I use the lattest version of grapefrukt-export.

I have made animation character in Adobe Flash.
enemy fla_1

Then, I added grapefrukt-export and exported character (with script).
enemy fla_2

But, there is the troubles with texture size in exported files. I take head to show you example, but there is the same situation with other parts of enemy character.
enemy fla_3

Can you help me? What's the problem?

FrameRate not Exported.

The framerate is never exported, even when using:

Settings.defaultFramerate = -1

(Is it even possible to get the framerate of a MovieClip?)

Export to xml x and y coordinates of the display object

May be I didn't found something, grapefrukt seems very sophisticated project with lots of features, but I have a problem of exporting flash project into Starling. Grapefrukt works well, but I am getting xml which looks like this:

<Textures>
  <TextureSheet name="copy1">
    <Texture name="R_05" width="30" height="30" path="copy1/R_05.png" registrationPointX="15.00" registrationPointY="15.00" zIndex="201"/>
...
 <Texture name="n_1_99" width="45" height="40" path="copy1/n_1_99.png" registrationPointX="2.00" registrationPointY="2.00" zIndex="1"/>
  </TextureSheet>
</Textures>

There is no coordinates of objects and that's strange why do you need zIndex, if you don't have coordinates? May be I've missed something, or please give me idea how to make it. Thanks in advance!

Adding a font to a texture atlas loses sheet entry.

Hi,

First off, incredibly useful tool, thanks for making open source! :)

I've been R&Ding the atlas exporter, which is working really well, however when adding a font to the atlas, the font image is added, but the texture sheet entry doesn't exist, so I don't know the rectangle of the font in the bitmap.

Have you seen this behaviour? What do you think is the best way around this?

Cheers,
Shane

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.