{"id":157,"date":"2019-06-25T14:13:58","date_gmt":"2019-06-25T14:13:58","guid":{"rendered":"http:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/fx"},"modified":"2023-09-23T10:49:15","modified_gmt":"2023-09-23T10:49:15","slug":"fx","status":"publish","type":"docs","link":"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/fx","title":{"rendered":"FX"},"content":{"rendered":"<div>\n<h3>WHAT ITS FOR:<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1058\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2020\/01\/sfx_example.jpg\" alt=\"\" width=\"428\" height=\"221\" srcset=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2020\/01\/sfx_example.jpg 428w, https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2020\/01\/sfx_example-300x155.jpg 300w\" sizes=\"auto, (max-width: 428px) 85vw, 428px\" \/><\/p>\n<p>FX objects can add special effects to the level. They are only cosmetic effects and have nothing to do with the gameplay. One FX object can add several types of effects at the same time, like a light, particles or lens-effects.<\/p>\n<h3>PROPERTIES:<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-482\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/08\/textfieldName.jpg\" alt=\"\" width=\"40\" height=\"21\" \/>\u00a0<strong>Name text<\/strong> field: the name of the FX.<\/p>\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-580\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/08\/attach.jpg\" alt=\"\" width=\"22\" height=\"22\" \/>\u00a0Attach \/ <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-581\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/08\/detach.jpg\" alt=\"\" width=\"22\" height=\"22\" \/>\u00a0Detach<\/strong> buttons: you can attach an FX to an enemy or the player .<\/p>\n<p><strong>To attach an object to another: <br \/><\/strong>Select the object you want to attach then press the <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-580\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/08\/attach.jpg\" alt=\"\" width=\"22\" height=\"22\" \/>\u00a0<strong>Attach<\/strong>\u00a0button in the Attach section of the properties panel. A chain and a hook will move with your mouse: move it on the object you want to attach the other object to (this object outlines should turn red to show you you can attach) and click to validate.<\/p>\n<p><strong>To detach an object:<br \/><\/strong>Select the object you want to detach, and click the <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-581\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/08\/detach.jpg\" alt=\"\" width=\"22\" height=\"22\" \/>\u00a0<strong>Detach<\/strong>\u00a0button in the Attach section of the properties panel.<\/p>\n<p><strong>LIGHT:<\/strong><br \/><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-448\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner1float.jpg\" alt=\"\" width=\"60\" height=\"22\" \/> Intensity<\/strong> spinner: the light intensity, to make it more or less bright.<br \/><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-440\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner.jpg\" alt=\"\" width=\"60\" height=\"22\" \/> Attenuation<\/strong> spinner: the radius which defines the light emission distance.<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-486\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/08\/color.jpg\" alt=\"\" width=\"44\" height=\"22\" \/>\u00a0 <strong>Color<\/strong>: the color of the light.<br \/><strong><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\" \/> blinking<\/strong> checkbox: you can make the light blink to add dynamic effects to your level. The blinking will affect the light, as well as the lens-flare and glow.<br \/><strong>\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-448\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner1float.jpg\" alt=\"\" width=\"60\" height=\"22\" \/> Frequency<\/strong> spinner: the speed of the blinking.<br \/><strong>\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-448\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner1float.jpg\" alt=\"\" width=\"60\" height=\"22\" \/> Intensity<\/strong> spinner: a bigger value means a bigger difference between the darkest and brightest light intensity.<br \/><strong>\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-449\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner1.jpg\" alt=\"\" width=\"61\" height=\"22\" \/> Randomness<\/strong> spinner: it adds randomness to the blinking effect.<\/p>\n<p><strong><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\" \/> lens-flare<\/strong> checkbox:<br \/><strong>Type<\/strong> menu: you can choose a lens-flare from the preset list.<br \/><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-440\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner.jpg\" alt=\"\" width=\"60\" height=\"22\" \/> Scale<\/strong> spinner: the lens-flare size.<\/p>\n<p><strong><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\" \/> glow<\/strong> checkbox:<br \/><strong>Type<\/strong> menu: you can choose a glow effect from the preset list.<br \/><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-440\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner.jpg\" alt=\"\" width=\"60\" height=\"22\" \/> Scale<\/strong> spinner: the glow scale.<\/p>\n<p><strong><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\" \/> particle system<\/strong> checkbox:<br \/><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-597\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/08\/comboPicture.jpg\" alt=\"\" width=\"128\" height=\"22\" \/>\u00a0Type<\/strong> menu: the particle effect.<br \/><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-440\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner.jpg\" alt=\"\" width=\"60\" height=\"22\" \/> Scale<\/strong> spinner: you can scale the particle effect.<\/p>\n<\/div>\n\n\n<pre class=\"wp-block-preformatted\"><strong>Note:<\/strong> although the engine will try to scale the particle size as well as the speed as much as he can, it will not be as accurate as modifying the particle effect script directly.<\/pre>\n\n\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-427 alignnone\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/checkbox.jpg\" alt=\"\" width=\"26\" height=\"26\" \/><strong>off-camera pause: <\/strong>if the particle system is off-camera for the timeout, it is paused until it is next visible by the camera<br \/><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-440 alignnone\" src=\"http:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/spinner.jpg\" alt=\"\" width=\"60\" height=\"22\" \/>timeout spinner: choose the time (second) the particle system is paused.<\/p>","protected":false},"featured_media":0,"parent":136,"menu_order":7,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-157","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/157","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=157"}],"version-history":[{"count":15,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/157\/revisions"}],"predecessor-version":[{"id":2969,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/157\/revisions\/2969"}],"up":[{"embeddable":true,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/136"}],"next":[{"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"}],"prev":[{"title":"Camera","link":"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/camera","href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/155"}],"wp:attachment":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=157"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=157"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}