{"id":921,"date":"2026-02-13T09:37:56","date_gmt":"2026-02-13T01:37:56","guid":{"rendered":"https:\/\/edu.circuspi.com\/?p=921"},"modified":"2026-03-09T16:20:37","modified_gmt":"2026-03-09T08:20:37","slug":"10-4-post-hit-steps","status":"publish","type":"post","link":"https:\/\/edu.circuspi.com\/index.php\/gamebit-en\/10-4-post-hit-steps\/","title":{"rendered":"10.4 Post-Hit Steps"},"content":{"rendered":"\n<p>Next, let&#8217;s design the action for when the &#8220;Small Flame&#8221; hits the villain. We use the &#8220;<strong>Overlaps<\/strong>&#8221; block again. Set the <strong>Kinds<\/strong> to &#8220;<strong>Projectile<\/strong>&#8221; and &#8220;<strong>Enemy<\/strong>.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"870\" height=\"237\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/eng-10-4_01.png\" alt=\"\" class=\"wp-image-1268\"\/><\/figure>\n\n\n\n<p>When the target is hit, we want the villain to be <strong>destroyed<\/strong> and show a special effect. It is recommended to keep the effect duration short; otherwise, the screen will look chaotic.<\/p>\n\n\n\n<p>Since the villain disappears after being destroyed, we need to create a new one. You can directly <strong>Copy<\/strong> the blocks used to create the villain inside the &#8220;<strong>on start<\/strong>&#8221; block and <strong>Paste<\/strong> them here.<\/p>\n\n\n\n<p>To prevent the villain from reappearing too quickly, add a &#8220;<strong>pause<\/strong>&#8221; block between the destruction and the creation steps. You can set the pause duration as you like.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"856\" height=\"326\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/eng-10-4_02.png\" alt=\"\" class=\"wp-image-1269\"\/><\/figure>\n\n\n\n<p>Finally, don&#8217;t forget to add the &#8220;<strong>set [myEnemy] stay in screen &lt;ON&gt;<\/strong>&#8221; block for the newly created villain! This prevents it from spawning outside the screen or getting cut off by the border.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"875\" height=\"377\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/eng-10-4_03.png\" alt=\"\" class=\"wp-image-1270\"\/><\/figure>\n\n\n\n<p>Once finished, test it in the <strong>Game Simulator<\/strong> to see if everything works correctly.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"706\" height=\"564\" data-id=\"1271\" src=\"https:\/\/edu.circuspi.com\/wp-content\/uploads\/2026\/02\/eng-10-4_04.gif\" alt=\"\" class=\"wp-image-1271\"\/><\/figure>\n<\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Next, let&#8217;s design the action for when the &#038;#8220 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":490,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,23],"tags":[],"table_tags":[],"class_list":{"0":"post-921","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\/921","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=921"}],"version-history":[{"count":2,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/921\/revisions"}],"predecessor-version":[{"id":1276,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/posts\/921\/revisions\/1276"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/media\/490"}],"wp:attachment":[{"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/media?parent=921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/categories?post=921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/tags?post=921"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/edu.circuspi.com\/index.php\/wp-json\/wp\/v2\/table_tags?post=921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}