YouTube2Text

Как делать 2D АНИМАЦИЮ Сегодня? - Всё виды и подходы, Софт, ИИ, Для Игр и Мультиков — Transcript

by Cyberstars - Как создать игру · 5,003 words · 791 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Most people think 2D animation looks
  2. 0:02like this. But over the last decade, it
  3. 0:05has advanced significantly. 2D graphics
  4. 0:07can be like this, like this, and even
  5. 0:10like this. And in this video, we'll
  6. 0:12take a look behind the scenes at how
  7. 0:13all this is created. Greetings,
  8. 0:22developers, KBSTARS Entertainment is on
  9. 0:24the line. In the last video, we broke
  10. 0:26down the 12 principles of animation
  11. 0:28that Disney uses. And now we will take
  12. 0:30an in-depth look at how 2D animation is
  13. 0:32made. Let's start with classic
  14. 0:33frame-by-frame animation. You will
  15. 0:35learn how the very first animation was
  16. 0:37created in the 20th century, how
  17. 0:38cut-out animation works, and where it
  18. 0:40is applied. What is rotoscoping and how
  19. 0:42does it make life easier for animators?
  20. 0:45How is it applied in the gaming
  21. 0:47industry, allowing modern animation to
  22. 0:48skip drawing every frame and generate
  23. 0:50them automatically? What is a phase
  24. 0:52transition? How does vector tweening
  25. 0:55work? Why is mesh deformation such a
  26. 0:57cool technology? Also, 2D skeletal
  27. 0:59animation, procedural animation, and
  28. 1:01what is used to create it. I'll quickly
  29. 1:04show how to make particles to music in
  30. 1:06After Effects. What can neural networks
  31. 1:08offer us in 2D animation? Let's look at
  32. 1:10the best neural networks. What do you
  33. 1:12do with finished animation and how is
  34. 1:14it integrated into games? How are
  35. 1:15animations triggered and blended in
  36. 1:17games? And we will also look at the
  37. 1:19software used to create all of this,
  38. 1:21and which one is the industry standard.
  39. 1:23Fasten your seatbelts. Let's go.
  40. 1:28Frame-by-frame animation.
  41. 1:31Two-dimensional animation as the
  42. 1:32foundation of animation in general.
  43. 1:34Let's start, as always, with the
  44. 1:35origins, the simplest thing.
  45. 1:37Frame-by-frame animation. An artist
  46. 1:39draws a frame by hand, then draws the
  47. 1:41next frame from scratch. Each
  48. 1:42subsequent one differs from the
  49. 1:44previous one. Then animators change
  50. 1:45them quickly, doing it like this:
  51. 1:46boom-boom, boom-boom, boom. And you get
  52. 1:48animation. Thanks everyone, goodbye.
  53. 1:51That is how the very first animation
  54. 1:52was created. This process is quite
  55. 1:54labor-intensive. Nowadays it is rarely
  56. 1:56used, except in some niche areas. But
  57. 1:58this method is still used for
  58. 1:59storyboarding a draft version of an
  59. 2:01animation. A static set of pictures is
  60. 2:03created, which is called a storyboard.
  61. 2:05Then these frames are placed on a
  62. 2:07timeline. This helps to understand at
  63. 2:09what point in time one animation or
  64. 2:11another will start. The vector of the
  65. 2:12narrative. Scene timing helps to add or
  66. 2:15remove unnecessary frames. At the same
  67. 2:17time, they can overlay a draft
  68. 2:18voiceover. And such an animation of
  69. 2:20static frames is called an animatic. It
  70. 2:22is also found as a form of art and can
  71. 2:24be used in simple 2D games. An artist
  72. 2:27draws frames using pixel art, vector
  73. 2:29graphics, or their own magical little
  74. 2:31hands using brushes in Photoshop or
  75. 2:32something similar. For optimization,
  76. 2:35these frames are combined into one
  77. 2:36texture. Such a texture can be called a
  78. 2:38spritebook, sprite sheet, or sprite
  79. 2:40atlas. It is loaded into RAM entirely
  80. 2:42at once. There's no need to pull out
  81. 2:44each frame separately. Then the engine
  82. 2:45cuts it back into cells, into sprites,
  83. 2:47and these frames change quickly. This
  84. 2:49can be called a flipbook or a sprite
  85. 2:51clip. In short, the concept is like a
  86. 2:53GIF. At the right moment in the game,
  87. 2:55the needed gif is swapped in, whether
  88. 2:56it's jumping or running. Similar things
  89. 2:59can be done using shader code. Here,
  90. 3:01time is used to switch phases in the
  91. 3:02texture. Shader animation can also be
  92. 3:04procedural. This is better suited for
  93. 3:07various effects. Actually, the proper
  94. 3:09concept of 3D in 2D is a complex thing.
  95. 3:10A character on a plane isn't always
  96. 3:12seen just from the side. Sometimes you
  97. 3:13need versions seen from behind or the
  98. 3:15front. In games, these are separate
  99. 3:17images. Limited animation is when there
  100. 3:19are few frames. To make this look
  101. 3:22interesting, a jitter effect is used.
  102. 3:26TVPaint is suitable for classic
  103. 3:27frame-by-frame animation. Clip Studio
  104. 3:31Paint, as well as Cacani, are also
  105. 3:34frame-by-frame. And there is
  106. 3:36auto-inbetweening, and tracing. And
  107. 3:38another program for frame-by-frame
  108. 3:40animation is Krita. Its advantage is
  109. 3:42that it is free. Pencil. It has the
  110. 3:45ability to draw animation. It is free.
  111. 3:48Frame-by-frame animation can even be
  112. 3:50done in Photoshop if you enable the
  113. 3:52timeline. Did you know that there were
  114. 3:54no powerful computers back then? No,
  115. 3:55seriously. Here is the proof. Look, not
  116. 3:57a single MacBook. Naturally, the Disney
  117. 3:59employees didn't like this, and they
  118. 4:01caused scandals. Whole concerts, I
  119. 4:03would say. That's how the musical score
  120. 4:06for future animation was made. First,
  121. 4:08several hundred sketches were created,
  122. 4:10illustrating key moments of the story.
  123. 4:12Then the animators drew the characters
  124. 4:14'outlines on a light table, for every
  125. 4:16single frame. Periodically, they had to
  126. 4:18look at the previous frame. The
  127. 4:19animator would copy his own expressions
  128. 4:21using a mirror. Then the frames needed
  129. 4:23to be tested. Each frame was
  130. 4:25photographed, and then the animator
  131. 4:27viewed them on a special projector
  132. 4:29called a Moviola. That’s how the
  133. 4:31staff tested rough animation. After
  134. 4:33approval, these drawings were sent to
  135. 4:34the ink and paint department, but they
  136. 4:35weren't painted there. The drawings
  137. 4:38were covered with sheets of transparent
  138. 4:39celluloid, and paint was applied over
  139. 4:41these sheets, filling in the outlines.
  140. 4:43In another department, they drew the
  141. 4:45background. These are the various
  142. 4:46backgrounds of rooms and so on. And the
  143. 4:48final stage is shooting the frames. The
  144. 4:50background and the film with the
  145. 4:52character were laid on a table, and the
  146. 4:54camera above took one shot. And this
  147. 4:55had to be done more than half a million
  148. 4:57times. The final editing was just as
  149. 4:59engaging. The film could be physically
  150. 5:00cut and spliced with special glue. Next
  151. 5:03, the film reached those specialists,
  152. 5:05and various sound effects were recorded
  153. 5:07. And in the end, you get Snow White
  154. 5:12and the Seven Dwarfs. Oh, wait, that's
  155. 5:15not it. Terraforming, base building,
  156. 5:20modular weapons, and various modes. And
  157. 5:23all of this in multiplayer. Add Chumby
  158. 5:25to your wishlist on Steam. That way you
  159. 5:28support me as a developer. Cutout
  160. 5:30animation. So, animators from all over
  161. 5:33the world got together. And this is
  162. 5:35just not working. This is just not
  163. 5:37right. Drawing every frame from scratch
  164. 5:38takes too long. Yeah, way too long. By
  165. 5:40the way, what's your name? Yura
  166. 5:42Norstein. Well then, Yura, come up with
  167. 5:43something. Okay. Hmm, cutout animation.
  168. 5:46We take a drawn character, so what then
  169. 5:48? We cut it into pieces, and then we
  170. 5:50simply move those parts every frame.
  171. 5:53That's how the cartoon Hedgehog in the
  172. 5:55Fog was created back in 1975. For
  173. 5:57convenience, the parts could be
  174. 5:58connected with wire. A big shout-out to
  175. 6:01South Park. In the digital age, it's
  176. 6:03enough to cut an image into pieces, and
  177. 6:05then move and animate those parts. Here
  178. 6:07, instead of wire, they are fastened
  179. 6:09using pivot points. This is an anchor
  180. 6:11point, the parent of skeletal animation
  181. 6:12. And when it comes to facial
  182. 6:14expressions, many types of eyes and
  183. 6:16mouths are created in advance, and then
  184. 6:17the right one is simply swapped in.
  185. 6:19That is the same way Ellipsin is
  186. 6:21created. Cutout animation can be
  187. 6:23frame-by-frame or interpolated via
  188. 6:25keyframes. There is an artistic
  189. 6:27approach called animation mixing.
  190. 6:29Cutout is mixed with frame-by-frame
  191. 6:30animation. It turns out that it's
  192. 6:32standard skeletal animation, but with
  193. 6:33something redrawn each frame. Adobe
  194. 6:35Animate, formerly Flash. Classic
  195. 6:37frame-by-frame animation. It also has
  196. 6:39cutout, but it's very simple. OpenToonz
  197. 6:42. It has cutout and frame-by-frame
  198. 6:45animation, plus it's free. There is
  199. 6:48tracing, auto-inbetweening, and
  200. 6:51rotoscoping. Yes, of course, drawing
  201. 6:54every frame is very exciting,
  202. 6:55especially when you need to create
  203. 6:57hundreds of animations. To convey
  204. 6:59realistic human movement, you need to
  205. 7:01understand body biomechanics. But while
  206. 7:03the animator is looking at a body and
  207. 7:05absorbing its biomechanics, time is
  208. 7:06ticking away. Why try to draw something
  209. 7:09from scratch if you can just copy it,
  210. 7:11film real movements on camera, and then
  211. 7:13trace every movement frame-by-frame?
  212. 7:16This technique is called photo-cutout,
  213. 7:18but more often rotoscoping. This
  214. 7:20technology was popular in the 20th
  215. 7:22century, but it is still applied to
  216. 7:24this day. It was invented and patented
  217. 7:26by Max Fleischer in the early 20th
  218. 7:27century; he filmed his brother's
  219. 7:29movement against a white background and
  220. 7:31then redrew everything by hand. And he
  221. 7:33did it with the help of a rotoscope. A
  222. 7:36projector cast frames onto glass, and
  223. 7:38the animator—or rather, the artist—
  224. 7:40traced them. Using this, Max made the
  225. 7:42Out of the Inkwell cartoons. Later,
  226. 7:44after the patent expired, Disney and
  227. 7:46the film industry used it. In Star Wars
  228. 7:48, they added the glow to the
  229. 7:49lightsabers that way. Now you can
  230. 7:51encounter it in all sorts of motion
  231. 7:53design, where a person is traced
  232. 7:55frame-by-frame. This can all be traced
  233. 7:59back to some animation. I won't say
  234. 8:01whose, I think many will recognize it.
  235. 8:03A single skeleton, only the outer shell
  236. 8:06changes. To achieve a depth effect in
  237. 8:083D space, like the one you see now,
  238. 8:10scene objects were arranged in layers
  239. 8:12at a distance from each other, and the
  240. 8:14camera moved forward or backward,
  241. 8:16changing the focal length. The result
  242. 8:18was a parallax effect. The creator of
  243. 8:20Mickey Mouse loved catching mice and
  244. 8:21dressing them in beautiful dresses.
  245. 8:23When he found out about the rotoscope,
  246. 8:25he created his first motion action.
  247. 8:33That's all untrue, of course. In the
  248. 8:35eighties, rotoscoping came into the
  249. 8:37gaming industry. There was a game
  250. 8:39designer named Jordan Mechner. Oh,
  251. 8:40maybe he still is. Who knows. Game
  252. 8:42designer Jordan Mechner, do you know
  253. 8:43what he did? He filmed his karate
  254. 8:45instructor's movements, and then, you
  255. 8:47know what? He traced them. So, he ended
  256. 8:49up with karate animations for a karate
  257. 8:51game. The Karateka animation turned out
  258. 8:53smoother and more realistic, and he
  259. 8:55liked it so much that he decided to use
  260. 8:57it in his next game, Prince of Persia.
  261. 8:59He just used it to make his work easier
  262. 9:01. He asked his brother to play the role
  263. 9:03of the prince and perform stunts on
  264. 9:05camera. And what did he do? He traced
  265. 9:07them again. But rotoscoping is not a
  266. 9:12relic. It can be used in modern games
  267. 9:14as well. And there are quite a few of
  268. 9:16them, by the way. But these are mostly
  269. 9:17platformers. You are looking at one of
  270. 9:19them right now. Deadlight from 2012. If
  271. 9:23we're talking about ultimate realism,
  272. 9:26then it's only motion capture suits,
  273. 9:28sensors, and frame-by-frame animation.
  274. 9:33The fastest way to make a smooth
  275. 9:34transition between two frames is to
  276. 9:36smoothly animate their opacity. The
  277. 9:38previous frame fades out, and the next
  278. 9:40one fades in. And you can make it more
  279. 9:42stylish here. Instead of intermediate
  280. 9:44frames, insert copied and slightly
  281. 9:46modified keyframes. This is so-called "
  282. 9:49springiness." As a result, the
  283. 9:50character seems to spring slightly when
  284. 9:52changing poses. An intermediate frame
  285. 9:54is a phase. To smoothly move a cube
  286. 9:56from left to right, you don't need to
  287. 9:58draw every frame by hand. It is enough
  288. 10:00to use parametric animation. You set
  289. 10:02the starting and ending positions. Here
  290. 10:04, the object is a separate layer, and
  291. 10:05the program moves it itself, drawing
  292. 10:07the necessary frames between the main
  293. 10:08ones. This approach exists in
  294. 10:10absolutely any software related to
  295. 10:12animation. We can animate any parameter
  296. 10:14. For example, displacement and
  297. 10:16transparency. There are two types of
  298. 10:18images: raster, which is a regular set
  299. 10:20of pixels, and vector. A vector
  300. 10:21consists of mathematical curves that
  301. 10:23can form a contour. This contour is
  302. 10:25filled with color, a gradient, or a
  303. 10:27texture. Unlike raster, vector images
  304. 10:29do not lose quality when zoomed in. But
  305. 10:32most often, the vector is rasterized
  306. 10:34anyway. It is used more for the
  307. 10:36convenience of creation, because these
  308. 10:37splines can be edited at any time. Or,
  309. 10:40the vector can be used in its original
  310. 10:42form in web design or motion graphics.
  311. 10:44Motion design is all sorts of animated
  312. 10:47stuff. Vector graphics can be created
  313. 10:49in Adobe Illustrator, Figma, or
  314. 10:51Affinity Designer. It is usually
  315. 10:52exported in SVG format. Sometimes you
  316. 10:54can also encounter EPS. Vector and
  317. 10:57raster can be converted into each other
  318. 10:58, but it is better not to convert
  319. 10:59raster to vector, as it will be a very
  320. 11:01heavy file. By the way, I have
  321. 11:03tutorials on 2D graphics, on how to
  322. 11:05draw. Check out the playlists on my
  323. 11:07channel. Of course, when you need to
  324. 11:09create cartoons with a long timeline,
  325. 11:11drawing every frame is not very fun.
  326. 11:13You need production speed, and that’s
  327. 11:15where keyframe animation is used. You
  328. 11:17take a frame with the character's
  329. 11:19initial pose and the final pose. You
  330. 11:21get two keys. And the intermediate
  331. 11:22frames are created automatically based
  332. 11:24on the data from the first and last
  333. 11:26frames. This is called interpolation.
  334. 11:27Sometimes an additional intermediate
  335. 11:29frame, a breakdown, is needed. This is
  336. 11:30the peak pose. For example, the
  337. 11:31character's highest position in a jump.
  338. 11:35In interpolation, you may encounter
  339. 11:36terminology. When it smooths at the
  340. 11:38beginning, it's called ease-in or
  341. 11:40ease-in. And out is a smooth exit. Ease
  342. 11:42is all of that together. This is how
  343. 11:44presets are designated. Such an
  344. 11:46automatic transition from pose to pose
  345. 11:48is called morphing. In 2D, this is
  346. 11:49vector morphing, or vector tweening.
  347. 11:52Since vector drawings consist of points
  348. 11:54connected by mathematical lines, these
  349. 11:56points can be moved at any time,
  350. 11:57including creating animation with them.
  351. 12:03It is very reminiscent of blend shapes
  352. 12:05in 3D graphics. Mesh deformation
  353. 12:09animation. Morphing can also be done
  354. 12:11with a raster image. The picture is
  355. 12:13placed into a grid marked by points.
  356. 12:15These points, which deform the image,
  357. 12:17are animated. I would divide this into
  358. 12:19three types. The first is using edges.
  359. 12:22Points are marked, which are then
  360. 12:24connected by edges. Like this box. A
  361. 12:26very vivid example. This forms, as it
  362. 12:28were, 2D polygons, and the image is
  363. 12:30attached to these polygons. I think it
  364. 12:31will be clear how this looks later.
  365. 12:33Let's move these edges. The effect is
  366. 12:35close to 3D. The second type is point
  367. 12:39animation. We place the points. A grid
  368. 12:42also appears, it's just hidden from
  369. 12:44view. These points are like vertices in
  370. 12:46a 3D model, but there are some
  371. 12:47limitations here. You can achieve the
  372. 12:49effect of turning a character, but
  373. 12:50visually such a rotation angle will be
  374. 12:52limited by the image itself. But here
  375. 12:54you can achieve more organic shapes.
  376. 12:56Nevertheless, for 2D graphics, it looks
  377. 12:58very cool. It is well suited for facial
  378. 13:00animation. Such animation is available
  379. 13:02in the Spine program. It is even in
  380. 13:04After Effects. We import a PNG with a
  381. 13:05transparent background. We take the
  382. 13:07Puppet Tool, the pin icon at the top.
  383. 13:09We place points along the limbs. As I
  384. 13:11said, a mesh grid is formed; in After
  385. 13:13Effects, it can be displayed by
  386. 13:15checking the box at the top. The main
  387. 13:16thing here is to put an anchor point at
  388. 13:18the beginning so that the subsequent
  389. 13:19point doesn't stretch the entire image.
  390. 13:21We create points, and the edges are
  391. 13:23formed automatically. Only we don't
  392. 13:24move the edges, but the points. Without
  393. 13:26a point nearby, the whole picture would
  394. 13:27be pulled. This is very similar to
  395. 13:29skeletal animation. The alpha channel
  396. 13:30is even taken into account. Although
  397. 13:32there are no such bends here as in
  398. 13:33skeletal animation, it still looks
  399. 13:35excellent. And let's put one in the
  400. 13:37center of the head. Now we can animate
  401. 13:39this using regular keyframe animation.
  402. 13:42We change the position of the points,
  403. 13:44fix them with keys, and the
  404. 13:45intermediate frames are created
  405. 13:47automatically. We can place these
  406. 13:49points around the object, creating a
  407. 13:51sort of shell, and the shape of the
  408. 13:52object itself deforms. True, the method
  409. 13:55with edges is better suited here. Such
  410. 13:57outlines can be created using
  411. 13:58auto-trace. We get a shell like in
  412. 14:00vector graphics. And the third type of
  413. 14:02deformation. Next. Skeletal animation.
  414. 14:07Redrawing frames is not about saving
  415. 14:09production time, but about achieving
  416. 14:11realistic movement. If you need to save
  417. 14:13time. In 2D animation, there is also
  418. 14:16skeletal animation, just like in 3D. A
  419. 14:18skeleton is created from hierarchically
  420. 14:20dependent bones. They bend at the
  421. 14:22joints. The character or object is
  422. 14:24broken down into separate component
  423. 14:26parts. Yes, and usually these pieces
  424. 14:30aren't separate images, but are
  425. 14:32combined into a single sprite atlas.
  426. 14:35These parts are attached to the bones.
  427. 14:37Where else would they be attached? Then
  428. 14:39the animator simply moves these bones
  429. 14:41and sets keys on the timeline. Also
  430. 14:43with interpolation and so on. And here
  431. 14:44you have to consider that the arm
  432. 14:46overlaps the torso. Therefore, you need
  433. 14:47to create a separate body part for the
  434. 14:49torso without the arm. There is one
  435. 14:50drawback here. The bends are very
  436. 14:52noticeable. It looks like plastic dolls
  437. 14:54. Usually, people try to cover this up
  438. 14:56with clothing or armor, or they don't
  439. 14:58cover it at all. 3D graphics sometimes
  440. 15:00offend 2D graphics. 2D, so as not to
  441. 15:03feel inferior, hyper-compensates for
  442. 15:05its flaws. There is a more advanced
  443. 15:07method. The character itself is not
  444. 15:09broken into parts at all, or only
  445. 15:10partially. It is transformed into a
  446. 15:12mesh, using an approach like mesh
  447. 15:14deformation or puppet pins. And these
  448. 15:15points are bound to bones based on
  449. 15:17weights. Exactly the same as in the 3D
  450. 15:19animation we covered in the previous
  451. 15:21video. Weight is a decimal value from
  452. 15:23zero to one. And the higher the weight,
  453. 15:25the stronger the bone pulls that point.
  454. 15:26And since a skeleton is used here, we
  455. 15:28can use all the perks of a skeleton.
  456. 15:30Again, just like in 3D skeletal
  457. 15:32animation. Point binding to bones,
  458. 15:35using controllers for convenient bone
  459. 15:37movement, such as forward kinematics
  460. 15:39and inverse kinematics, and algorithms
  461. 15:41for how bones interact with each other.
  462. 15:43Sockets and constraints. One skeleton
  463. 15:45for all characters. Physics-based
  464. 15:47animation. Colliders are added to the
  465. 15:49bones, and you can simulate ragdolls.
  466. 15:50From which follows the use of
  467. 15:52procedural animations and the physical
  468. 15:54influence of the environment on the
  469. 15:56animation. Mesh animation and skeletal
  470. 15:58animation are available in the Spine
  471. 15:59program. This software can be called
  472. 16:01the industry gold standard. True, it
  473. 16:03doesn't have regular classic
  474. 16:04frame-by-frame animation, but it's not
  475. 16:06needed there. If we are talking about
  476. 16:08serious, elaborate 2D animations, Spine
  477. 16:10is most often used and then exported to
  478. 16:13an engine. For example, this could be
  479. 16:15Unity. Most cool 2D animations are
  480. 16:16created specifically in Spine. And the
  481. 16:19games that were shown earlier, their
  482. 16:21animation was done in Spine. Toon Boom
  483. 16:23Harmony is the global standard in the
  484. 16:26field of 2D animation. It has
  485. 16:27frame-by-frame animation, as well as
  486. 16:29cutout animation with skeletons. It has
  487. 16:31tracing, which is the ability to
  488. 16:33convert raster images into vector paths
  489. 16:35that can be phased later. It has the
  490. 16:38ability to arrange layers in 3D space,
  491. 16:40like a parallax effect. Moho, vector
  492. 16:42tweening and mesh animation, cutout,
  493. 16:45and a full rig. The only thing is, it
  494. 16:47lacks full-featured frame-by-frame
  495. 16:48animation. And here, Blender turned out
  496. 16:51to be a universal solution. You can
  497. 16:53also create 2D graphics in it, draw,
  498. 16:55and animate. The powerful Grease Pencil
  499. 16:57tool. Mesh deformation, cut-out, and
  500. 16:59skeletal animation. Blender is
  501. 17:01generally an all-purpose program, and
  502. 17:04it's free. Rive is software for
  503. 17:07animating interfaces, characters, and
  504. 17:09any motion graphics for apps, sites, or
  505. 17:11games. It has all types of animation:
  506. 17:14frame-by-frame, mesh deformation.
  507. 17:16Cut-out, skeletal animation, as well as
  508. 17:18scripting for creating interactive
  509. 17:19animations. The program works via a
  510. 17:21browser, and you can also download a
  511. 17:23client. There is a free limited version
  512. 17:25. A wide range of export extensions—
  513. 17:27it's not just for videos and images.
  514. 17:29Also export to third-party software,
  515. 17:31for example, as JavaScript or Rive, a
  516. 17:33binary data package. Procedural
  517. 17:37animation. Procedural, also known as
  518. 17:39machine animation. Just don't confuse
  519. 17:41it with RDL animation. Here you don't
  520. 17:43create the animation entirely; you
  521. 17:45simply enter initial parameters that
  522. 17:47serve as a seed for the algorithm. You
  523. 17:49may have seen music videos like this.
  524. 17:51Lots of smoke and other particles to
  525. 17:54the music. This is most often created
  526. 18:02in Adobe After Effects. It's actually
  527. 18:04very simple to do. Create a new
  528. 18:06composition. Next, a new layer, Ctrl +
  529. 18:09Y. Now, in the Effects and Presets
  530. 18:11panel, search for Particle World. Drag
  531. 18:13it onto the new layer. You can already
  532. 18:15play with the timeline, and there will
  533. 18:17be animation. Then, in the settings,
  534. 18:19just adjust these particles. So, how do
  535. 18:25you make particles react to music? Drag
  536. 18:27in the required track. Here it is.
  537. 18:32Right-click. Find the Assistant tab.
  538. 18:37Convert Audio to Keyframes. An
  539. 18:40additional layer will appear. Click it.
  540. 18:42To expand it. We will need both
  541. 18:45channels. Now expand the particle layer
  542. 18:47. Effects, Particle World. Select the
  543. 18:50parameter we are going to animate.
  544. 18:51Let's make it Birth Rate. Hold Alt and
  545. 18:54click on the stopwatch on the left. An
  546. 18:56expression will appear. Now we need to
  547. 19:00grab the lasso. It's that little spiral
  548. 19:01right here. And drag it to both
  549. 19:04channels on the slider parameter.
  550. 19:06That’s it, we’ve linked them. Let's
  551. 19:08see. We can reduce the number of
  552. 19:13particles. In the expression, type "
  553. 19:14divide by 60". Well, any number. There
  554. 19:22is also Cavalry software. Inside, you
  555. 19:24can create procedural animation. It’s
  556. 19:27well-suited for all kinds of motion
  557. 19:29design. Animation using artificial
  558. 19:32intelligence.
  559. 19:35Brought you a ring. What can we do with
  560. 19:37neural networks at the moment? Fully
  561. 19:39generate a cartoon, text-to-video. But
  562. 19:41there is a problem here: duration.
  563. 19:43Since the neural network is limited by
  564. 19:45memory, you get many short videos that
  565. 19:47will differ from each other. But we can
  566. 19:50use neural networks as an auxiliary
  567. 19:52tool. One of these options is to draw
  568. 19:54intermediate frames. First, we draw a
  569. 19:56keyframe or generate it in the same
  570. 19:58neural network. As an option, it will
  571. 20:00be Midjourney. You need to create
  572. 20:01several key images. The main thing is
  573. 20:03that they are in the same style. Then
  574. 20:04they need to be brought to life. Grok
  575. 20:06is capable of this. Need an approach
  576. 20:08like, image-to-video.
  577. 20:12Here you go, bear.
  578. 20:15As an option, you can take Google VEO.
  579. 20:18I don't want to make a laundry list of
  580. 20:20neural networks because they appear
  581. 20:21every day and are constantly updated.
  582. 20:23In the end, we will have many short
  583. 20:25scenes. Next, we take this whole neural
  584. 20:27pile, that is, the creative work, and
  585. 20:29shove it into some editing program. Let
  586. 20:31it be Premiere Pro. Basically, it's
  587. 20:33ready. Renowned developers aren't
  588. 20:36falling behind with Adobe Firefly,
  589. 20:37which fills in frames. If you want to
  590. 20:46generate locally on your computer, take
  591. 20:47Stable Diffusion. It is free, but it
  592. 20:50needs to be trained and have extensions
  593. 20:51added in the form of models.
  594. 20:53Alternatively, ComfyUI on the SD
  595. 20:55architecture can generate images and
  596. 20:57video. You can also do pose estimation.
  597. 20:59It is open-source. In general, such
  598. 21:03generators are already being gradually
  599. 21:04integrated into regular software. We
  600. 21:05can also upload the start and end
  601. 21:07frames of a scene and generate the
  602. 21:09intermediate ones. I mean the full
  603. 21:10frame. And what do we have at the
  604. 21:12moment? Runway is still the absolute
  605. 21:14leader. Kling AI is a competitor. Of
  606. 21:17course, how could we do without the
  607. 21:18sensational Sora from OpenAI? There is
  608. 21:20also free local software called
  609. 21:22Flowframes. You drop in a pack of PNGs.
  610. 21:25And it calculates the frames in between
  611. 21:26. AI is also useful for motion capture.
  612. 21:29You can transfer movement from a video
  613. 21:31or a webcam. Adobe Animator. Turn on
  614. 21:33your camera and microphone and do
  615. 21:35lip-syncing. Live2D Cubism. Facial
  616. 21:39animation using a mesh. Perhaps you
  617. 21:43have seen animated avatars on various
  618. 21:45streams. Cartoon Animator with the
  619. 21:49Motion Live 2D plugin. This is already
  620. 21:51suitable for skeletal animation. Motion
  621. 21:53capture via video. Another option is
  622. 21:56Rokoko Vision and Plask AI. Wiggle AI.
  623. 22:00You upload a character reference and a
  624. 22:02motion reference video. The neural
  625. 22:04network transfers these movements to
  626. 22:06your character. And EbSynth remakes the
  627. 22:08video into a stylized animation. That
  628. 22:10is, the video is turned into a cartoon,
  629. 22:13applying a stylized filter. This neural
  630. 22:15network can also be used to improve
  631. 22:17already finished animation. Compositing
  632. 22:20. Compositing is the final combination
  633. 22:22of all objects, animations, and effects
  634. 22:24into a cohesive picture. Exporting and
  635. 22:28working with finished animation. In the
  636. 22:30end, after creating the animation,
  637. 22:32regardless of the approach—skeletal
  638. 22:33or frame-by-frame—we get a sequence
  639. 22:35of frames in the form of images. These
  640. 22:37images can be imported into an engine
  641. 22:39and run as regular frame-by-frame
  642. 22:41animation, like a flipbook. They can
  643. 22:43also be put into some editing program
  644. 22:45and rendered as a video. Or, you can
  645. 22:49render it as a video directly in the
  646. 22:51program where you create the animation,
  647. 22:53and you'll get a cartoon. It has long
  648. 22:56been known that humanity, during its
  649. 22:58development, invented the cave to live
  650. 23:00in, the wheel to travel, and video with
  651. 23:02an alpha channel in Apple ProRes format
  652. 23:04to add animations on top of other video
  653. 23:06. There is also GoPro CineForm Alpha.
  654. 23:08This is just another usage option.
  655. 23:10Usually, MP4 doesn't support an alpha
  656. 23:12channel, but modern 2D games won't
  657. 23:14limit themselves to cycling simple 2D
  658. 23:16images for animation. Sometimes,
  659. 23:18skeletal 2D animation is used there as
  660. 23:20well. And if we want to use all the
  661. 23:22benefits of a skeleton, we need export
  662. 23:25in special skeletal animation formats.
  663. 23:28Some software is capable of exporting
  664. 23:30not just images, but also JSON scripts.
  665. 23:33It is a text file that contains a map
  666. 23:35of coordinates and commands. It stores
  667. 23:36the names of the bones and the
  668. 23:37connections between them. The initial
  669. 23:39base XY coordinates of the bones, as
  670. 23:41well as the rotation angle and scale.
  671. 23:43Second is the binding of graphics,
  672. 23:44sockets, and links to the images
  673. 23:45attached to the bone. Third is mesh
  674. 23:47deformation, weights, and vertex
  675. 23:49coordinates. Fourth are keyframes, that
  676. 23:51is, the animation itself, timing and
  677. 23:52transformation vectors for specific
  678. 23:54bones, interpolation types, and events.
  679. 23:56You can also embed vector animation in
  680. 23:58JSON. This is a format you can export
  681. 24:00from Spine 2D, which is quite famous
  682. 24:01software. This means we create
  683. 24:03animation in one piece of software and
  684. 24:05can then export and use it in another,
  685. 24:06for example, Unreal Engine, Unity, or
  686. 24:08Godot. An analog to Spine is
  687. 24:11DragonBones, but you don't necessarily
  688. 24:13have to do it that way. 2D animation
  689. 24:15can be created inside the engine. Unity
  690. 24:17is great for this, where the entire
  691. 24:19animation and skeleton are created from
  692. 24:21scratch in the engine itself; you can
  693. 24:23simply attach pieces to the bones, like
  694. 24:25in cutout animation, or use a more
  695. 24:26advanced method—weight-based. Points
  696. 24:28are bound to specific bones, and the
  697. 24:30animation is created within that same
  698. 24:32engine. When an animator wants to
  699. 24:34depict movement, they use a reference,
  700. 24:36put it in the background, and simply
  701. 24:37position the limbs according to the
  702. 24:39stencil. In games, a collider is added
  703. 24:41to such a character. It is needed so
  704. 24:43that the player collides with the
  705. 24:44environment instead of falling through
  706. 24:45walls and floors. Then it is programmed
  707. 24:47for movement, and the necessary
  708. 24:49animation is triggered at the right
  709. 24:50moment. Unity even has 2D lighting.
  710. 24:54Launching animation blending in games.
  711. 24:57As we know, it is enough to have two
  712. 24:58keyframes, and the remaining
  713. 25:00intermediate frames are generated.
  714. 25:02Wonderful. But this works within a
  715. 25:04single animation. In traditional
  716. 25:06animation, there are no problems with
  717. 25:07the transition between running or
  718. 25:09jumping. It is all a single timeline
  719. 25:11with keys. But for games, animation is
  720. 25:13exported separately. Running, jumping,
  721. 25:15and attacking are three separate
  722. 25:16animations, three files. Yes, of course
  723. 25:18, you can play the required animation
  724. 25:20at the right time. Press space for the
  725. 25:22jump animation, press Shift for the run
  726. 25:24animation, and so on. But then they
  727. 25:26would just change abruptly. This
  728. 25:28transition seam would be very
  729. 25:29noticeable. And here there is such a
  730. 25:31thing as interpolation between
  731. 25:33different animations. It is called
  732. 25:35blending. The last pose of the first
  733. 25:37animation and the first pose of the
  734. 25:38second animation are taken. And what
  735. 25:40happens next? Interpolation. Such
  736. 25:43blends are well-suited if you need to
  737. 25:45transition smoothly from a sneaking
  738. 25:46animation to a running animation, or
  739. 25:48from turning left to turning right.
  740. 25:50There are many animations in games, and
  741. 25:52to control them programmatically,
  742. 25:53animation trees are used. This can be
  743. 25:55called a state machine or a finite
  744. 25:57state machine. It is the brain or the
  745. 25:59foundation for controlling all
  746. 26:00animations. The root of this tree is
  747. 26:03playing the Idle animation, inactivity.
  748. 26:05Then, every tick, it checks what is
  749. 26:06happening, and depending on the
  750. 26:07situation, a smooth transition to the
  751. 26:08necessary animation occurs. For example
  752. 26:10, to determine if the character is
  753. 26:12running or not, the speed is checked
  754. 26:13every time. It is simply a variable
  755. 26:15check. If the speed is high, the run
  756. 26:16animation is played. And if the
  757. 26:19character has jumped, it checks if the
  758. 26:20player pressed space or height,
  759. 26:21anything related to jumping. Naturally,
  760. 26:24you need to exit the jump or run state,
  761. 26:26or any state for that matter. In
  762. 26:28general, naturally, if the speed is
  763. 26:30zero, we exit the running state. This
  764. 26:32approach is used in game engines like
  765. 26:34Unity and so on. Transitions can also
  766. 26:37be made as needed directly from jumping
  767. 26:39to running or from running to crouching
  768. 26:41. So, we have gone through the journey
  769. 26:43of a 2D warrior from the main concepts
  770. 26:45of creation to application. Now, the
  771. 26:47entire two-dimensional space will be
  772. 26:50fully animated. Last time we almost
  773. 26:52reached 10 million likes, so this time
  774. 26:53we will settle for at least a million,
  775. 26:55and then I will create the next video.
  776. 26:57In the next video, we will move into
  777. 26:59higher dimensions and will break down
  778. 27:01in detail how 3D animation is made. Be
  779. 27:04sure to subscribe, by the way. If you
  780. 27:06are interested in Game Dev, join the
  781. 27:08KBSARS community. It is a Telegram
  782. 27:09channel or Discord server, which is
  783. 27:11already the largest in the world. There
  784. 27:13are tons of information, content, and
  785. 27:14help there. You can also add your game
  786. 27:16to the list of projects. You can also
  787. 27:17support KBSA through a donation.
  788. 27:19Absolutely all the necessary links will
  789. 27:21be in the description. Also, check out
  790. 27:23the other videos, they are very
  791. 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.