# Photoshop to Spine
This script supports the latest version of Photoshop CC and all older versions of Photoshop back to CS2.
Please note that Adobe has made [CS2 available for download](https://helpx.adobe.com/creative-suite/kb/cs2-product-downloads.html?promoid=19SCDRQK), though they ask that only those who legitimately purchased CS2 use it.
## Download
Right click this link: [PhotoshopToSpine.jsx](https://github.com/EsotericSoftware/spine-scripts/raw/master/photoshop/PhotoshopToSpine.jsx) (not the link above) and choose `Save Link As` to save the script file. Make sure the extension of the file you are saving is `.jsx` and that you aren't mistakenly saving the web page instead.
To see the Spine logo on the dialog, you may optionally right click [logo.png](https://github.com/EsotericSoftware/spine-scripts/raw/master/photoshop/logo.png) and choose `Save As` to save the logo image in the same folder as the script file.
## Install
Navigate to the Photoshop installation folder, then choose the folder `Presents`, then `Scripts`. On Windows the path is likely similar to this:
```
C:\Program Files\Adobe\Adobe Photoshop CC 2019\Presets\Scripts
```
Copy the files `PhotoshopToSpine.jsx` (and optionally `logo.png`) inside the `Scripts` folder, then restart Photoshop.
## Tutorial video
[![](https://esotericsoftware.com/img/photoshop-yt-video-thumbnail.png)](https://youtu.be/p7yZET00GeE)
## Usage
The script can be run by choosing `File` > `Scripts` > `PhotoshopToSpine` in Photoshop.
If you didn't copy the files in the Photoshop directory, the script can also be run by choosing `File` > `Scripts` > `Browse` in Photoshop.
The script can also be run by dragging the file to Photoshop window's menu bar or toolbar if you're using Photoshop v19 or earlier.
It can be helpful to create a Photoshop action that runs the script. A function key can be specified for the action, allowing the script to be run with a single key press.
![](http://n4te.com/x/6818-OdSW.png)
* `Ignore hidden layers` Hidden groups and layers are not output.
* `Ignore background layer` The background layer is not output.
* `Trim whitespace` When checked, whitespace around the edges of each layer is removed. When unchecked, all images are the size of the PSD.
* `Write Spine JSON` A JSON file is written that can be imported into Spine.
* `Write template image` An image containing the currently visible layers is created for use as a template for positioning in Spine.
* `Scale` Scales the layers before writing the image files. This is useful when using higher resolution art in Photoshop than you want to use in Spine.
* `Padding` The number of pixels around each image. This can avoid aliasing artifacts for opaque pixels along the image edge.
* `Images output path` The folder where the images files will be written.
* `JSON output path` If ending in `.json`, the JSON file that will be written. Otherwise, the folder where the JSON file will be written, using the name of the PSD file.
## Origin
The Photoshop ruler origin corresponds to 0,0 in Spine, allowing you to constrol the position of your skeleton in Spine.
## Tags
Tags in square brackets can be used in layer and group names to customize the output. The tags can be anywhere in the name, for example `head [slot]` or `[slot] head`.
**Group names:**
* `[bone]` Slot and bone layers in the group are placed under a bone, named after the group. The bone is created at the center of a visible attachment.
* `[slot]` Layers in the group are placed in a slot, named after the group.
* `[skin]` Layers in the group are placed in a skin, named after the group. Skin images are output in a subfolder for the skin.
* `[merge]` Layers in the group are merged and a single image is output, named after the group.
* `[folder]` Layers in the group will be output in a subfolder. Folder groups can be nested.
* `[ignore]` Layers in the group and any child groups will not be output.
**Layer names:**
* `[ignore]` The layer will not be output.
* `[path:name]` Specifies the image file name, which can be different from the attachment name. Whitespace trimming is required. Can be used on a group with `[merge]`.
## Blending modes
The script will recognize the following blending modes applied to a folder or layer. The slot in Spine will have the corresponding blending mode.
* `Normal` corresponds to the `Normal` blending mode in Spine.
* `Multiply` corresponds to the `Multiply` blending mode in Spine.
* `Screen` corresponds to the `Screen` blending mode in Spine.
* `Linear Dodge` corresponds to the `Additive` blending mode in Spine.
## Adjustment layers
Adjustment layers can be used in Photoshop and are automatically applied to the generated images, without having to apply or merge them to each layer below them.
没有合适的资源?快使用搜索试试~ 我知道了~
二维游戏动画制作软件Spine pro 3.8.75+K'D.zip
共759个文件
png:512个
json:33个
atlas:30个
需积分: 5 3 下载量 61 浏览量
2024-01-17
10:24:33
上传
评论
收藏 64.75MB RAR 举报
温馨提示
二维游戏动画制作软件 Spine Pro v3.8.75 软件介绍: Spine软件是一款针对游戏开发的2D骨骼动画编辑工具。 Spine旨在提供更高效和简洁 的工作流程,以创建游戏所需的动画。动画能给游戏带来生机和灵气。我们相信创作一段美妙的动画,不仅需要强大的软件工具,更需要一套强大的工作流程。 Spine专注于此,为您创建惊艳的骨骼动画,并将其整合到游戏当中,提供了一套高效的工作流程。软件为多国语言版,含中文版。 优势: 在 Spine 中通过将图片绑定到骨骼上,然后再控制骨骼实现动画。 2D 骨骼动画相对于传统的逐帧动画有以下优势: 最小的体积: 传统的动画需要提供每一帧图片。而 Spine 动画只保存骨骼的动画数据,它所占用的空间非常小,并能为你的游戏提供独一无二的动画。 美术需求: Spine 动画需要的美术资源更少,能为您节省出更多的人力物力更好的投入到游戏开发中去。 流畅性: Spine 动画使用差值算法计算中间帧,这能让你的动画总是保持流畅的效果。 装备附件: 图片绑定在骨骼上来实现动画。如果你需要可以方便的更换角色的装备满足不同的需求。甚
资源推荐
资源详情
资源评论
收起资源包目录
二维游戏动画制作软件Spine pro 3.8.75+K'D.zip (759个子文件)
3.8.75 10.44MB
ADDITIONAL_LICENSE_INFO 2KB
ADDITIONAL_LICENSE_INFO 49B
ADDITIONAL_LICENSE_INFO 49B
ADDITIONAL_LICENSE_INFO 49B
ADDITIONAL_LICENSE_INFO 49B
ASSEMBLY_EXCEPTION 1KB
ASSEMBLY_EXCEPTION 44B
ASSEMBLY_EXCEPTION 44B
ASSEMBLY_EXCEPTION 44B
ASSEMBLY_EXCEPTION 44B
mix-and-match-pma.atlas 17KB
mix-and-match.atlas 17KB
goblins-pma.atlas 4KB
goblins.atlas 4KB
spineboy-pma.atlas 4KB
spineboy.atlas 4KB
dragon-pma.atlas 4KB
dragon.atlas 4KB
raptor-pma.atlas 4KB
raptor.atlas 4KB
alien-pma.atlas 3KB
alien.atlas 3KB
owl-pma.atlas 3KB
owl.atlas 3KB
windmill-pma.atlas 3KB
windmill.atlas 3KB
speedy-pma.atlas 3KB
speedy.atlas 3KB
tank-pma.atlas 2KB
tank.atlas 2KB
hero-pma.atlas 2KB
hero.atlas 2KB
coin-pma.atlas 890B
coin.atlas 886B
stretchyman-pma.atlas 570B
stretchyman.atlas 566B
powerup-pma.atlas 364B
powerup.atlas 360B
vine-pma.atlas 172B
vine.atlas 168B
install.bat 139B
fontconfig.bfc 4KB
cacerts 176KB
blacklisted.certs 1KB
jvm.cfg 2KB
classlist 42KB
Spine.com 300KB
tzdb.dat 103KB
jvm.dll 6.97MB
awt.dll 1.15MB
msvcr120.dll 948KB
freetype.dll 498KB
msvcp120.dll 445KB
mlib_image.dll 405KB
fontmanager.dll 343KB
lcms.dll 189KB
splashscreen.dll 171KB
jli.dll 170KB
javajpeg.dll 130KB
java.dll 120KB
net.dll 74KB
zip.dll 62KB
nio.dll 44KB
verify.dll 34KB
jsound.dll 25KB
jsoundds.dll 21KB
jimage.dll 15KB
prefs.dll 10KB
jawt.dll 8KB
Spine.exe 301KB
UninstallSpine.exe 208KB
Shortcut.exe 56KB
InkscapeToSpine.inx 1KB
PathsToSpine.inx 954B
psfont.properties.ja 4KB
jrt-fs.jar 104KB
background.jpg 83KB
underscore.js 52KB
json2.js 18KB
utilities.js 529B
mix-and-match-pro.json 648KB
spineboy-pro.json 168KB
raptor-pro.json 157KB
tank-pro.json 157KB
alien-pro.json 138KB
hero-pro.json 81KB
windmill-ess.json 77KB
stretchyman-pro.json 59KB
goblins-pro.json 45KB
spineboy-ess.json 44KB
hero-ess.json 38KB
alien-ess.json 33KB
owl-pro.json 32KB
powerup-pro.json 31KB
speedy-ess.json 28KB
dragon-ess.json 20KB
vine-pro.json 17KB
goblins-ess.json 17KB
powerup-ess.json 14KB
共 759 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
十三先生NO
- 粉丝: 5
- 资源: 301
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功