{"id":186,"date":"2019-06-25T14:39:58","date_gmt":"2019-06-25T14:39:58","guid":{"rendered":"http:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/text"},"modified":"2023-06-25T14:40:04","modified_gmt":"2023-06-25T14:40:04","slug":"text","status":"publish","type":"docs","link":"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/text","title":{"rendered":"Text"},"content":{"rendered":"<h3>WHAT ITS FOR:<\/h3>\n<p>With this object, you can display messages (<em>A huge spaceship is approaching!!!<\/em>), display pictures (a character talking&#8230;), and animate their in and out screen transitions.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1183\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2020\/03\/warning.gif\" alt=\"\" width=\"500\" height=\"413\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1184\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2020\/03\/text_warning.jpg\" alt=\"\" width=\"395\" height=\"260\" srcset=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2020\/03\/text_warning.jpg 395w, https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2020\/03\/text_warning-300x197.jpg 300w\" sizes=\"auto, (max-width: 395px) 85vw, 395px\" \/><\/p>\n<p>Objects used to make the above effects: text objects plugged to countdown objects for timing.<\/p>\n<h3>PROPERTIES:<\/h3>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-482\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/08\/textfieldName.jpg\" alt=\"\" width=\"40\" height=\"21\" \/>\u00a0\u00a0Name<\/strong> text field: the name of the object.<\/p>\n<h5><strong>BEHAVIOR<\/strong><\/h5>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-437\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>\u00a0Stay activated<\/strong> radio button: once the trigger is activated, it stays activated.<br \/>\n<strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-437\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>\u00a0Switch mode<\/strong> radio button: the trigger behaves like a switch.<br \/>\n<strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-437\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>\u00a0Switch mode but play until the end<\/strong> radio button: the trigger behaves like a switch, but once activated, it will play until its duration.<\/p>\n<p>The text can have a start transition, then stays on screen for some time, then can have an out transition.<\/p>\n<h5><strong>ON SCREEN<\/strong><\/h5>\n<p><strong><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\" \/>\u00a0Duration<\/strong> spinner: after the in transition, how long will the text stays on-screen<\/p>\n<p><strong>TYPE:<\/strong> the text can be a picture saved from a paint program, or a text using a font.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-437 alignnone\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>Picture<\/strong> radio button: picture mode, using a picture saved in the pictures directory in assets<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-591 alignnone\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/08\/comboNone.jpg\" alt=\"\" width=\"128\" height=\"22\" \/>\u00a0 <strong>Picture<\/strong> menu: choose your picture<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-437 alignnone\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>Text<\/strong> radio button: text mode<br \/>\n<strong>TEXT FIELD<\/strong>:<br \/>\n<strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-575\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/08\/comboFont.jpg\" alt=\"\" width=\"128\" height=\"22\" \/>\u00a0 Font<\/strong> menu: you can choose the font (see <a href=\"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/assets-and-art-creation\/importing-a-font\">Importing a font<\/a>)<br \/>\n<strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-710\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/06\/align_left.jpg\" alt=\"\" width=\"22\" height=\"22\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-711\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/06\/align_center.jpg\" alt=\"\" width=\"22\" height=\"22\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-709\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/06\/align_right.jpg\" alt=\"\" width=\"22\" height=\"22\" \/>\u00a0 Align<\/strong> menu: the text-align: to the left, center, or to the right<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-449\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner1.jpg\" alt=\"\" width=\"61\" height=\"22\" \/>\u00a0size: the text size.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-486\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/08\/color.jpg\" alt=\"\" width=\"44\" height=\"22\" \/>\u00a0 <strong>Color<\/strong>: the text color.<br \/>\n<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>character timing (char. timing)<\/strong> spinner: instead of displaying the text in one go, you can use this value to display the text letter by letter. This property allows choosing the time between each newly displayed letter.<br \/>\nYou can choose the letter sound in the <a href=\"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/editors\/gameplay-editor\">Game editor \/ Settings panel<\/a>.<\/p>\n<h5><strong>POSITION<\/strong>:<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-449\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner1.jpg\" alt=\"\" width=\"61\" height=\"22\" \/>\u00a0<strong>Horizontal position<\/strong> spinner: the horizontal position.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-440\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner.jpg\" alt=\"\" width=\"60\" height=\"22\" \/>\u00a0<strong>Vertical position<\/strong> spinner: the vertical position.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1994\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/06\/text_moveScreenWorld.gif\" alt=\"\" width=\"400\" height=\"225\" \/><\/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\" \/>\u00a0<strong>World position<\/strong> checkbox: by default, the text is displayed on top of the screen. If you check this property, the text will be displayed at the text game object position. In this case, you can choose where you want to display the text on the level.<\/p>\n<h5>RENDERING ORDER:<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-437 alignnone\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>automatic: rendering order depends of the activation order<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-437 alignnone\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/> normal &gt; order spinner: forcing order<\/p>\n<h5>TRANSITION IN:<\/h5>\n<p>The start transition. You can choose to use fading, translation, scale or rotation animation, or even combine all this.<br \/>\n<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\" \/>\u00a0<strong>DURATION<\/strong> spinner: the transition duration.<br \/>\n<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\" \/>\u00a0<strong>Fade<\/strong> checkbox: if checked, the text will fade from transparent to opaque.<br \/>\n<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\" \/>\u00a0<strong>POSITION<\/strong> checkbox: if checked the text will translate:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-437\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>\u00a0<strong>From left to right<\/strong> radio button.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-437\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>\u00a0<strong>From right to left<\/strong> radio button.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-437\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>\u00a0<strong>From top to bottom<\/strong> radio button.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-437\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>\u00a0<strong>From the bottom up<\/strong> radio button.<br \/>\n<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\" \/>\u00a0<strong>SCALE<\/strong> checkbox: if checked the text will change its scale from this value.<br \/>\n<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>degree<\/strong> spinner: the start scale percent.<br \/>\n<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\" \/>\u00a0<strong>ROTATION<\/strong> checkbox: if checked, the text will start with a rotation and rotate to the default orientation.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-449\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner1.jpg\" alt=\"\" width=\"61\" height=\"22\" \/>\u00a0<strong>Degree<\/strong> spinner: the start rotation in degrees.<\/p>\n<p><strong>TRANSITION OUT<\/strong>:<\/p>\n<p>The end transition. You can choose to use fading, translation, scale or rotation animation, or even combine all this.<\/p>\n<p><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\" \/>\u00a0<strong>DURATION<\/strong> spinner: the transition duration.<br \/>\n<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\" \/>\u00a0<strong>Fade<\/strong> checkbox: if checked, the text will fade from transparent to opaque.<br \/>\n<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\" \/>\u00a0<strong>POSITION<\/strong> checkbox: if checked the text will translate:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-437\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>\u00a0<strong>From left to right<\/strong> radio button.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-437\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>\u00a0<strong>From right to left<\/strong> <strong>checkbox<\/strong>.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-437\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>\u00a0<strong>From top to bottom<\/strong> <strong>checkbox<\/strong>.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-437\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/radioButton.jpg\" alt=\"\" width=\"26\" height=\"26\" \/>\u00a0<strong>From the bottom up<\/strong>\u00a0<strong>checkbox<\/strong>.<\/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\" \/>\u00a0<strong>SCALE<\/strong> checkbox: if checked the text will change its scale from 100% to this value.<br \/>\n<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\" \/>\u00a0<strong>Percentage<\/strong> spinner: the end scale.<\/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\" \/>\u00a0<strong>ROTATION<\/strong> checkbox: if checked, the text will rotate.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-449\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner1.jpg\" alt=\"\" width=\"61\" height=\"22\" \/>\u00a0<strong>Degree<\/strong> spinner: the end rotation in degrees.<\/p>\n","protected":false},"featured_media":0,"parent":136,"menu_order":9,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-186","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/186","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=186"}],"version-history":[{"count":22,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/186\/revisions"}],"predecessor-version":[{"id":2674,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/186\/revisions\/2674"}],"up":[{"embeddable":true,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/136"}],"prev":[{"title":"Sound","link":"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/sound","href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/185"}],"wp:attachment":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=186"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}