{"id":177,"date":"2019-06-25T14:38:53","date_gmt":"2019-06-25T14:38:53","guid":{"rendered":"http:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/end-of-level"},"modified":"2023-04-17T15:17:36","modified_gmt":"2023-04-17T15:17:36","slug":"end-of-level","status":"publish","type":"docs","link":"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/triggers-and-game-objects\/end-of-level","title":{"rendered":"End of level"},"content":{"rendered":"<h3>WHAT IT&#8217;S FOR:<\/h3>\n<p>If you want to create a multi-level game, you have to add an End of level trigger. The level will not be complete until this trigger is activated.<br \/>\nA common use is to activate this trigger when the boss is dead.<br \/>\nBut you can also plug it to a trigger and use other conditions: activate it when all the enemies of a level are dead, for instance.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-427\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/checkbox.jpg\" alt=\"\" width=\"26\" height=\"26\" \/> <strong>show end of level messages<\/strong> checkbox: at the end of a level, &#8220;Level complete&#8221; then the level score is displayed if this is checked.<br \/>\nSometimes, you don&#8217;t want to show those messages, for example for cut-scene or tutorial levels.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-427\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/checkbox.jpg\" alt=\"\" width=\"26\" height=\"26\" \/><strong>show scores<\/strong> checkbox: display the level score as well as the total score when a level is completed. If Show end of level message is enabled, the scores are displayed after this message.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-427\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/checkbox.jpg\" alt=\"\" width=\"26\" height=\"26\" \/><strong>last level<\/strong> checkbox: means that the current level is the last one.<\/p>\n<p><strong>LEVEL TO LOAD<\/strong><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-437\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>next level: once your level is done, this is the next level that is loaded.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-437\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>choose: once your level is done, pick in the menu, the level you want to be loaded.<\/p>\n","protected":false},"featured_media":0,"parent":156,"menu_order":9,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-177","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=177"}],"version-history":[{"count":10,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/177\/revisions"}],"predecessor-version":[{"id":2636,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/177\/revisions\/2636"}],"up":[{"embeddable":true,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/156"}],"next":[{"title":"Timer","link":"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/triggers-and-game-objects\/timer","href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/178"}],"prev":[{"title":"Player control","link":"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/triggers-and-game-objects\/player-control","href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/2012"}],"wp:attachment":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=177"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}