Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/en/webgal-script/animation.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ The following table explains each property:
| position | Position offset |
| rotation | Rotation angle, in radians |
| blur | Gaussian blur radius |
| brightness | Amount of brightness |
| contrast | Amount of contrast |
| saturation | Amount of saturation |
| gamma | Amount of gamma |
| colorRed | Amount of red color, range 0-255 |
| colorGreen | Amount of green color, range 0-255 |
| colorBlue | Amount of blue color, range 0-255 |
| duration | Duration of this time slice, in milliseconds (ms) |
| oldFilm | Old film effect, 0 to disable, 1 to enable |
| dotFilm | Dot film effect, 0 to disable, 1 to enable |
Expand Down
2 changes: 1 addition & 1 deletion src/en/webgal-script/bg-and-figure.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ For a description of the effect fields, please refer to [Animation](animation.md
You can set some transform and filter effects for the figure when setting the figure. Here is an example:

```
changeFigure:stand.png -transform={"alpha":1,"position":{"x":0,"y":500},"scale":{"x":1,"y":1},"rotation":0,"blur":0,"oldFilm":0,"dotFilm":0,"reflectionFilm":0,"glitchFilm":0,"rgbFilm":0,"godrayFilm":0} -next;
changeFigure:stand.png -transform={"alpha":1,"position":{"x":0,"y":500},"scale":{"x":1,"y":1},"rotation":0,"blur":0,"brightness":1,"contrast":1,"saturation":1,"gamma":1,"colorRed":255,"colorGreen":255,"colorBlue":255,"oldFilm":0,"dotFilm":0,"reflectionFilm":0,"glitchFilm":0,"rgbFilm":0,"godrayFilm":0} -next;
```

## Set Transform Effects for Existing Figures
Expand Down
7 changes: 7 additions & 0 deletions src/ja/webgal-script/animation.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ setAnimation:enter-from-bottom -target=fig-center -next;
| position | 位置オフセット |
| rotation | 回転角度、単位はラジアン |
| blur | ガウスぼかしの半径 |
| brightness | 輝度 |
| contrast | コントラスト比 |
| saturation | 彩度 |
| gamma | ガンマ |
| colorRed | 赤の量, 範囲は 0-255 |
| colorGreen | 緑の量, 範囲は 0-255 |
| colorBlue | 青の量, 範囲は 0-255 |
| duration | このタイムスライスの持続時間、単位はミリ秒 (ms) |
| oldFilm | オールドフィルム効果、0 はオフ、1 はオン |
| dotFilm | ドット状のフィルム効果、0 はオフ、1 はオン |
Expand Down
2 changes: 1 addition & 1 deletion src/ja/webgal-script/bg-and-figure.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ unlockCg:xgmain.jpeg -name=星光咖啡馆与死神之蝶 -series=1;
立ち絵を設定するときに、立ち絵にいくつかの変換とフィルターエフェクトを設定できます。以下に例を示します。

```
changeFigure:stand.png -transform={"alpha":1,"position":{"x":0,"y":500},"scale":{"x":1,"y":1},"rotation":0,"blur":0,"oldFilm":0,"dotFilm":0,"reflectionFilm":0,"glitchFilm":0,"rgbFilm":0,"godrayFilm":0} -next;
changeFigure:stand.png -transform={"alpha":1,"position":{"x":0,"y":500},"scale":{"x":1,"y":1},"rotation":0,"blur":0,"brightness":1,"contrast":1,"saturation":1,"gamma":1,"colorRed":255,"colorGreen":255,"colorBlue":255,"oldFilm":0,"dotFilm":0,"reflectionFilm":0,"glitchFilm":0,"rgbFilm":0,"godrayFilm":0} -next;
```

## 既存の立ち絵に変換エフェクトを設定する
Expand Down
7 changes: 7 additions & 0 deletions src/webgal-script/animation.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ setAnimation:enter-from-bottom -target=fig-center -next;
| position | 位置偏移 |
| rotation | 旋转角度,单位为弧度 |
| blur | 高斯模糊半径 |
| brightness | 调节亮度 |
| contrast | 调节对比度 |
| saturation | 调节饱和度 |
| gamma | 调节伽马值 |
| colorRed | 颜色分量:红色, 范围0-255 |
| colorGreen | 颜色分量:绿色, 范围0-255 |
| colorBlue | 颜色分量:蓝色, 范围0-255 |
| duration | 这个时间片的持续时间,单位为毫秒(ms) |
| oldFilm | 老电影效果,0代表关闭,1代表开启 |
| dotFilm | 点状电影效果,0代表关闭,1代表开启 |
Expand Down
2 changes: 1 addition & 1 deletion src/webgal-script/bg-and-figure.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ unlockCg:xgmain.jpeg -name=星光咖啡馆与死神之蝶 -series=1;
你可以在设置立绘的时候就为立绘设置一些变换和滤镜效果,以下是一个示例:

```
changeFigure:stand.png -transform={"alpha":1,"position":{"x":0,"y":500},"scale":{"x":1,"y":1},"rotation":0,"blur":0,"oldFilm":0,"dotFilm":0,"reflectionFilm":0,"glitchFilm":0,"rgbFilm":0,"godrayFilm":0} -next;
changeFigure:stand.png -transform={"alpha":1,"position":{"x":0,"y":500},"scale":{"x":1,"y":1},"rotation":0,"blur":0,"brightness":1,"contrast":1,"saturation":1,"gamma":1,"colorRed":255,"colorGreen":255,"colorBlue":255,"oldFilm":0,"dotFilm":0,"reflectionFilm":0,"glitchFilm":0,"rgbFilm":0,"godrayFilm":0} -next;
```

## 为已有的立绘设置变换效果
Expand Down