{"id":903,"date":"2026-02-13T09:26:40","date_gmt":"2026-02-13T01:26:40","guid":{"rendered":"https:\/\/edu.circuspi.com\/?p=903"},"modified":"2026-03-09T16:05:07","modified_gmt":"2026-03-09T08:05:07","slug":"9-1-making-sprites-move-automatically-adding-an-enemy","status":"publish","type":"post","link":"https:\/\/edu.circuspi.com\/index.php\/gamebit-en\/9-1-making-sprites-move-automatically-adding-an-enemy\/","title":{"rendered":"9.1 Making Sprites Move Automatically \u2013 Adding an Enemy"},"content":{"rendered":"\n<p>First, open the game designed in the previous unit. We are going to add an &#8220;<strong>Enemy<\/strong>.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1026\" height=\"603\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/eng-09-1_01.png\" alt=\"\" class=\"wp-image-1225\"\/><\/figure>\n\n\n\n<p>You should be familiar with adding sprites. Click on &#8220;<strong>Sprites<\/strong>&#8221; in the <strong>Block Toolbox<\/strong>, use the create sprite block, and place it inside &#8220;<strong>on start<\/strong>.&#8221; <\/p>\n\n\n\n<p>You can design the sprite&#8217;s pattern yourself, just like the editor did, or use a pattern from the <strong>Gallery<\/strong>. Since it&#8217;s a villain, remember to make it look fierce!\ud83d\udc79\ud83d\udc79\ud83d\udc79<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1174\" height=\"856\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/eng-09-1_02.png\" alt=\"\" class=\"wp-image-1226\"\/><\/figure>\n\n\n\n<p>After designing the pattern, besides remembering to &#8220;<strong>Rename the Variable<\/strong>,&#8221; please set the &#8220;<strong>Kind<\/strong>&#8221; to &#8220;<strong>Enemy<\/strong>.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"452\" height=\"288\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/eng-09-1_03.png\" alt=\"\" class=\"wp-image-1227\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>First, open the game designed in the previous unit. We  [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":445,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,23],"tags":[],"table_tags":[],"class_list":{"0":"post-903","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\/903","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=903"}],"version-history":[{"count":2,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/903\/revisions"}],"predecessor-version":[{"id":1246,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/903\/revisions\/1246"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/media\/445"}],"wp:attachment":[{"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/media?parent=903"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/categories?post=903"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/tags?post=903"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/table_tags?post=903"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}