GithubHelp home page GithubHelp logo

creatide / animatemate Goto Github PK

View Code? Open in Web Editor NEW
1.3K 1.3K 78.0 45.38 MB

Create your animations directly in Sketch using AnimateMate.

Home Page: http://AnimateMate.com

License: MIT License

JavaScript 100.00%

animatemate's People

Contributors

alexeymakdes avatar creatide avatar duoable avatar headlessme avatar niittymaa 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  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

animatemate's Issues

exporting animation breaks views

I create my animation as usual but when I start the export the animated frames just disappear...
They are still there in sketch's layer list but not graphically here, and they don't appear in the animation either.

Sketch version : 41.2

Can't create animations in Sketch 3.4.2

This is on a clean install of Sketch 3.4.2 with the latest version of AnimateMate.

Selecting an object, then trying to animate with any of the animation options just fails silently.

This is my first time using AnimateMate, so apologies in advance if this is a user error! Happy to provide any more information that would be useful!

Plugin Jams Sketch to a Halt?

The whole Sketch application became unresponsive after installing this plugin. Tried to restart system & open again to no avail. Removed this plugin and reinstalled Sketch and everything worked again.

Sketch v. 41.2 (35397), OS X 10.11.6. I can share crash logs from the system if needed.

Crash

These settings caused AnimateMate to hang after clicking "Ok". Had to force quit Sketch to recover.

Interface and mask

Hi, great plug in over all.

Whats about a more comfortable interface (may be inside the inspector)?

And, whats about to animate a mask?
Lets say to move a "cutted" rectangle from out a big dark one to explain some buttons or other function of a screen ...

Have a look here

Thanks

When exporting element go away

Hello,

I can't test this plugin because when i export my artboard my element with animation go away.
The layer that must be animated still fly away and i can't see it in the animation ...

Do you know why ?

Application stops responding

Hello, I installed your plugin on my Macbook Pro (8 GB RAM) with Sketch 41.2 installed.
Whenever I try to export the animation even up to 5 frames, Sketch stops responding.

Any idea for this?

Thank you!

Suggestion: Save animation properties as layer metadata

@niittymaa congrats on making an awesome plugin. Such a great start!

One quick suggestion: You can save animation properties as layer metadata instead of using the layer name (which is prone to errors since layer names can easily be changed by users). It's easy to set the metadata using MSPluginCommand (docs for reference: http://developer.sketchapp.com/reference/MSPluginCommand/)

For example, to set the value:

var layer = context.selection.firstObject();
context.command.setValue_forKey_onLayer_forPluginIdentifier(animationProps, "animationProps", layer, "com.creatide.sketch.animatemate");

To read the value back:

var layer = context.selection.firstObject();
var animationProps = context.command.valueForKey_onLayer_forPluginIdentifier("animationProps", layer, "com.creatide.sketch.animatemate");

Looking forward to seeing how you take this plugin forward. Good luck ๐Ÿ‘

GIF quality settings? (i.e. dithering for shadows)

Hi, great plugin, congrats!
Trying to export a menu, but its shadow won't export well
(the GIF shows a solid shadow instead of a smooth dithered one)
Is there a way to set dithering export for GIFs?

Thanks

remember export options

export settings options are not remembered for the next export.
example: I select gig instead of PNG sequence, and set the delay to 20 frames, next exports, these are all reset to default

Rotate animation doesn't work

Rotate animation doesn't work when I save the frame with object rotated, I need to manually edit the rotation values in the json

Export in multiple sizes

Awesome plugin!

Currently exported GIFs are at 1x resolution, it would be great if you could export at different sizes @2x @3x and so on.

Keyframe relative to last frame

Now, I'm creating an animation like this:

  • _
    • Move object
    • Create animation at 0
  • _
    • Move, scale object
    • Create animation at 15
  • _
    • Move object
    • Create animation at 35
  • _
    • Reset transform
    • Create animation at 50

It will be useful, if we could enter relative values:

  • Move object, +0
  • Move, scale object, +15
  • Move object, + 20
  • Reset transform, + 15.

So, there will be 50 frames.

PNG Spite

Hi,
it would be awesome if I could export teh png sequence as a sprite.
This would reduce my workload for generating animated icons.

Cheers

@2x and @3x options while exporting?

Right now I have to make my artboard twice the resolution to export the animations at full resolution. having a 2x and 3x option in the export window would help this a lot!

Offset added after exporting animation

First, thank you for this amazing plugin. I really appreciate your work!

But I have a problem when exporting the animation with multiple layers. I see that you're calculating the key frames based on the artboards X and Y coordinates. I was trying to only animate a nested layer. After the export, the animated layer has been given an offset. The offset is the same X and Y values of the parent layer of the nested layer.

For example, I have my artboard. Then there is layer 1 with (0, 40). Inside layer 1 is another layer 2 which I animated with keyframes. After the export, layer 2 has been moved 40 pixels down on the Y-axis.

Hope you understand my problem. ๐Ÿ™ˆ

Sketch 42 and 44, Crash on Export, recreating files as they are removed

As the title suggest, AnimateMate is doing some really weird stuff right now. As you export, Sketch crashes but creates the animation. Sometimes they don't work either. After that, you cannot delete the gif, it recreates itself every minute taking up loads of space on my drive. Until i restart my Mac.

Also thanks for creating AnimateMate, it's the only plugin I use for Sketch, it's so amazing!

Exporting to .GIF

Thank you creating and sharing this plugin. I'm new to Sketch and I'm trying to create a simple animation for a research project but I'm unable to export the file to .gif. However, when I export .png I can see all the images so I'm doing something right, but .gif won't work. This happens regardless of how small/simple my animation is. I'm running the trial version of Sketch on Sierra, for what it's worth. Any help would be much appreciated.

Ease visualiziation

usldm

A visual way of selecting the ease would be much quicker. Right now the drop down is rather hard to use. a larger window with more options visible would be much easier to use.

Support Sketch 45 plugin update system

Hi there!

This is a quick note to remind you that Sketch 45 will include a plugin update system.

It would be awesome if you could add support to it (it's really easy!) before Sketch 45 comes out. Ideally, you should release an update for your plugin while we're still in Sketch 44, so your users will have a nice & easy experience when 45 is released.

For more details, please check http://sketchplugins.com/d/229-updating-plugins and http://developer.sketchapp.com/introduction/updating-plugins/

Thanks in advance!

Loop count issue

Thanks for this super handy tool!

I've tried setting the loop count to 0, 1, 2, and 3, no luck on trying to figure out how to not make it loop. Am I just using it wrong?

Sketch keeps exporting old version of animation

I made an animation, exported it as a gif, changed the alignment, and tried re-exporting it. Every time I do, it's the old alignment which exports; the same gif keeps saving as the first time.

I have no idea why this is happening. I didn't change anything else, and I'm exporting it the same way. I've completely deleted the old version. I can't get the updated animation to export and it's driving me crazy.

Anyone know what is causing this?

Pie animation example

Hello, thanks for this wonderful plugin. As I just digging through your examples and recreating it, I stuck on the clock example.

How did you animate the pie? Would you be so kind to give me a short explanation?

Bugs, No Scrollbar and Enterproblem in Edit Animation Window

Hi,
first, nice plugin!
I have the problem that I don't get a scrollbar if I have a lot of keyframes and if I press the enter button it will not generate a new line, it will close the window.
Theese both things are not so smart for a good usability.

Cheers

Animate will not be export

Hi,
if I'm finished with my animation and will export this I don't get any gif or png in the selected export folder?
What could be wrong?

Cheers

Export scaling doesn't work after Sketch 41

It seems that scaling in export dialog is broken after Sketch 41 update.

Problem was caused MSExportRequest command and I guess it's changed in Sketch 41 API.

var scaleSlice = [MSExportRequest requestWithRect:utils.artboardRect scale:scaleValue];
utils.doc.saveArtboardOrSlice_toFile_(scaleSlice, fileName);

I disabled it for fast fix for 41+ versions until I found how it works now. Anyone have idea how it should be now?

Always Exports Infinite Loop

Even though I change the Loop Count setting to 1 (or any other number), the GIF exports as an infinite loop. Anyone else have a solution for this?

EDIT: Sorry, I'm an idiot. I realized Mac Preview just loops GIFs no matter what (I think). I'll close this for now.

gifsicle Process does not finish in Sketch 42

I am using Sketch 42. With the latest version of AnimateMate I can export but the gifsicle Prozess consumes 100% CPU und does not finish. When I force quit it it is gets restarted over and over.

I am Using Sketch 42 on macOS 10.12.3

New way of storing animation information

The current method of saving the information in the layer name is not the best. I remember other plug-ins that solves this by putting those informations in the layer description and not title. (or something similar. I'm not a developer, but I read the issue on another plug-in and the solution was explained like this)

Text changing colour support?

I've tried changing the colour of the text from frame to frame, but it changed the colour on every frame instead. not sure if colour change is supported for objects or not. but having the support would be nice. The ability to change fill colour and stroke colour both would be nice as well.

.gif files not exported in sketch 48.2

When exporting an animation as GIF the plugin notifies "GIF created successfully in ", but no GIF file is actually there. The png sequence export works fine.

How do you disable looping?

I tried unchecking the 'Enable Loop' box when exporting my animation, but it still loops forever. Is there another way to make the gif loop only once? Thanks!

Animating object inside a group results in shifted position for the child object.

Animating an object within a group results in that object X and Y position shifted by the sum of respectivelly X and Y position of the group + X and Y position of the object itself.

I've attached a screenshot, the left artboard is how it was set in the keyframe, X and Y position at the top left corner. The right artboard is how it gets exported.

If not clear I can elaborate a bit more, but I'm not sure if Sketchapp X and Y behaviour has changed within groups but it appears the reference point is not the group itself but rther the top left corner of the canvas even inside a group.

screen shot 2017-05-23 at 09 26 18

Export GIF quality is bad

Hi,

I'm trying make some animation by using AnimateMate.
However, I found the GIF file's quality is bad.

The original design in Sketch is vector.

image

The exported GIF file is:
Happy_0-15

Is there settings to set the export quality or something wrong with my Sketch?

Thanks in advance.

Is this project dead?

I'm looking for a free animation tool and AnimateMate is pretty good so far, except I'd really like to:

  1. See a preview without having to export
  2. Easily jump between keyframes to make adjustments

I see these are in the roadmap, however I'm cautious to start using this plugin since the last time it was updated was 10 months ago.

Animate a shapes vectors?

First off I want to say I love AnimateMate, great tool.

I noticed that AnimateMate will scale any given shape (polygon) but if I were too change the polygons mesh (see attached image) then it will just treat the new mesh as the current mesh and maybe resize it.

slice 1

would it be possible too have AnimateMate discover that a layers shape has changed using a local coordinate system and then animate between the two vectors?

is it possible to export the created animations as specs in JSON format?

the way I see it is that say you have created an animation eg genie effect, which you want to use in an iOS application. However you want to be able to apply that animation to a button or an image. So if we can export the created animation as specs of opacity, transform, timing curve, keyframes (where applicable) then each system, either iOS or Android can read that as specs and generate animations that it can apply to any object

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.