Как делать 2D АНИМАЦИЮ Сегодня? - Всё виды и подходы, Софт, ИИ, Для Игр и Мультиков — Transcript
Full transcript
- 0:00Most people think 2D animation looks
- 0:02like this. But over the last decade, it
- 0:05has advanced significantly. 2D graphics
- 0:07can be like this, like this, and even
- 0:10like this. And in this video, we'll
- 0:12take a look behind the scenes at how
- 0:13all this is created. Greetings,
- 0:22developers, KBSTARS Entertainment is on
- 0:24the line. In the last video, we broke
- 0:26down the 12 principles of animation
- 0:28that Disney uses. And now we will take
- 0:30an in-depth look at how 2D animation is
- 0:32made. Let's start with classic
- 0:33frame-by-frame animation. You will
- 0:35learn how the very first animation was
- 0:37created in the 20th century, how
- 0:38cut-out animation works, and where it
- 0:40is applied. What is rotoscoping and how
- 0:42does it make life easier for animators?
- 0:45How is it applied in the gaming
- 0:47industry, allowing modern animation to
- 0:48skip drawing every frame and generate
- 0:50them automatically? What is a phase
- 0:52transition? How does vector tweening
- 0:55work? Why is mesh deformation such a
- 0:57cool technology? Also, 2D skeletal
- 0:59animation, procedural animation, and
- 1:01what is used to create it. I'll quickly
- 1:04show how to make particles to music in
- 1:06After Effects. What can neural networks
- 1:08offer us in 2D animation? Let's look at
- 1:10the best neural networks. What do you
- 1:12do with finished animation and how is
- 1:14it integrated into games? How are
- 1:15animations triggered and blended in
- 1:17games? And we will also look at the
- 1:19software used to create all of this,
- 1:21and which one is the industry standard.
- 1:23Fasten your seatbelts. Let's go.
- 1:28Frame-by-frame animation.
- 1:31Two-dimensional animation as the
- 1:32foundation of animation in general.
- 1:34Let's start, as always, with the
- 1:35origins, the simplest thing.
- 1:37Frame-by-frame animation. An artist
- 1:39draws a frame by hand, then draws the
- 1:41next frame from scratch. Each
- 1:42subsequent one differs from the
- 1:44previous one. Then animators change
- 1:45them quickly, doing it like this:
- 1:46boom-boom, boom-boom, boom. And you get
- 1:48animation. Thanks everyone, goodbye.
- 1:51That is how the very first animation
- 1:52was created. This process is quite
- 1:54labor-intensive. Nowadays it is rarely
- 1:56used, except in some niche areas. But
- 1:58this method is still used for
- 1:59storyboarding a draft version of an
- 2:01animation. A static set of pictures is
- 2:03created, which is called a storyboard.
- 2:05Then these frames are placed on a
- 2:07timeline. This helps to understand at
- 2:09what point in time one animation or
- 2:11another will start. The vector of the
- 2:12narrative. Scene timing helps to add or
- 2:15remove unnecessary frames. At the same
- 2:17time, they can overlay a draft
- 2:18voiceover. And such an animation of
- 2:20static frames is called an animatic. It
- 2:22is also found as a form of art and can
- 2:24be used in simple 2D games. An artist
- 2:27draws frames using pixel art, vector
- 2:29graphics, or their own magical little
- 2:31hands using brushes in Photoshop or
- 2:32something similar. For optimization,
- 2:35these frames are combined into one
- 2:36texture. Such a texture can be called a
- 2:38spritebook, sprite sheet, or sprite
- 2:40atlas. It is loaded into RAM entirely
- 2:42at once. There's no need to pull out
- 2:44each frame separately. Then the engine
- 2:45cuts it back into cells, into sprites,
- 2:47and these frames change quickly. This
- 2:49can be called a flipbook or a sprite
- 2:51clip. In short, the concept is like a
- 2:53GIF. At the right moment in the game,
- 2:55the needed gif is swapped in, whether
- 2:56it's jumping or running. Similar things
- 2:59can be done using shader code. Here,
- 3:01time is used to switch phases in the
- 3:02texture. Shader animation can also be
- 3:04procedural. This is better suited for
- 3:07various effects. Actually, the proper
- 3:09concept of 3D in 2D is a complex thing.
- 3:10A character on a plane isn't always
- 3:12seen just from the side. Sometimes you
- 3:13need versions seen from behind or the
- 3:15front. In games, these are separate
- 3:17images. Limited animation is when there
- 3:19are few frames. To make this look
- 3:22interesting, a jitter effect is used.
- 3:26TVPaint is suitable for classic
- 3:27frame-by-frame animation. Clip Studio
- 3:31Paint, as well as Cacani, are also
- 3:34frame-by-frame. And there is
- 3:36auto-inbetweening, and tracing. And
- 3:38another program for frame-by-frame
- 3:40animation is Krita. Its advantage is
- 3:42that it is free. Pencil. It has the
- 3:45ability to draw animation. It is free.
- 3:48Frame-by-frame animation can even be
- 3:50done in Photoshop if you enable the
- 3:52timeline. Did you know that there were
- 3:54no powerful computers back then? No,
- 3:55seriously. Here is the proof. Look, not
- 3:57a single MacBook. Naturally, the Disney
- 3:59employees didn't like this, and they
- 4:01caused scandals. Whole concerts, I
- 4:03would say. That's how the musical score
- 4:06for future animation was made. First,
- 4:08several hundred sketches were created,
- 4:10illustrating key moments of the story.
- 4:12Then the animators drew the characters
- 4:14'outlines on a light table, for every
- 4:16single frame. Periodically, they had to
- 4:18look at the previous frame. The
- 4:19animator would copy his own expressions
- 4:21using a mirror. Then the frames needed
- 4:23to be tested. Each frame was
- 4:25photographed, and then the animator
- 4:27viewed them on a special projector
- 4:29called a Moviola. That’s how the
- 4:31staff tested rough animation. After
- 4:33approval, these drawings were sent to
- 4:34the ink and paint department, but they
- 4:35weren't painted there. The drawings
- 4:38were covered with sheets of transparent
- 4:39celluloid, and paint was applied over
- 4:41these sheets, filling in the outlines.
- 4:43In another department, they drew the
- 4:45background. These are the various
- 4:46backgrounds of rooms and so on. And the
- 4:48final stage is shooting the frames. The
- 4:50background and the film with the
- 4:52character were laid on a table, and the
- 4:54camera above took one shot. And this
- 4:55had to be done more than half a million
- 4:57times. The final editing was just as
- 4:59engaging. The film could be physically
- 5:00cut and spliced with special glue. Next
- 5:03, the film reached those specialists,
- 5:05and various sound effects were recorded
- 5:07. And in the end, you get Snow White
- 5:12and the Seven Dwarfs. Oh, wait, that's
- 5:15not it. Terraforming, base building,
- 5:20modular weapons, and various modes. And
- 5:23all of this in multiplayer. Add Chumby
- 5:25to your wishlist on Steam. That way you
- 5:28support me as a developer. Cutout
- 5:30animation. So, animators from all over
- 5:33the world got together. And this is
- 5:35just not working. This is just not
- 5:37right. Drawing every frame from scratch
- 5:38takes too long. Yeah, way too long. By
- 5:40the way, what's your name? Yura
- 5:42Norstein. Well then, Yura, come up with
- 5:43something. Okay. Hmm, cutout animation.
- 5:46We take a drawn character, so what then
- 5:48? We cut it into pieces, and then we
- 5:50simply move those parts every frame.
- 5:53That's how the cartoon Hedgehog in the
- 5:55Fog was created back in 1975. For
- 5:57convenience, the parts could be
- 5:58connected with wire. A big shout-out to
- 6:01South Park. In the digital age, it's
- 6:03enough to cut an image into pieces, and
- 6:05then move and animate those parts. Here
- 6:07, instead of wire, they are fastened
- 6:09using pivot points. This is an anchor
- 6:11point, the parent of skeletal animation
- 6:12. And when it comes to facial
- 6:14expressions, many types of eyes and
- 6:16mouths are created in advance, and then
- 6:17the right one is simply swapped in.
- 6:19That is the same way Ellipsin is
- 6:21created. Cutout animation can be
- 6:23frame-by-frame or interpolated via
- 6:25keyframes. There is an artistic
- 6:27approach called animation mixing.
- 6:29Cutout is mixed with frame-by-frame
- 6:30animation. It turns out that it's
- 6:32standard skeletal animation, but with
- 6:33something redrawn each frame. Adobe
- 6:35Animate, formerly Flash. Classic
- 6:37frame-by-frame animation. It also has
- 6:39cutout, but it's very simple. OpenToonz
- 6:42. It has cutout and frame-by-frame
- 6:45animation, plus it's free. There is
- 6:48tracing, auto-inbetweening, and
- 6:51rotoscoping. Yes, of course, drawing
- 6:54every frame is very exciting,
- 6:55especially when you need to create
- 6:57hundreds of animations. To convey
- 6:59realistic human movement, you need to
- 7:01understand body biomechanics. But while
- 7:03the animator is looking at a body and
- 7:05absorbing its biomechanics, time is
- 7:06ticking away. Why try to draw something
- 7:09from scratch if you can just copy it,
- 7:11film real movements on camera, and then
- 7:13trace every movement frame-by-frame?
- 7:16This technique is called photo-cutout,
- 7:18but more often rotoscoping. This
- 7:20technology was popular in the 20th
- 7:22century, but it is still applied to
- 7:24this day. It was invented and patented
- 7:26by Max Fleischer in the early 20th
- 7:27century; he filmed his brother's
- 7:29movement against a white background and
- 7:31then redrew everything by hand. And he
- 7:33did it with the help of a rotoscope. A
- 7:36projector cast frames onto glass, and
- 7:38the animator—or rather, the artist—
- 7:40traced them. Using this, Max made the
- 7:42Out of the Inkwell cartoons. Later,
- 7:44after the patent expired, Disney and
- 7:46the film industry used it. In Star Wars
- 7:48, they added the glow to the
- 7:49lightsabers that way. Now you can
- 7:51encounter it in all sorts of motion
- 7:53design, where a person is traced
- 7:55frame-by-frame. This can all be traced
- 7:59back to some animation. I won't say
- 8:01whose, I think many will recognize it.
- 8:03A single skeleton, only the outer shell
- 8:06changes. To achieve a depth effect in
- 8:083D space, like the one you see now,
- 8:10scene objects were arranged in layers
- 8:12at a distance from each other, and the
- 8:14camera moved forward or backward,
- 8:16changing the focal length. The result
- 8:18was a parallax effect. The creator of
- 8:20Mickey Mouse loved catching mice and
- 8:21dressing them in beautiful dresses.
- 8:23When he found out about the rotoscope,
- 8:25he created his first motion action.
- 8:33That's all untrue, of course. In the
- 8:35eighties, rotoscoping came into the
- 8:37gaming industry. There was a game
- 8:39designer named Jordan Mechner. Oh,
- 8:40maybe he still is. Who knows. Game
- 8:42designer Jordan Mechner, do you know
- 8:43what he did? He filmed his karate
- 8:45instructor's movements, and then, you
- 8:47know what? He traced them. So, he ended
- 8:49up with karate animations for a karate
- 8:51game. The Karateka animation turned out
- 8:53smoother and more realistic, and he
- 8:55liked it so much that he decided to use
- 8:57it in his next game, Prince of Persia.
- 8:59He just used it to make his work easier
- 9:01. He asked his brother to play the role
- 9:03of the prince and perform stunts on
- 9:05camera. And what did he do? He traced
- 9:07them again. But rotoscoping is not a
- 9:12relic. It can be used in modern games
- 9:14as well. And there are quite a few of
- 9:16them, by the way. But these are mostly
- 9:17platformers. You are looking at one of
- 9:19them right now. Deadlight from 2012. If
- 9:23we're talking about ultimate realism,
- 9:26then it's only motion capture suits,
- 9:28sensors, and frame-by-frame animation.
- 9:33The fastest way to make a smooth
- 9:34transition between two frames is to
- 9:36smoothly animate their opacity. The
- 9:38previous frame fades out, and the next
- 9:40one fades in. And you can make it more
- 9:42stylish here. Instead of intermediate
- 9:44frames, insert copied and slightly
- 9:46modified keyframes. This is so-called "
- 9:49springiness." As a result, the
- 9:50character seems to spring slightly when
- 9:52changing poses. An intermediate frame
- 9:54is a phase. To smoothly move a cube
- 9:56from left to right, you don't need to
- 9:58draw every frame by hand. It is enough
- 10:00to use parametric animation. You set
- 10:02the starting and ending positions. Here
- 10:04, the object is a separate layer, and
- 10:05the program moves it itself, drawing
- 10:07the necessary frames between the main
- 10:08ones. This approach exists in
- 10:10absolutely any software related to
- 10:12animation. We can animate any parameter
- 10:14. For example, displacement and
- 10:16transparency. There are two types of
- 10:18images: raster, which is a regular set
- 10:20of pixels, and vector. A vector
- 10:21consists of mathematical curves that
- 10:23can form a contour. This contour is
- 10:25filled with color, a gradient, or a
- 10:27texture. Unlike raster, vector images
- 10:29do not lose quality when zoomed in. But
- 10:32most often, the vector is rasterized
- 10:34anyway. It is used more for the
- 10:36convenience of creation, because these
- 10:37splines can be edited at any time. Or,
- 10:40the vector can be used in its original
- 10:42form in web design or motion graphics.
- 10:44Motion design is all sorts of animated
- 10:47stuff. Vector graphics can be created
- 10:49in Adobe Illustrator, Figma, or
- 10:51Affinity Designer. It is usually
- 10:52exported in SVG format. Sometimes you
- 10:54can also encounter EPS. Vector and
- 10:57raster can be converted into each other
- 10:58, but it is better not to convert
- 10:59raster to vector, as it will be a very
- 11:01heavy file. By the way, I have
- 11:03tutorials on 2D graphics, on how to
- 11:05draw. Check out the playlists on my
- 11:07channel. Of course, when you need to
- 11:09create cartoons with a long timeline,
- 11:11drawing every frame is not very fun.
- 11:13You need production speed, and that’s
- 11:15where keyframe animation is used. You
- 11:17take a frame with the character's
- 11:19initial pose and the final pose. You
- 11:21get two keys. And the intermediate
- 11:22frames are created automatically based
- 11:24on the data from the first and last
- 11:26frames. This is called interpolation.
- 11:27Sometimes an additional intermediate
- 11:29frame, a breakdown, is needed. This is
- 11:30the peak pose. For example, the
- 11:31character's highest position in a jump.
- 11:35In interpolation, you may encounter
- 11:36terminology. When it smooths at the
- 11:38beginning, it's called ease-in or
- 11:40ease-in. And out is a smooth exit. Ease
- 11:42is all of that together. This is how
- 11:44presets are designated. Such an
- 11:46automatic transition from pose to pose
- 11:48is called morphing. In 2D, this is
- 11:49vector morphing, or vector tweening.
- 11:52Since vector drawings consist of points
- 11:54connected by mathematical lines, these
- 11:56points can be moved at any time,
- 11:57including creating animation with them.
- 12:03It is very reminiscent of blend shapes
- 12:05in 3D graphics. Mesh deformation
- 12:09animation. Morphing can also be done
- 12:11with a raster image. The picture is
- 12:13placed into a grid marked by points.
- 12:15These points, which deform the image,
- 12:17are animated. I would divide this into
- 12:19three types. The first is using edges.
- 12:22Points are marked, which are then
- 12:24connected by edges. Like this box. A
- 12:26very vivid example. This forms, as it
- 12:28were, 2D polygons, and the image is
- 12:30attached to these polygons. I think it
- 12:31will be clear how this looks later.
- 12:33Let's move these edges. The effect is
- 12:35close to 3D. The second type is point
- 12:39animation. We place the points. A grid
- 12:42also appears, it's just hidden from
- 12:44view. These points are like vertices in
- 12:46a 3D model, but there are some
- 12:47limitations here. You can achieve the
- 12:49effect of turning a character, but
- 12:50visually such a rotation angle will be
- 12:52limited by the image itself. But here
- 12:54you can achieve more organic shapes.
- 12:56Nevertheless, for 2D graphics, it looks
- 12:58very cool. It is well suited for facial
- 13:00animation. Such animation is available
- 13:02in the Spine program. It is even in
- 13:04After Effects. We import a PNG with a
- 13:05transparent background. We take the
- 13:07Puppet Tool, the pin icon at the top.
- 13:09We place points along the limbs. As I
- 13:11said, a mesh grid is formed; in After
- 13:13Effects, it can be displayed by
- 13:15checking the box at the top. The main
- 13:16thing here is to put an anchor point at
- 13:18the beginning so that the subsequent
- 13:19point doesn't stretch the entire image.
- 13:21We create points, and the edges are
- 13:23formed automatically. Only we don't
- 13:24move the edges, but the points. Without
- 13:26a point nearby, the whole picture would
- 13:27be pulled. This is very similar to
- 13:29skeletal animation. The alpha channel
- 13:30is even taken into account. Although
- 13:32there are no such bends here as in
- 13:33skeletal animation, it still looks
- 13:35excellent. And let's put one in the
- 13:37center of the head. Now we can animate
- 13:39this using regular keyframe animation.
- 13:42We change the position of the points,
- 13:44fix them with keys, and the
- 13:45intermediate frames are created
- 13:47automatically. We can place these
- 13:49points around the object, creating a
- 13:51sort of shell, and the shape of the
- 13:52object itself deforms. True, the method
- 13:55with edges is better suited here. Such
- 13:57outlines can be created using
- 13:58auto-trace. We get a shell like in
- 14:00vector graphics. And the third type of
- 14:02deformation. Next. Skeletal animation.
- 14:07Redrawing frames is not about saving
- 14:09production time, but about achieving
- 14:11realistic movement. If you need to save
- 14:13time. In 2D animation, there is also
- 14:16skeletal animation, just like in 3D. A
- 14:18skeleton is created from hierarchically
- 14:20dependent bones. They bend at the
- 14:22joints. The character or object is
- 14:24broken down into separate component
- 14:26parts. Yes, and usually these pieces
- 14:30aren't separate images, but are
- 14:32combined into a single sprite atlas.
- 14:35These parts are attached to the bones.
- 14:37Where else would they be attached? Then
- 14:39the animator simply moves these bones
- 14:41and sets keys on the timeline. Also
- 14:43with interpolation and so on. And here
- 14:44you have to consider that the arm
- 14:46overlaps the torso. Therefore, you need
- 14:47to create a separate body part for the
- 14:49torso without the arm. There is one
- 14:50drawback here. The bends are very
- 14:52noticeable. It looks like plastic dolls
- 14:54. Usually, people try to cover this up
- 14:56with clothing or armor, or they don't
- 14:58cover it at all. 3D graphics sometimes
- 15:00offend 2D graphics. 2D, so as not to
- 15:03feel inferior, hyper-compensates for
- 15:05its flaws. There is a more advanced
- 15:07method. The character itself is not
- 15:09broken into parts at all, or only
- 15:10partially. It is transformed into a
- 15:12mesh, using an approach like mesh
- 15:14deformation or puppet pins. And these
- 15:15points are bound to bones based on
- 15:17weights. Exactly the same as in the 3D
- 15:19animation we covered in the previous
- 15:21video. Weight is a decimal value from
- 15:23zero to one. And the higher the weight,
- 15:25the stronger the bone pulls that point.
- 15:26And since a skeleton is used here, we
- 15:28can use all the perks of a skeleton.
- 15:30Again, just like in 3D skeletal
- 15:32animation. Point binding to bones,
- 15:35using controllers for convenient bone
- 15:37movement, such as forward kinematics
- 15:39and inverse kinematics, and algorithms
- 15:41for how bones interact with each other.
- 15:43Sockets and constraints. One skeleton
- 15:45for all characters. Physics-based
- 15:47animation. Colliders are added to the
- 15:49bones, and you can simulate ragdolls.
- 15:50From which follows the use of
- 15:52procedural animations and the physical
- 15:54influence of the environment on the
- 15:56animation. Mesh animation and skeletal
- 15:58animation are available in the Spine
- 15:59program. This software can be called
- 16:01the industry gold standard. True, it
- 16:03doesn't have regular classic
- 16:04frame-by-frame animation, but it's not
- 16:06needed there. If we are talking about
- 16:08serious, elaborate 2D animations, Spine
- 16:10is most often used and then exported to
- 16:13an engine. For example, this could be
- 16:15Unity. Most cool 2D animations are
- 16:16created specifically in Spine. And the
- 16:19games that were shown earlier, their
- 16:21animation was done in Spine. Toon Boom
- 16:23Harmony is the global standard in the
- 16:26field of 2D animation. It has
- 16:27frame-by-frame animation, as well as
- 16:29cutout animation with skeletons. It has
- 16:31tracing, which is the ability to
- 16:33convert raster images into vector paths
- 16:35that can be phased later. It has the
- 16:38ability to arrange layers in 3D space,
- 16:40like a parallax effect. Moho, vector
- 16:42tweening and mesh animation, cutout,
- 16:45and a full rig. The only thing is, it
- 16:47lacks full-featured frame-by-frame
- 16:48animation. And here, Blender turned out
- 16:51to be a universal solution. You can
- 16:53also create 2D graphics in it, draw,
- 16:55and animate. The powerful Grease Pencil
- 16:57tool. Mesh deformation, cut-out, and
- 16:59skeletal animation. Blender is
- 17:01generally an all-purpose program, and
- 17:04it's free. Rive is software for
- 17:07animating interfaces, characters, and
- 17:09any motion graphics for apps, sites, or
- 17:11games. It has all types of animation:
- 17:14frame-by-frame, mesh deformation.
- 17:16Cut-out, skeletal animation, as well as
- 17:18scripting for creating interactive
- 17:19animations. The program works via a
- 17:21browser, and you can also download a
- 17:23client. There is a free limited version
- 17:25. A wide range of export extensions—
- 17:27it's not just for videos and images.
- 17:29Also export to third-party software,
- 17:31for example, as JavaScript or Rive, a
- 17:33binary data package. Procedural
- 17:37animation. Procedural, also known as
- 17:39machine animation. Just don't confuse
- 17:41it with RDL animation. Here you don't
- 17:43create the animation entirely; you
- 17:45simply enter initial parameters that
- 17:47serve as a seed for the algorithm. You
- 17:49may have seen music videos like this.
- 17:51Lots of smoke and other particles to
- 17:54the music. This is most often created
- 18:02in Adobe After Effects. It's actually
- 18:04very simple to do. Create a new
- 18:06composition. Next, a new layer, Ctrl +
- 18:09Y. Now, in the Effects and Presets
- 18:11panel, search for Particle World. Drag
- 18:13it onto the new layer. You can already
- 18:15play with the timeline, and there will
- 18:17be animation. Then, in the settings,
- 18:19just adjust these particles. So, how do
- 18:25you make particles react to music? Drag
- 18:27in the required track. Here it is.
- 18:32Right-click. Find the Assistant tab.
- 18:37Convert Audio to Keyframes. An
- 18:40additional layer will appear. Click it.
- 18:42To expand it. We will need both
- 18:45channels. Now expand the particle layer
- 18:47. Effects, Particle World. Select the
- 18:50parameter we are going to animate.
- 18:51Let's make it Birth Rate. Hold Alt and
- 18:54click on the stopwatch on the left. An
- 18:56expression will appear. Now we need to
- 19:00grab the lasso. It's that little spiral
- 19:01right here. And drag it to both
- 19:04channels on the slider parameter.
- 19:06That’s it, we’ve linked them. Let's
- 19:08see. We can reduce the number of
- 19:13particles. In the expression, type "
- 19:14divide by 60". Well, any number. There
- 19:22is also Cavalry software. Inside, you
- 19:24can create procedural animation. It’s
- 19:27well-suited for all kinds of motion
- 19:29design. Animation using artificial
- 19:32intelligence.
- 19:35Brought you a ring. What can we do with
- 19:37neural networks at the moment? Fully
- 19:39generate a cartoon, text-to-video. But
- 19:41there is a problem here: duration.
- 19:43Since the neural network is limited by
- 19:45memory, you get many short videos that
- 19:47will differ from each other. But we can
- 19:50use neural networks as an auxiliary
- 19:52tool. One of these options is to draw
- 19:54intermediate frames. First, we draw a
- 19:56keyframe or generate it in the same
- 19:58neural network. As an option, it will
- 20:00be Midjourney. You need to create
- 20:01several key images. The main thing is
- 20:03that they are in the same style. Then
- 20:04they need to be brought to life. Grok
- 20:06is capable of this. Need an approach
- 20:08like, image-to-video.
- 20:12Here you go, bear.
- 20:15As an option, you can take Google VEO.
- 20:18I don't want to make a laundry list of
- 20:20neural networks because they appear
- 20:21every day and are constantly updated.
- 20:23In the end, we will have many short
- 20:25scenes. Next, we take this whole neural
- 20:27pile, that is, the creative work, and
- 20:29shove it into some editing program. Let
- 20:31it be Premiere Pro. Basically, it's
- 20:33ready. Renowned developers aren't
- 20:36falling behind with Adobe Firefly,
- 20:37which fills in frames. If you want to
- 20:46generate locally on your computer, take
- 20:47Stable Diffusion. It is free, but it
- 20:50needs to be trained and have extensions
- 20:51added in the form of models.
- 20:53Alternatively, ComfyUI on the SD
- 20:55architecture can generate images and
- 20:57video. You can also do pose estimation.
- 20:59It is open-source. In general, such
- 21:03generators are already being gradually
- 21:04integrated into regular software. We
- 21:05can also upload the start and end
- 21:07frames of a scene and generate the
- 21:09intermediate ones. I mean the full
- 21:10frame. And what do we have at the
- 21:12moment? Runway is still the absolute
- 21:14leader. Kling AI is a competitor. Of
- 21:17course, how could we do without the
- 21:18sensational Sora from OpenAI? There is
- 21:20also free local software called
- 21:22Flowframes. You drop in a pack of PNGs.
- 21:25And it calculates the frames in between
- 21:26. AI is also useful for motion capture.
- 21:29You can transfer movement from a video
- 21:31or a webcam. Adobe Animator. Turn on
- 21:33your camera and microphone and do
- 21:35lip-syncing. Live2D Cubism. Facial
- 21:39animation using a mesh. Perhaps you
- 21:43have seen animated avatars on various
- 21:45streams. Cartoon Animator with the
- 21:49Motion Live 2D plugin. This is already
- 21:51suitable for skeletal animation. Motion
- 21:53capture via video. Another option is
- 21:56Rokoko Vision and Plask AI. Wiggle AI.
- 22:00You upload a character reference and a
- 22:02motion reference video. The neural
- 22:04network transfers these movements to
- 22:06your character. And EbSynth remakes the
- 22:08video into a stylized animation. That
- 22:10is, the video is turned into a cartoon,
- 22:13applying a stylized filter. This neural
- 22:15network can also be used to improve
- 22:17already finished animation. Compositing
- 22:20. Compositing is the final combination
- 22:22of all objects, animations, and effects
- 22:24into a cohesive picture. Exporting and
- 22:28working with finished animation. In the
- 22:30end, after creating the animation,
- 22:32regardless of the approach—skeletal
- 22:33or frame-by-frame—we get a sequence
- 22:35of frames in the form of images. These
- 22:37images can be imported into an engine
- 22:39and run as regular frame-by-frame
- 22:41animation, like a flipbook. They can
- 22:43also be put into some editing program
- 22:45and rendered as a video. Or, you can
- 22:49render it as a video directly in the
- 22:51program where you create the animation,
- 22:53and you'll get a cartoon. It has long
- 22:56been known that humanity, during its
- 22:58development, invented the cave to live
- 23:00in, the wheel to travel, and video with
- 23:02an alpha channel in Apple ProRes format
- 23:04to add animations on top of other video
- 23:06. There is also GoPro CineForm Alpha.
- 23:08This is just another usage option.
- 23:10Usually, MP4 doesn't support an alpha
- 23:12channel, but modern 2D games won't
- 23:14limit themselves to cycling simple 2D
- 23:16images for animation. Sometimes,
- 23:18skeletal 2D animation is used there as
- 23:20well. And if we want to use all the
- 23:22benefits of a skeleton, we need export
- 23:25in special skeletal animation formats.
- 23:28Some software is capable of exporting
- 23:30not just images, but also JSON scripts.
- 23:33It is a text file that contains a map
- 23:35of coordinates and commands. It stores
- 23:36the names of the bones and the
- 23:37connections between them. The initial
- 23:39base XY coordinates of the bones, as
- 23:41well as the rotation angle and scale.
- 23:43Second is the binding of graphics,
- 23:44sockets, and links to the images
- 23:45attached to the bone. Third is mesh
- 23:47deformation, weights, and vertex
- 23:49coordinates. Fourth are keyframes, that
- 23:51is, the animation itself, timing and
- 23:52transformation vectors for specific
- 23:54bones, interpolation types, and events.
- 23:56You can also embed vector animation in
- 23:58JSON. This is a format you can export
- 24:00from Spine 2D, which is quite famous
- 24:01software. This means we create
- 24:03animation in one piece of software and
- 24:05can then export and use it in another,
- 24:06for example, Unreal Engine, Unity, or
- 24:08Godot. An analog to Spine is
- 24:11DragonBones, but you don't necessarily
- 24:13have to do it that way. 2D animation
- 24:15can be created inside the engine. Unity
- 24:17is great for this, where the entire
- 24:19animation and skeleton are created from
- 24:21scratch in the engine itself; you can
- 24:23simply attach pieces to the bones, like
- 24:25in cutout animation, or use a more
- 24:26advanced method—weight-based. Points
- 24:28are bound to specific bones, and the
- 24:30animation is created within that same
- 24:32engine. When an animator wants to
- 24:34depict movement, they use a reference,
- 24:36put it in the background, and simply
- 24:37position the limbs according to the
- 24:39stencil. In games, a collider is added
- 24:41to such a character. It is needed so
- 24:43that the player collides with the
- 24:44environment instead of falling through
- 24:45walls and floors. Then it is programmed
- 24:47for movement, and the necessary
- 24:49animation is triggered at the right
- 24:50moment. Unity even has 2D lighting.
- 24:54Launching animation blending in games.
- 24:57As we know, it is enough to have two
- 24:58keyframes, and the remaining
- 25:00intermediate frames are generated.
- 25:02Wonderful. But this works within a
- 25:04single animation. In traditional
- 25:06animation, there are no problems with
- 25:07the transition between running or
- 25:09jumping. It is all a single timeline
- 25:11with keys. But for games, animation is
- 25:13exported separately. Running, jumping,
- 25:15and attacking are three separate
- 25:16animations, three files. Yes, of course
- 25:18, you can play the required animation
- 25:20at the right time. Press space for the
- 25:22jump animation, press Shift for the run
- 25:24animation, and so on. But then they
- 25:26would just change abruptly. This
- 25:28transition seam would be very
- 25:29noticeable. And here there is such a
- 25:31thing as interpolation between
- 25:33different animations. It is called
- 25:35blending. The last pose of the first
- 25:37animation and the first pose of the
- 25:38second animation are taken. And what
- 25:40happens next? Interpolation. Such
- 25:43blends are well-suited if you need to
- 25:45transition smoothly from a sneaking
- 25:46animation to a running animation, or
- 25:48from turning left to turning right.
- 25:50There are many animations in games, and
- 25:52to control them programmatically,
- 25:53animation trees are used. This can be
- 25:55called a state machine or a finite
- 25:57state machine. It is the brain or the
- 25:59foundation for controlling all
- 26:00animations. The root of this tree is
- 26:03playing the Idle animation, inactivity.
- 26:05Then, every tick, it checks what is
- 26:06happening, and depending on the
- 26:07situation, a smooth transition to the
- 26:08necessary animation occurs. For example
- 26:10, to determine if the character is
- 26:12running or not, the speed is checked
- 26:13every time. It is simply a variable
- 26:15check. If the speed is high, the run
- 26:16animation is played. And if the
- 26:19character has jumped, it checks if the
- 26:20player pressed space or height,
- 26:21anything related to jumping. Naturally,
- 26:24you need to exit the jump or run state,
- 26:26or any state for that matter. In
- 26:28general, naturally, if the speed is
- 26:30zero, we exit the running state. This
- 26:32approach is used in game engines like
- 26:34Unity and so on. Transitions can also
- 26:37be made as needed directly from jumping
- 26:39to running or from running to crouching
- 26:41. So, we have gone through the journey
- 26:43of a 2D warrior from the main concepts
- 26:45of creation to application. Now, the
- 26:47entire two-dimensional space will be
- 26:50fully animated. Last time we almost
- 26:52reached 10 million likes, so this time
- 26:53we will settle for at least a million,
- 26:55and then I will create the next video.
- 26:57In the next video, we will move into
- 26:59higher dimensions and will break down
- 27:01in detail how 3D animation is made. Be
- 27:04sure to subscribe, by the way. If you
- 27:06are interested in Game Dev, join the
- 27:08KBSARS community. It is a Telegram
- 27:09channel or Discord server, which is
- 27:11already the largest in the world. There
- 27:13are tons of information, content, and
- 27:14help there. You can also add your game
- 27:16to the list of projects. You can also
- 27:17support KBSA through a donation.
- 27:19Absolutely all the necessary links will
- 27:21be in the description. Also, check out
- 27:23the other videos, they are very
- 27:24interesting. See you again soon.
About this transcript
This page contains the full transcript of Как делать 2D АНИМАЦИЮ Сегодня? - Всё виды и подходы, Софт, ИИ, Для Игр и Мультиков by Cyberstars - Как создать игру, generated from the public captions YouTube serves with the video. The transcript has 5,003 words across 791 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.