{"id":155,"date":"2019-06-25T14:13:36","date_gmt":"2019-06-25T14:13:36","guid":{"rendered":"http:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/camera"},"modified":"2023-01-09T20:56:34","modified_gmt":"2023-01-09T20:56:34","slug":"camera","status":"publish","type":"docs","link":"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/camera","title":{"rendered":"Camera"},"content":{"rendered":"<h3>WHAT ITS FOR:<\/h3>\n<p>The camera is what makes the level &#8220;scroll&#8221;.<br \/>The camera in the SHMUP Creator has another very important function: it wake-up entities. Each time the camera sees an enemy, an item or a trigger, it wakes those entities up and makes them alive.<br \/>Keep this in mind when you place your enemies or trigger.<\/p>\n<h3>PROPERTIES<\/h3>\n<h5><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-295\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/tab_heart.jpg\" alt=\"\" width=\"30\" height=\"22\" \/>\u00a0SETTINGS TAB<\/h5>\n<p><strong>MOVE<\/strong><br \/>There is 3 modes for the camera scrolling: vertical, horizontal, and waypoint. The first two are basic modes, and waypoint allows you to do whatever you want: you create a path with waypoints, and the camera can then go to the right, then stop, then go in diagonal etc.<br \/><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>Vertical<\/strong> radio button: a vertical scrolling<br \/><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>Horizontal<\/strong> radio button: a horizontal scrolling<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0 <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>Path max length<\/strong> spinner: in vertical or horizontal mode, this value adjusts the scrolling length.<br \/><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>Waypoint<\/strong> radio button: a path allowing a complex trajectory for the camera. You can also use this mode without waypoint in conjunction with the player follow camera settings to create a free-roaming camera.<\/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>speed<\/strong> spinner: the default speed of the camera. This speed is then modulated by the waypoints and the trigger camera speeds.<\/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\" \/> <strong>global height <\/strong>spinner: the height of the camera. An easy way to translate the camera lower or higher and all its waypoints together if it has ones.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2091 size-full\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/06\/SHMCreator_CameraGlobalHeight.jpg\" alt=\"\" width=\"1280\" height=\"380\" srcset=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/06\/SHMCreator_CameraGlobalHeight.jpg 1280w, https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/06\/SHMCreator_CameraGlobalHeight-300x89.jpg 300w, https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/06\/SHMCreator_CameraGlobalHeight-1024x304.jpg 1024w, https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/06\/SHMCreator_CameraGlobalHeight-768x228.jpg 768w, https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/06\/SHMCreator_CameraGlobalHeight-1200x356.jpg 1200w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p><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>F.O.V.<\/strong> spinner (from 90 to 10 &#8211; default value is 30): the field of view of the camera. It acts like a camera zoom: the angle made between the camera&#8217;s position and the edges of the &#8220;screen&#8221; onto which the scene is projected.<br \/>High values (90+ degrees) result in a wide-angle and low values (30-) result in a telescopic kind of.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2087 size-full\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/06\/SHMCreator_FieldOfView.jpg\" alt=\"\" width=\"1280\" height=\"380\" srcset=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/06\/SHMCreator_FieldOfView.jpg 1280w, https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/06\/SHMCreator_FieldOfView-300x89.jpg 300w, https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/06\/SHMCreator_FieldOfView-1024x304.jpg 1024w, https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/06\/SHMCreator_FieldOfView-768x228.jpg 768w, https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/06\/SHMCreator_FieldOfView-1200x356.jpg 1200w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/p>\n<p><strong>ANGLE OF VIEW<\/strong><br \/><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>Rotation x<\/strong> spinner: rotate the camera in x<br \/><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>Rotation y<\/strong>\u00a0spinner: rotate the camera in y<br \/><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>Rotation Z<\/strong> spinner: rotate the camera in Z<\/p>\n<p><strong>WAKE ZONE<\/strong><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2114\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/06\/SHMcreator_wakeZone.gif\" alt=\"\" width=\"700\" height=\"394\" \/>The wake zone is a zone outside of what the camera sees.<br \/>As soon as something is inside this zone, it wakes up.<br \/>So, the bigger the wake zone, the sooner the enemies or trigger will start. It can be useful because you sometimes want to wake up enemies slightly outside what the camera sees.<\/p>\n<p>In the above picture, the wake-zone is the yellow square. The blue square is what the game camera see.<br \/><strong><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<\/strong> spinner: the scale of the zone<br \/><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>Width<\/strong> spinner: the width of the zone<\/p>\n<p><strong>FOLLOW PLAYER<\/strong><br \/>The camera can follow the player automatically. You can use this feature with the scrolling: for example, in a horizontal shooter, you can allow the camera to follow the player up and down only for level with a height bigger than the screen. Or you can choose no scroll at all, and only use the follow-player camera, for games allowing the player to explore a level freely.<\/p>\n<p><strong>\u00a0\u00a0\u00a0\u00a0 Limits:<br \/><\/strong>Limits allow controlling the maximum distance the camera can follow the player in the world. 0 means the camera will never move in this direction. 100 means it can moves 100 units in this direction, from the camera start position.<br \/><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>Top<\/strong> spinner: the distance the camera can move to the top<br \/><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>Right<\/strong> spinner: the distance the camera can move to the right<br \/><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>Bottom<\/strong> spinner: the distance the camera can move to the bottom<br \/><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>Left<\/strong> spinner: the distance the camera can move to the left<br \/><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>Acceleration<\/strong> spinner: the bigger the value, the fastest the camera will accelerate to follow the player. A small number will create a smoother move.<\/p>\n<p><strong>\u00a0\u00a0\u00a0\u00a0 Behavior:<br \/><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\" \/>Default <\/strong>radio button<strong><br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <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\" \/><\/strong> <strong>speed<\/strong> spinner:<strong> 1 <\/strong>camera moves as quick as the player, <strong>&lt;1 <\/strong>camera moves slower than the player<strong>. <\/strong>If the camera moves as fast as the player, the player seems to be stuck on screen. There is no rule, find your perfect value.<strong><br \/><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\" \/>Dead zone <\/strong>radio button<br \/>By default, as soon as the player moves, the camera starts to follow him. But sometimes you want to allows a zone in the center where the player doesn&#8217;t affect the camera, for a more natural feel. Imagine a rectangle in the screen center, and the camera starts to follow the player when he is outside this rectangle.<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <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>Start zone x %<\/strong> spinner: the width of the rectangle, in screen percent.<br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <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>Start zone y %<\/strong> spinner: the height of the rectangle, in screen percent.<\/p>\n<h5><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-298\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/tab_waypoints.jpg\" alt=\"\" width=\"30\" height=\"22\" \/>\u00a0WAYPOINT TAB<\/h5>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-225\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/editor_layers_plus.jpg\" alt=\"\" width=\"22\" height=\"22\" \/>\u00a0<strong>New waypoint<\/strong> button: start the add waypoint mode. In this mode, clicking on the level will add a new waypoint. To stop this mode, click again on the + button, or right-click.<br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-236\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/menu_trash.jpg\" alt=\"\" width=\"22\" height=\"22\" \/>\u00a0<strong>Delete waypoint<\/strong> button: delete the current waypoint.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-390\" src=\"https:\/\/www.shmupcreator.com\/doc\/wp-content\/uploads\/2019\/07\/arrows.jpg\" alt=\"\" width=\"101\" height=\"26\" \/>\u00a0<strong>Waypoint number<\/strong> arrows.<\/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>Path tension<\/strong> spinner: the tension controls the roundness of the path. 0 will create a harsh transition at the waypoint position. A 1 value will create a curvy transition at the waypoint value.<br \/><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>Speed<\/strong> spinner: the speed the camera will have when it arrives at this waypoint. The different speeds are interpolated between each waypoint to allows the camera to change its speed smoothly.<br \/><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\" \/> Wait<\/strong> spinner: when the camera arrives at this waypoint, it will stop for a moment. The wait value is the duration of the wait, in seconds.<\/p>\n\n\n<pre class=\"wp-block-preformatted\"><strong>Tip:<\/strong> often you don't want an enemy to start right away when the camera sees it. Or you want an enemy to start from the top of the screen, too high to be ever seen by the camera.\nIn those cases, you can plug the enemy to a trigger, and place the trigger at a place where the camera will see it at the right time.<\/pre>\n","protected":false},"featured_media":0,"parent":136,"menu_order":6,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-155","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/155","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=155"}],"version-history":[{"count":33,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/155\/revisions"}],"predecessor-version":[{"id":2116,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/155\/revisions\/2116"}],"up":[{"embeddable":true,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/136"}],"next":[{"title":"FX","link":"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/fx","href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/157"}],"prev":[{"title":"Triggers and game objects","link":"https:\/\/www.shmupcreator.com\/doc\/?docs=shmupcreator\/objects-and-entities\/triggers-and-game-objects","href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=\/wp\/v2\/docs\/156"}],"wp:attachment":[{"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=155"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.shmupcreator.com\/doc\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}