{"id":867,"date":"2026-02-12T17:17:37","date_gmt":"2026-02-12T09:17:37","guid":{"rendered":"https:\/\/edu.circuspi.com\/?p=867"},"modified":"2026-03-11T14:56:49","modified_gmt":"2026-03-11T06:56:49","slug":"4-1-methods-for-creating-sprites","status":"publish","type":"post","link":"https:\/\/edu.circuspi.com\/index.php\/gamebit-en\/4-1-methods-for-creating-sprites\/","title":{"rendered":"4.1 Methods for Creating Sprites"},"content":{"rendered":"\n<p>Open the URL\uff1a<a href=\"https:\/\/arcade.makecode.com\/beta?hw=n3\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/arcade.makecode.com\/beta?hw=n3<\/a><\/p>\n\n\n\n<p>Start a New Project and name it whatever you like.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1917\" height=\"910\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f104-1_01.png\" alt=\"\" class=\"wp-image-1089\"\/><\/figure>\n\n\n\n<p>Once everything is ready, let&#8217;s create our first Sprite. Please click on <strong>&#8220;Sprites&#8221;<\/strong> in the <strong>Block Toolbox<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1919\" height=\"918\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f104-1_02.png\" alt=\"\" class=\"wp-image-1090\"\/><\/figure>\n\n\n\n<p>Drag the block <strong>&#8220;set [mySprite] to sprite [ ] of kind (Player)&#8221;<\/strong> into the <strong>&#8220;on start&#8221;<\/strong> block in the Workspace. This block helps us create a Sprite and store it in a container named a <strong>&#8220;Variable&#8221;<\/strong>. We will explain the concept of <strong>variables<\/strong> in later articles; for now, let&#8217;s focus on creating Sprites.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"626\" height=\"279\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f104-1_03.png\" alt=\"\" class=\"wp-image-1091\"\/><\/figure>\n\n\n\n<p>Click on the <strong>grey square pattern<\/strong> within the block. This will pop up the Image Editor window, allowing us to draw our Sprite. The interface is like standard drawing software: drawing tools and a color palette are on the left, while the canvas is on the right. The canvas displays a pixel grid to help us position and draw accurately.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1554\" height=\"747\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f104-1_04.jpg\" alt=\"\" class=\"wp-image-1543\"\/><\/figure>\n\n\n\n<p>The details of the drawing tools are shown below. Although the functions are simple, they are more than enough to create a 2D pixel game.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1140\" height=\"679\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f104-1_05.png\" alt=\"\" class=\"wp-image-1094\"\/><\/figure>\n\n\n\n<p>Let&#8217;s start with the <strong>&#8220;Pencil Tool&#8221;<\/strong>. Try selecting the <strong>&#8220;Pencil Size&#8221;<\/strong> and test out the three different sizes by clicking the <strong>left mouse button<\/strong> on the canvas. You will see that the pencil sizes occupy &#8220;1 x 1,&#8221; &#8220;3 x 3,&#8221; and &#8220;5 x 5&#8221; areas on the canvas respectively.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1107\" height=\"701\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2023\/09\/04-1_06.png\" alt=\"\" class=\"wp-image-310\"\/><\/figure>\n\n\n\n<p>Note: The smallest &#8220;1 x 1&#8221; size covers a single unit on the checkerboard background (the white\/grey grid). It doesn&#8217;t mean it covers just one grey block or one white block; it represents one pixel.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1190\" height=\"657\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f104-1_07.png\" alt=\"\" class=\"wp-image-1095\"\/><\/figure>\n\n\n\n<p>New lines will overwrite old ones. If you want to color a large area, you can use the &#8220;Fill Tool.&#8221; A special case is the <strong>&#8220;Circle Tool&#8221;<\/strong>: due to pixel limitations, it cannot draw perfect circles. Small circles might even look indistinguishable from squares.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1190\" height=\"602\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f104-1_08.png\" alt=\"\" class=\"wp-image-1096\"\/><\/figure>\n\n\n\n<p>As the saying goes, <strong>&#8220;With a pen and colors, creativity is limitless. \ud83c\udfa8&#8221;<\/strong> Now, let&#8217;s use our skills and creativity to draw our own Sprite.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1190\" height=\"664\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f104-1_09.png\" alt=\"\" class=\"wp-image-1097\"\/><\/figure>\n\n\n\n<p>If you find the canvas too small, you can change the size in the bottom left corner\u2014don&#8217;t let the canvas limit your creativity.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1190\" height=\"717\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f104-1_10.png\" alt=\"\" class=\"wp-image-1098\"\/><\/figure>\n\n\n\n<p>During the drawing process, you can use the <strong>&#8220;Line Tool&#8221;<\/strong> and <strong>&#8220;Fill Tool&#8221;<\/strong>, or you can simply draw pixel by pixel. Once finished, click the <strong>&#8220;Done&#8221;<\/strong> button in the bottom right corner, and you will see your Sprite \ud83e\udd96 appear on the <strong>Game Simulator<\/strong> screen.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1190\" height=\"452\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f104-1_11.jpg\" alt=\"\" class=\"wp-image-1545\"\/><\/figure>\n\n\n\n<p>If you find drawing too troublesome, there is a ready-made library available. Please click on <strong>&#8220;Gallery&#8221;<\/strong> at the top of the editor.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1190\" height=\"582\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f104-1_12.png\" alt=\"\" class=\"wp-image-1101\"\/><\/figure>\n\n\n\n<p>The existing assets are quite rich! If you don&#8217;t want to draw one yourself, just pick a character you like from here.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1140\" height=\"657\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/\u82f104-1_13.png\" alt=\"\" class=\"wp-image-1102\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Open the URL\uff1ahttps:\/\/arcade.makecode.com\/beta?hw=n3 Sta [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":313,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,23],"tags":[],"table_tags":[],"class_list":{"0":"post-867","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-gamebit-en","8":"category-freeinfo-en","9":"czr-hentry"},"_links":{"self":[{"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/867","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/comments?post=867"}],"version-history":[{"count":3,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/867\/revisions"}],"predecessor-version":[{"id":1548,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/867\/revisions\/1548"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/media\/313"}],"wp:attachment":[{"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/media?parent=867"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/categories?post=867"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/tags?post=867"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/table_tags?post=867"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}