{"id":18688,"date":"2024-03-07T22:53:40","date_gmt":"2024-03-07T19:53:40","guid":{"rendered":"https:\/\/www.koloro.ua\/services\/2d-sprite-creation-for-the-game\/"},"modified":"2024-10-22T12:21:31","modified_gmt":"2024-10-22T09:21:31","slug":"2d-sprite-creation-for-the-game","status":"publish","type":"services","link":"https:\/\/koloro.ua\/en\/2d-sprite-creation-for-the-game\/","title":{"rendered":"2D SPRITE CREATION FOR THE GAME"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"h-&#x441;&#x43E;&#x437;&#x434;&#x430;&#x43D;&#x438;&#x435;-2d-&#x441;&#x43F;&#x440;&#x430;&#x439;&#x442;&#x43E;&#x432;-&#x434;&#x43B;&#x44F;-&#x438;&#x433;&#x440;&#x44B;\">Creating 2D sprites for the game<\/h2>\n\n<p class=\"wp-block-paragraph\">You don&#8217;t necessarily need to use 3D and advanced graphics to create a profitable game. And you don&#8217;t need three-dimensionality itself &#8211; half of the top games from the AppStore work in 2D. It&#8217;s also easier in 2D to make addictive game mechanics and balance them for the players.  <\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/koloro.ua\/public\/files\/images\/content\/5f2d4c677ce78.png\" alt=\"2D sprites in the game\" title=\"2D sprites in the game\"\/><\/figure>\n\n<p class=\"wp-block-paragraph\">In 2D games, it is best to use sprites: two-dimensional flat images. They are cheaper to produce, do not burden the device and always portray objects at the best angle. We tell you about the secrets of rendering cool sprites, which we use to create 2D graphics.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"h-&#x43A;&#x43E;&#x440;&#x43E;&#x442;&#x43A;&#x43E;-&#x43E;-&#x441;&#x43F;&#x440;&#x430;&#x439;&#x442;&#x430;&#x445;\">A quick word about sprites<\/h2>\n\n<p class=\"wp-block-paragraph\">A sprite is a bitmap static image that the player always sees from one angle. In other words, it&#8217;s just a picture. In the 90&#8217;s sprites were used everywhere: in 2D-platformers, strategy games, the first 3D-shooters, racing and soccer simulators.  <\/p>\n\n<p class=\"wp-block-paragraph\">Sprites are now used to show backgrounds, vegetation, and distant objects. Sprites are also used to make most of the special effects, such as explosions or particle systems. Yes, sparkles, snowflakes, and falling raindrops in modern games are sprites.  <\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/koloro.ua\/public\/files\/images\/content\/5f2d4c9806362.png\" alt=\"Smoke, fire and airship debris are sprites\" title=\"Smoke, fire and airship debris are sprites\"\/><\/figure>\n\n<p class=\"wp-block-paragraph\">Game developers animate sprites in two ways:<\/p>\n\n<p class=\"wp-block-paragraph\">do a frame-by-frame animation and combine all the frames into a special atlas;<\/p>\n\n<p class=\"wp-block-paragraph\">create an object from multiple sprites and animate them individually.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"h-&#x441;&#x435;&#x43A;&#x440;&#x435;&#x442;-1-&#x441;&#x43D;&#x430;&#x447;&#x430;&#x43B;&#x430;-&#x441;&#x434;&#x435;&#x43B;&#x430;&#x442;&#x44C;-&#x43F;&#x430;&#x43B;&#x438;&#x442;&#x440;&#x443;\">Secret #1 is to make the palette first<\/h2>\n\n<p class=\"wp-block-paragraph\">A palette is a set of 3 or more harmonious colors. Artists make palettes for everything: characters, objects, environments, and in-game menus. The secret is that everything looks prettier with a well-chosen palette. That&#8217;s why artists, photographers and filmmakers care about proper color correction and colors.  <\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/koloro.ua\/public\/files\/images\/content\/5f2d4cd01910f.png\" alt=\"Palette for creating a 2D sprite\" title=\"Palette for creating a 2D sprite\"\/><\/figure>\n\n<p class=\"wp-block-paragraph\">To create a palette, 2D artists don&#8217;t pick random colors from the 65 million available. They find bright photos and with the help of special services &#8220;pull&#8221; from them the most used colors. Next, they either use the resulting palette or overlap it with another color to bring the palette down to a single gamut. This technique is suitable for drawing environments and objects so that all elements match each other in color.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"h-&#x441;&#x435;&#x43A;&#x440;&#x435;&#x442;-2-&#x440;&#x438;&#x441;&#x43E;&#x432;&#x430;&#x442;&#x44C;-&#x441;&#x43F;&#x440;&#x430;&#x439;&#x442;&#x44B;-&#x432;-&#x431;&#x43E;&#x43B;&#x44C;&#x448;&#x43E;&#x43C;-&#x440;&#x430;&#x437;&#x440;&#x435;&#x448;&#x435;&#x43D;&#x438;&#x438;\">Secret #2 &#8211; draw sprites at a high resolution<\/h2>\n\n<p class=\"wp-block-paragraph\">Sprites for mobile games are usually small, up to 256&#215;256 pixels. PC and console games need large sprites, up to FullHD resolution.  <\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/koloro.ua\/public\/files\/images\/content\/5f2d4ce3112de.png\" alt=\"2D sprite in game and during rendering\" title=\"2D sprite in game and during rendering\"\/><\/figure>\n\n<p class=\"wp-block-paragraph\">Artists usually draw sprites at a resolution several times larger than will be used in the game. That way it&#8217;s easier for them to detail the drawing and add details to it that will look good on a small scale.  <\/p>\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/koloro.ua\/\">GET ADVICE<\/a><\/p>\n\n<h2 class=\"wp-block-heading\" id=\"h-&#x441;&#x435;&#x43A;&#x440;&#x435;&#x442;-3-&#x440;&#x438;&#x441;&#x43E;&#x432;&#x430;&#x442;&#x44C;-&#x441;&#x43F;&#x440;&#x430;&#x439;&#x442;&#x44B;-&#x441;-&#x447;&#x435;&#x442;&#x43A;&#x438;&#x43C;&#x438;-&#x43A;&#x43E;&#x43D;&#x442;&#x443;&#x440;&#x430;&#x43C;&#x438;\">Secret #3 &#8211; draw sprites with clear outlines<\/h2>\n\n<p class=\"wp-block-paragraph\">Photoshop and other drawing tools have a built-in anti-aliasing feature. When you change the resolution and save the image, it blends the colors of adjacent pixels to smooth out color transitions. This causes the edges of the sprite to become a mishmash of gray translucent pixels that look bad in-game.<\/p>\n\n<p class=\"wp-block-paragraph\">To prevent this from happening, artists first bring the sprite image to the right resolution. Then select the image on the background and fill the outlines with solid black color. And then they remove the extra pixels so the outline doesn&#8217;t look too bold. Such a sprite stands out from the background, even if it matches it in color.<\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/koloro.ua\/public\/files\/images\/content\/5f2d4d0cec95f.png\" alt=\"2D sprites with clear contours\" title=\"2D sprites with clear contours\"\/><\/figure>\n\n<p class=\"wp-block-paragraph\">Some artists don&#8217;t like to use outlines. To keep the sprites from blending in with the environment, they use contrasting color palettes. Or create long, beautiful animations for sprites that make the sprite stand out from the static environment.  <\/p>\n\n<h2 class=\"wp-block-heading\" id=\"h-&#x441;&#x435;&#x43A;&#x440;&#x435;&#x442;-4-&#x43D;&#x430;&#x440;&#x438;&#x441;&#x43E;&#x432;&#x430;&#x442;&#x44C;-&#x43C;&#x43D;&#x43E;&#x433;&#x43E;-&#x43D;&#x430;&#x431;&#x440;&#x43E;&#x441;&#x43A;&#x43E;&#x432;\">Secret #4 is to draw lots of sketches<\/h2>\n\n<p class=\"wp-block-paragraph\">The ideal sprite should have a clear and memorable silhouette. To achieve this effect, artists draw dozens of sketches until they arrive at the perfect one. Drawing is usually done on paper because it&#8217;s faster.  <\/p>\n\n<p class=\"wp-block-paragraph\">The work begins with simple shapes: squares, circles and triangles. Artists try to use a different set of primitives for each character, so that his silhouette is different from the rest of the sprite. First, artists make initial black and white sketches. From them, you can estimate the silhouette and the main features of a character or object.  <\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/koloro.ua\/public\/files\/images\/content\/5f2d4d23c2e11.png\" alt=\"2D sprite sketches\" title=\"2D sprite sketches\"\/><\/figure>\n\n<p class=\"wp-block-paragraph\">Next, the artists work with color &#8211; creating a palette, painting the best sketches and adding details. The end result is a final sprite and lots of sketches that can be used in the future.  <\/p>\n\n<h2 class=\"wp-block-heading\" id=\"h-&#x441;&#x435;&#x43A;&#x440;&#x435;&#x442;-5-&#x43D;&#x430;&#x447;&#x438;&#x43D;&#x430;&#x442;&#x44C;-&#x43E;&#x442;&#x440;&#x438;&#x441;&#x43E;&#x432;&#x43A;&#x443;-&#x43F;&#x435;&#x440;&#x441;&#x43E;&#x43D;&#x430;&#x436;&#x430;-&#x441;&#x43E;-&#x441;&#x43A;&#x435;&#x43B;&#x435;&#x442;&#x430;\">Secret #5 &#8211; start drawing the character from the skeleton<\/h2>\n\n<p class=\"wp-block-paragraph\">Beginning artists try to draw a character in one go: make the pose, hair and clothes at once. If a character has a more complex silhouette than Pikachu, the artist will spend a lot of time drawing it.<\/p>\n\n<p class=\"wp-block-paragraph\">Experienced artists start painting with a skeleton. The main points for the head, torso, hands and feet are placed first. Then connect these points with lines, so that from such a &#8220;skeleton&#8221; the pose and proportions of the body can be read. Next, the artist adds details and creates a black and white sprite in the desired pose.<\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/koloro.ua\/public\/files\/images\/content\/5f2d4d4fb7bd7.png\" alt=\"Drawing 2D sprites using a skeleton\" title=\"Drawing 2D sprites using a skeleton\"\/><\/figure>\n\n<p class=\"wp-block-paragraph\">With a skeleton, you can easily set body proportions and use them to render additional sprites to animate the character. Also skeleton rendering makes it easier to animate complex objects: machinery, animals and all sorts of monsters.  <\/p>\n\n<h2 class=\"wp-block-heading\" id=\"h-&#x441;&#x435;&#x43A;&#x440;&#x435;&#x442;-6-&#x438;&#x437;-&#x447;&#x435;&#x440;&#x43D;&#x43E;-&#x431;&#x435;&#x43B;&#x43E;&#x433;&#x43E;-&#x441;&#x43F;&#x440;&#x430;&#x439;&#x442;&#x430;-&#x43C;&#x43E;&#x436;&#x43D;&#x43E;-&#x43F;&#x43E;&#x43B;&#x443;&#x447;&#x438;&#x442;&#x44C;-&#x43C;&#x43D;&#x43E;&#x433;&#x43E;-&#x446;&#x432;&#x435;&#x442;&#x43D;&#x44B;&#x445;\">Secret #6 &#8211; you can get a lot of colored sprites out of a black and white sprite<\/h2>\n\n<p class=\"wp-block-paragraph\">When an artist has drawn a black and white version of a sprite, he can colorize it in two ways:<\/p>\n\n<ul class=\"wp-block-list\">\n<li>paint the right parts at once and then lighten and darken the right places to give volume;<\/li>\n\n\n\n<li>lighten and darken the black-and-white sprite, and then apply a colored layer over it.<\/li>\n<\/ul>\n\n<p class=\"wp-block-paragraph\">The second method is better, as it allows you to quickly change the color scheme and palette of the finished sprite. For this, the artist rendered the sprite in black and white. Next, it creates a separate layer for the color and draws on it with colors from the palette. Then the artist makes the color layer semi-transparent &#8211; and the sprite immediately becomes three-dimensional.  <\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/koloro.ua\/public\/files\/images\/content\/5f2d4d64b3c6a.png\" alt=\"Convert a black-and-white sprite to color using layers\" title=\"Convert a black-and-white sprite to color using layers\"\/><\/figure>\n\n<p class=\"wp-block-paragraph\">To change the colors of such a sprite you need to paint the color layer. It&#8217;s faster than recoloring a finished sprite and playing with halftones again.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"h-&#x441;&#x435;&#x43A;&#x440;&#x435;&#x442;-7-&#x434;&#x43B;&#x44F;-&#x430;&#x43D;&#x438;&#x43C;&#x438;&#x440;&#x43E;&#x432;&#x430;&#x43D;&#x438;&#x44F;-&#x43D;&#x443;&#x436;&#x43D;&#x43E;-&#x441;&#x43D;&#x430;&#x447;&#x430;&#x43B;&#x430;-&#x43D;&#x430;&#x440;&#x438;&#x441;&#x43E;&#x432;&#x430;&#x442;&#x44C;-&#x43A;&#x43B;&#x44E;&#x447;&#x435;&#x432;&#x44B;&#x435;-&#x43A;&#x430;&#x434;&#x440;&#x44B;\">Secret #7 &#8211; to animate, you need to draw keyframes first<\/h2>\n\n<p class=\"wp-block-paragraph\">For sprite animation, frame-by-frame animation and sprite atlas are often used. The animator specifies at what point the engine should change the standard character sprite to the first frame of a running or jumping animation. This approach works great when using pixel art like in Metal Slug, Shovel Knight or Blasphemous games.<\/p>\n\n<p class=\"wp-block-paragraph\">To make a good and smooth animation, the artist should start with keyframes, not the first frame of motion. The keyframe is the most expressive moment of the entire animation. For example, for a jump, this would be when the character is at the peak point of the jump. For a hit, this will be the moment the engine counts the hit on the enemy.  <\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/koloro.ua\/public\/files\/images\/content\/5f2d4d927d819.png\" alt=\"Frames for animation in the game\" title=\"Frames for animation in the game\"\/><\/figure>\n\n<p class=\"wp-block-paragraph\">The artist uses previously created skeletons to maintain the character&#8217;s proportions. After keyframes are rendered, he works with the game designer to calculate how many frames must pass before the keyframe is reached. And then the artist draws intermediate frames that seamlessly &#8220;translate&#8221; the character from the main sprite to the keyframe, and back to the main sprite again.  <\/p>\n\n<h2 class=\"wp-block-heading\" id=\"h-&#x441;&#x435;&#x43A;&#x440;&#x435;&#x442;-8-&#x440;&#x43E;&#x442;&#x43E;&#x441;&#x43A;&#x43E;&#x43F;&#x438;&#x440;&#x43E;&#x432;&#x430;&#x43D;&#x438;&#x435;\">Secret number eight is rotoscoping<\/h2>\n\n<p class=\"wp-block-paragraph\">Rotoscoping is drawing the contours of real objects. Photos, 3D renderings and paper sketches can be rotoscoped. Skeletons and references are fine, but rotoscoping produces the most realistic animations and sprites.  <\/p>\n\n<p class=\"wp-block-paragraph\">For example, to animate the games Flashback, Mortal Kombat and Prince of Persia, the developers filmed real actors on video, and then frame-by-frame redrew the video into sprites. Without rotoscoping, it wouldn&#8217;t be possible to make such lively and fluid character animations.<\/p>\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/koloro.ua\/public\/files\/images\/content\/5f2d4da4863a5.png\" alt=\"Rotoscoping the sprite from the video\" title=\"Rotoscoping the sprite from the video\"\/><\/figure>\n\n<p class=\"wp-block-paragraph\">Rotoscoping can also be used to render and animate secondary sprites: bonus stars and coins, moving objects, background sprites. For example, you can glue a coin to the stand, take several photos from different angles and based on them make an animation of the rotation of the coin.<\/p>\n\n<p class=\"wp-block-paragraph\">For rendering background sprites, things are even better: an artist can assemble the desired location from parts of real photos, and then render a stylized sprite. This method is faster and cheaper than if the artist were to paint the castle from scratch.  <\/p>\n\n<h2 class=\"wp-block-heading\" id=\"h-&#x437;&#x430;&#x43A;&#x430;&#x436;&#x438;&#x442;&#x435;-&#x43E;&#x442;&#x440;&#x438;&#x441;&#x43E;&#x432;&#x43A;&#x443;-&#x441;&#x43F;&#x440;&#x430;&#x439;&#x442;&#x43E;&#x432;-&#x432;-&#x441;&#x442;&#x443;&#x434;&#x438;&#x438;-kreonit\">Order sprite rendering in Kreonit studio<\/h2>\n\n<p class=\"wp-block-paragraph\">We have the best 2D artists and animators with a lot of experience with sprites. We can handle any amount of tasks and make quality illustrations and sprites for your game.<\/p>\n","protected":false},"featured_media":13654,"parent":0,"menu_order":0,"template":"","categories":[116],"tags":[],"services_cat":[183],"class_list":["post-18688","services","type-services","status-publish","has-post-thumbnail","hentry","category-apps-web-dev-ux-ui","services_cat-website-and-app-development-ui-ux-design"],"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":0,"sum_votes":0},"_links":{"self":[{"href":"https:\/\/koloro.ua\/en\/wp-json\/wp\/v2\/services\/18688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/koloro.ua\/en\/wp-json\/wp\/v2\/services"}],"about":[{"href":"https:\/\/koloro.ua\/en\/wp-json\/wp\/v2\/types\/services"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/koloro.ua\/en\/wp-json\/wp\/v2\/media\/13654"}],"wp:attachment":[{"href":"https:\/\/koloro.ua\/en\/wp-json\/wp\/v2\/media?parent=18688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/koloro.ua\/en\/wp-json\/wp\/v2\/categories?post=18688"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/koloro.ua\/en\/wp-json\/wp\/v2\/tags?post=18688"},{"taxonomy":"services_cat","embeddable":true,"href":"https:\/\/koloro.ua\/en\/wp-json\/wp\/v2\/services_cat?post=18688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}