[Script Info] Title: [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: 0,0:00:01.26,0:00:03.71,Default,,0000,0000,0000,,El editor de Sprites se usa para tomar imagenes Dialogue: 0,0:00:03.71,0:00:07.69,Default,,0000,0000,0000,,que contienen multiples elementos, como \Npartes de un personaje o una hoja de Sprites Dialogue: 0,0:00:07.69,0:00:10.34,Default,,0000,0000,0000,,y recortarlos en Sprites individuales. Dialogue: 0,0:00:14.00,0:00:16.28,Default,,0000,0000,0000,,It is important that the sprite mode of the image Dialogue: 0,0:00:16.28,0:00:18.28,Default,,0000,0000,0000,,is set to Multiple. Dialogue: 0,0:00:19.37,0:00:21.37,Default,,0000,0000,0000,,Images with sprite modes set to single Dialogue: 0,0:00:21.37,0:00:24.44,Default,,0000,0000,0000,,cannot use the sprite editor window at this time. Dialogue: 0,0:00:24.94,0:00:29.03,Default,,0000,0000,0000,,For more information on sprites, sprite mode and the sprite type Dialogue: 0,0:00:29.03,0:00:31.03,Default,,0000,0000,0000,,please see the information link below. Dialogue: 0,0:00:32.31,0:00:34.68,Default,,0000,0000,0000,,When sprite mode multiple is selected Dialogue: 0,0:00:34.68,0:00:37.00,Default,,0000,0000,0000,,the sprite editor button will appear on the Dialogue: 0,0:00:37.00,0:00:39.00,Default,,0000,0000,0000,,texture importer in the inspector. Dialogue: 0,0:00:40.01,0:00:43.30,Default,,0000,0000,0000,,Click the sprite editor button to open the sprite editor. Dialogue: 0,0:00:45.29,0:00:47.44,Default,,0000,0000,0000,,The sprite editor can also be opened by selecting Dialogue: 0,0:00:47.44,0:00:50.45,Default,,0000,0000,0000,,Window - Sprite Editor. Dialogue: 0,0:00:52.66,0:00:55.57,Default,,0000,0000,0000,,The sprite editor window is a standard Unity window. Dialogue: 0,0:00:55.57,0:00:58.53,Default,,0000,0000,0000,,It can be used and docked like any other window. Dialogue: 0,0:01:00.22,0:01:02.54,Default,,0000,0000,0000,,To create sprites in the sprite editor window Dialogue: 0,0:01:02.54,0:01:04.67,Default,,0000,0000,0000,,slice the image by clicking and dragging Dialogue: 0,0:01:04.67,0:01:06.42,Default,,0000,0000,0000,,over the desired elements. Dialogue: 0,0:01:06.78,0:01:10.53,Default,,0000,0000,0000,,This will create rectangular selections that define each sprite. Dialogue: 0,0:01:11.44,0:01:13.44,Default,,0000,0000,0000,,The rectangular selection can be adjusted Dialogue: 0,0:01:13.44,0:01:15.44,Default,,0000,0000,0000,,by clicking and dragging the rectangle. Dialogue: 0,0:01:16.57,0:01:19.86,Default,,0000,0000,0000,,Click and drag anywhere inside the rectangle to move it. Dialogue: 0,0:01:20.60,0:01:24.29,Default,,0000,0000,0000,,Click and drag any of the corners or edges to resize it. Dialogue: 0,0:01:29.10,0:01:31.10,Default,,0000,0000,0000,,Click and drag the pivot point gizmo to move Dialogue: 0,0:01:31.10,0:01:33.32,Default,,0000,0000,0000,,the pivot point for that sprite. Dialogue: 0,0:01:37.06,0:01:39.98,Default,,0000,0000,0000,,When a sprite is selected a sprite panel appears Dialogue: 0,0:01:39.98,0:01:41.98,Default,,0000,0000,0000,,in the lower right of the sprite editor Dialogue: 0,0:01:41.98,0:01:44.61,Default,,0000,0000,0000,,with details about the selected sprite. Dialogue: 0,0:01:45.61,0:01:47.61,Default,,0000,0000,0000,,Name is the name of the sprite. Dialogue: 0,0:01:48.54,0:01:51.73,Default,,0000,0000,0000,,The name is created from the name of the original image Dialogue: 0,0:01:51.73,0:01:54.36,Default,,0000,0000,0000,,and the order in which it was sliced from that image, Dialogue: 0,0:01:54.36,0:01:55.94,Default,,0000,0000,0000,,starting with 0. Dialogue: 0,0:01:56.62,0:01:58.20,Default,,0000,0000,0000,,Position defines where the sprite Dialogue: 0,0:01:58.20,0:02:00.20,Default,,0000,0000,0000,,is on the image, in pixels. Dialogue: 0,0:02:00.92,0:02:04.15,Default,,0000,0000,0000,,X and Y define the start point of the sprite. Dialogue: 0,0:02:04.15,0:02:06.15,Default,,0000,0000,0000,,measured from the lower left corner of the image. Dialogue: 0,0:02:06.15,0:02:08.80,Default,,0000,0000,0000,,to the lower left corner of the sprite. Dialogue: 0,0:02:09.61,0:02:11.96,Default,,0000,0000,0000,,W and H define the width and height Dialogue: 0,0:02:11.96,0:02:13.96,Default,,0000,0000,0000,,of the sprite, from the start point. Dialogue: 0,0:02:16.42,0:02:18.42,Default,,0000,0000,0000,,The trim button can be used to trim off any Dialogue: 0,0:02:18.42,0:02:20.31,Default,,0000,0000,0000,,excess space around the element, Dialogue: 0,0:02:20.31,0:02:22.98,Default,,0000,0000,0000,,creating the tightest fitting rectangle possible. Dialogue: 0,0:02:25.33,0:02:27.33,Default,,0000,0000,0000,,Pivot sets the pivot point for this sprite. Dialogue: 0,0:02:27.99,0:02:30.29,Default,,0000,0000,0000,,The pivot drop-down menu includes presets Dialogue: 0,0:02:30.29,0:02:32.100,Default,,0000,0000,0000,,for each corner and the centre of each edge. Dialogue: 0,0:02:34.27,0:02:36.27,Default,,0000,0000,0000,,Custom allows for a custom pivot point Dialogue: 0,0:02:36.27,0:02:38.89,Default,,0000,0000,0000,,to be set numerically under Custom Pivot. Dialogue: 0,0:02:40.50,0:02:42.30,Default,,0000,0000,0000,,Along the top of the sprite editor are a Dialogue: 0,0:02:42.30,0:02:43.86,Default,,0000,0000,0000,,number of tools. Dialogue: 0,0:02:44.55,0:02:46.20,Default,,0000,0000,0000,,The slice menu, Dialogue: 0,0:02:46.90,0:02:48.90,Default,,0000,0000,0000,,the revert and apply buttons, Dialogue: 0,0:02:49.67,0:02:51.67,Default,,0000,0000,0000,,the RGB alpha toggle Dialogue: 0,0:02:52.68,0:02:54.68,Default,,0000,0000,0000,,and the zoom slider. Dialogue: 0,0:02:56.55,0:03:00.14,Default,,0000,0000,0000,,The slice menu is used to automatically create sprites Dialogue: 0,0:03:00.14,0:03:02.78,Default,,0000,0000,0000,,by slicing the sprite elements from the image. Dialogue: 0,0:03:03.73,0:03:07.02,Default,,0000,0000,0000,,The slice type is either automatic or grid. Dialogue: 0,0:03:07.96,0:03:10.50,Default,,0000,0000,0000,,Automatic is best for slicing individual Dialogue: 0,0:03:10.50,0:03:12.50,Default,,0000,0000,0000,,uneven elements, like from an atlas. Dialogue: 0,0:03:13.65,0:03:15.65,Default,,0000,0000,0000,,Elements on the image are automatically Dialogue: 0,0:03:15.65,0:03:17.94,Default,,0000,0000,0000,,detected based on the empty space around them. Dialogue: 0,0:03:18.66,0:03:20.90,Default,,0000,0000,0000,,Each sprite will have effectively been trimmed Dialogue: 0,0:03:20.90,0:03:22.15,Default,,0000,0000,0000,,as a result. Dialogue: 0,0:03:23.06,0:03:26.30,Default,,0000,0000,0000,,With automatic selected minimum size defines the Dialogue: 0,0:03:26.30,0:03:29.12,Default,,0000,0000,0000,,minimum size for each individual sprite. Dialogue: 0,0:03:30.05,0:03:32.70,Default,,0000,0000,0000,,If this value is set too high smaller elements Dialogue: 0,0:03:32.70,0:03:34.70,Default,,0000,0000,0000,,that are near each other could be combined Dialogue: 0,0:03:34.70,0:03:36.78,Default,,0000,0000,0000,,in to 1 larger sprite to meet Dialogue: 0,0:03:36.78,0:03:38.78,Default,,0000,0000,0000,,the minimum size requirements. Dialogue: 0,0:03:39.67,0:03:41.67,Default,,0000,0000,0000,,Pivot sets the default pivot point that will Dialogue: 0,0:03:41.67,0:03:43.58,Default,,0000,0000,0000,,be applied to all sprites when they are Dialogue: 0,0:03:43.58,0:03:45.12,Default,,0000,0000,0000,,spiced from the image. Dialogue: 0,0:03:46.08,0:03:49.64,Default,,0000,0000,0000,,Just like the sprite panel, the pivot drop-down menu Dialogue: 0,0:03:49.64,0:03:52.68,Default,,0000,0000,0000,,includes presets for each corner and the centre of each edge. Dialogue: 0,0:03:54.69,0:03:57.75,Default,,0000,0000,0000,,To set a custom pivot, once the sprites have been sliced Dialogue: 0,0:03:57.75,0:03:59.75,Default,,0000,0000,0000,,select any sprite and adjust it's pivot point Dialogue: 0,0:03:59.75,0:04:01.75,Default,,0000,0000,0000,,in the sprite panel, Dialogue: 0,0:04:01.75,0:04:04.05,Default,,0000,0000,0000,,or adjust it visually in the editor. Dialogue: 0,0:04:05.64,0:04:07.82,Default,,0000,0000,0000,,Method lets you choose how to deal with existing Dialogue: 0,0:04:07.82,0:04:10.06,Default,,0000,0000,0000,,sprites in the sprite editor window. Dialogue: 0,0:04:10.99,0:04:13.33,Default,,0000,0000,0000,,Delete Existing will replace any sprites Dialogue: 0,0:04:13.33,0:04:15.70,Default,,0000,0000,0000,,that already exist with new sprites. Dialogue: 0,0:04:16.65,0:04:18.84,Default,,0000,0000,0000,,Smart will attempt to create new sprites Dialogue: 0,0:04:18.84,0:04:21.33,Default,,0000,0000,0000,,while retaining and adjusting existing ones. Dialogue: 0,0:04:22.24,0:04:24.24,Default,,0000,0000,0000,,Safe will add new sprites without Dialogue: 0,0:04:24.24,0:04:26.68,Default,,0000,0000,0000,,changing any sprites already created. Dialogue: 0,0:04:28.91,0:04:31.94,Default,,0000,0000,0000,,When the settings are correct select the Slice button Dialogue: 0,0:04:31.94,0:04:34.70,Default,,0000,0000,0000,,to slice the image in to individual sprites. Dialogue: 0,0:04:35.96,0:04:39.23,Default,,0000,0000,0000,,After slicing, each sprite can be edited individually. Dialogue: 0,0:04:41.49,0:04:44.09,Default,,0000,0000,0000,,With the sprite sheet, where each element is designed Dialogue: 0,0:04:44.09,0:04:46.78,Default,,0000,0000,0000,,to be a regular identical size, Dialogue: 0,0:04:46.78,0:04:49.51,Default,,0000,0000,0000,,if Slice Type Automatic is used Dialogue: 0,0:04:49.51,0:04:52.35,Default,,0000,0000,0000,,small changes in the individual sprite's shape Dialogue: 0,0:04:52.35,0:04:54.35,Default,,0000,0000,0000,,and the amount of empty space surrounding it Dialogue: 0,0:04:54.35,0:04:57.16,Default,,0000,0000,0000,,could cause the sprites to be cut out unevenly. Dialogue: 0,0:04:58.37,0:05:01.78,Default,,0000,0000,0000,,To evenly slice a sprite sheet made of regular elements Dialogue: 0,0:05:01.78,0:05:03.78,Default,,0000,0000,0000,,choose Slice Type Grid. Dialogue: 0,0:05:05.95,0:05:09.20,Default,,0000,0000,0000,,Pixel Size sets the size of the grid in pixels. Dialogue: 0,0:05:10.49,0:05:13.15,Default,,0000,0000,0000,,Pivot sets the default pivot point that will be applied Dialogue: 0,0:05:13.15,0:05:16.14,Default,,0000,0000,0000,,to all sprites when they are sliced from the image. Dialogue: 0,0:05:16.14,0:05:19.24,Default,,0000,0000,0000,,To set a custom pivot, once the sprites have been sliced, Dialogue: 0,0:05:19.24,0:05:21.60,Default,,0000,0000,0000,,select any sprite and adjust it's pivot point Dialogue: 0,0:05:21.60,0:05:24.96,Default,,0000,0000,0000,,in the sprite panel, or adjust it visually in the editor. Dialogue: 0,0:05:25.93,0:05:28.34,Default,,0000,0000,0000,,When the settings are correct use the slice button Dialogue: 0,0:05:28.34,0:05:30.90,Default,,0000,0000,0000,,to slice the image in to individual sprites. Dialogue: 0,0:05:32.02,0:05:35.34,Default,,0000,0000,0000,,After slicing each sprite can be edited individually. Dialogue: 0,0:05:36.20,0:05:38.99,Default,,0000,0000,0000,,When slicing is complete, to save any changes, Dialogue: 0,0:05:38.99,0:05:40.99,Default,,0000,0000,0000,,select Apply. Dialogue: 0,0:05:41.42,0:05:44.45,Default,,0000,0000,0000,,Or discard any change by selecting Revert. Dialogue: 0,0:05:46.49,0:05:48.49,Default,,0000,0000,0000,,The RGB Alpha toggle switches the Dialogue: 0,0:05:48.49,0:05:51.59,Default,,0000,0000,0000,,display of the sprite editor between the colour image Dialogue: 0,0:05:51.59,0:05:54.15,Default,,0000,0000,0000,,and it's alpha channel, making it easier to see Dialogue: 0,0:05:54.15,0:05:56.85,Default,,0000,0000,0000,,fine details when manually adjusting edges. Dialogue: 0,0:05:57.93,0:06:01.42,Default,,0000,0000,0000,,The zoom slider controls the zoom when viewing the image. Dialogue: 0,0:06:03.59,0:06:05.59,Default,,0000,0000,0000,,When an image has been successfully edited Dialogue: 0,0:06:05.59,0:06:07.59,Default,,0000,0000,0000,,and the changes applied Dialogue: 0,0:06:08.09,0:06:10.49,Default,,0000,0000,0000,,the asset will update in the project window. Dialogue: 0,0:06:12.16,0:06:14.57,Default,,0000,0000,0000,,And a new sprite, or set of sprites Dialogue: 0,0:06:14.57,0:06:17.08,Default,,0000,0000,0000,,can be seen as a child or group of children Dialogue: 0,0:06:17.08,0:06:18.58,Default,,0000,0000,0000,,under the image. Dialogue: 0,0:06:19.29,0:06:21.83,Default,,0000,0000,0000,,When viewing thumbnails in the project view Dialogue: 0,0:06:21.83,0:06:24.68,Default,,0000,0000,0000,,click the turn-down arrow to see any children. Dialogue: 0,0:06:26.64,0:06:30.14,Default,,0000,0000,0000,,Each child represents a useable sprite from that image. Dialogue: 0,0:06:30.98,0:06:32.66,Default,,0000,0000,0000,,Any of these sprites can be used in the Dialogue: 0,0:06:32.66,0:06:35.46,Default,,0000,0000,0000,,project independently, or grouped together Dialogue: 0,0:06:35.46,0:06:37.46,Default,,0000,0000,0000,,to create a character, for example, Dialogue: 0,0:06:38.14,0:06:40.78,Default,,0000,0000,0000,,or used sequentially as animations.