Layers "shake / wiggle" when working on pixel art animation (small size composition)
- July 19, 2023
- 2 replies
- 1083 views
Hi!
I'm working on a project in pixel art, drawing in Aseprite and animating in After Effects (2023).
The scene is 320x180, I scale the composition x6.0 and export to 1920x1080 and everything looks good as long as I keep layers on the proper mode (NO antialiasing) and the proper export settings.
The scene consists of a beach stroll, with a looped background. There is this one big parent layer, which is the sand/floor, and I just set the elements/layers on top to follow along that layer (with the spiral button thing), so they pass by at the same speed as they were laying on the sand.
The thing is... Some of the layer seem to be "attached" propperly to the sand, but some of them "wiggle" or "shake" a little as they pass by. I'm guessing this happens because the top layers are moving internallly in fractions of pixels, so sometimes when they render they appear to be a pixel ahead/behind and sometimes they are on "whole pixels" and they look ok. Is there some way to prevent this? This happens even in preview, before scaling the composition. I tried making sure the FIRST and LAST frame of each layer starts and ends in a whole pixel position but same result. If I manually tweak the position of a "shaky" element (a pixel to the left, or a pixel to the right), it sometimes "stabilizes", but I can't do that with each layer manually.
I hope I explained myself. You can clearly see what I'm talking about in the video attached (look at the guy inside the Beach Club, compared to other elements on the scene).
Thank you!
