{"id":2012,"date":"2022-12-17T11:13:34","date_gmt":"2022-12-17T11:13:34","guid":{"rendered":"http:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/player-control"},"modified":"2024-07-24T08:53:35","modified_gmt":"2024-07-24T08:53:35","slug":"player-control","status":"publish","type":"docs","link":"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/triggers-and-game-objects\/player-control","title":{"rendered":"Player control"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">WHAT IT&#8217;S FOR:<\/h3>\n\n\n<p><strong>Player control<\/strong> allows you to control the player&#8217;s behaviors. <br \/>For example, you can move the player to a certain screen position, disable its weapons and\/or the smart bombs, or even hide it during a cut scene.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-427\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/checkbox.jpg\" alt=\"\" width=\"26\" height=\"26\" \/> <strong>hide<\/strong> checkbox: if checked the player object will be hidden from the screen<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-427\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/checkbox.jpg\" alt=\"\" width=\"26\" height=\"26\" \/> <strong>freeze controls <\/strong>checkbox: the player can&#8217;t move if checked<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-427\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/checkbox.jpg\" alt=\"\" width=\"26\" height=\"26\" \/> <strong>hold fire <\/strong>checkbox: the player can&#8217;t fire<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-427\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/checkbox.jpg\" alt=\"\" width=\"26\" height=\"26\" \/> <strong>disable smart bombs <\/strong>checkbox: smart bombs are disabled<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-427\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/checkbox.jpg\" alt=\"\" width=\"26\" height=\"26\" \/> <strong>MOVE TO SCREEN POSITION <\/strong>checkbox: the player can move to a certain screen position. During the move, the player controls are automatically frozen.<br \/>\u00a0\u00a0\u00a0 <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-448\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner1float.jpg\" alt=\"\" width=\"60\" height=\"22\" \/> <strong>duration<\/strong> spinner: the duration of the translation animation. The smaller the number, the faster the animation.<br \/>\u00a0 \u00a0 <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-448\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner1float.jpg\" alt=\"\" width=\"60\" height=\"22\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-448\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner1float.jpg\" alt=\"\" width=\"60\" height=\"22\" \/> x \/ y: the animation&#8217;s end position on the screen.<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-427\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/checkbox.jpg\" alt=\"\" width=\"26\" height=\"26\" \/> <strong>INVINCIBILITY <\/strong>checkbox: if checked the player will be invincible for a short amount of time.<br \/>\u00a0\u00a0\u00a0 <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-448\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner1float.jpg\" alt=\"\" width=\"60\" height=\"22\" \/> <strong>duration<\/strong> spinner: the invincibility duration.<\/p>\n\n\n<pre class=\"wp-block-preformatted\"><strong>Note<\/strong>: when a Player control is activated and, for example, hides the player, you need another Player control activated later to unfreeze him (you only need to uncheck everything in the second Player control).<\/pre>\n","protected":false},"featured_media":0,"parent":156,"menu_order":8,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-2012","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/2012","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=2012"}],"version-history":[{"count":5,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/2012\/revisions"}],"predecessor-version":[{"id":2915,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/2012\/revisions\/2915"}],"up":[{"embeddable":true,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/156"}],"next":[{"title":"Kill","link":"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/triggers-and-game-objects\/kill","href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/199"}],"prev":[{"title":"Trigger","link":"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/triggers-and-game-objects\/trigger","href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/175"}],"wp:attachment":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2012"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=2012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}