動畫
19 個節點
本頁內容 19
新增動畫影像
函數A story with an image that is an animation: picture lines and pauses that animate it wherever it is shown.
新增動畫影像(故事: Story, 名稱: 文字, 動畫: Animation) -> Story
Story AddAnimatedImage(
Story story,
string name,
Animation animation)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 故事 | Story | — | |
| 名稱 | 文字 | — | |
| 動畫 | Animation | — |
返回
| 故事 | Story |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
同時更改
函數Changes another property in the step before, so the two change together: a move and a fade at once.
同時更改(動畫: Animation, 屬性: 文字, 值: 文字) -> Animation
Animation AlsoChange(
Animation animation,
string property,
string value)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 動畫 | Animation | — | |
| 屬性 | 文字 | — | |
| 值 | 文字 | — |
返回
| 動畫 | Animation |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
屬性動畫
函數Animates a property to a value over some seconds, eased by a warper.
屬性動畫 -> Animation
動畫: Animation
緩動函數: 文字
秒數: 數字
屬性: 文字
值: 文字Animation AnimateProperty(
Animation animation,
string warper,
double seconds,
string property,
string value)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 動畫 | Animation | — | The animation so far. |
| 緩動函數 | 文字 | — | How it moves: linear, ease, easein, easeout, easeout_bounce, ease_back... |
| 秒數 | 數字 | — | How long it takes. |
| 屬性 | 文字 | — | The property. |
| 值 | 文字 | — | The value it ends at, as a script writes it. |
返回
| 動畫 | Animation |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
動畫塊
函數A timeline nested in this one, so a repeat inside it loops only that part.
動畫塊(動畫: Animation, 塊: Animation) -> Animation
Animation AnimationBlock(Animation animation, Animation block)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 動畫 | Animation | — | |
| 塊 | Animation | — |
返回
| 動畫 | Animation |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
從指令碼生成動畫
函數An animation written as a script's animation block, one statement per line.
從指令碼生成動畫(指令碼: 文字) -> Animation
Animation AnimationFromScript(string script)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 指令碼 | 文字 | — |
返回
| 動畫 | Animation |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
動畫轉為指令碼
函數An animation as a script writes it.
動畫轉為指令碼(動畫: Animation) -> 文字
string AnimationToScript(Animation animation)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 動畫 | Animation | — |
返回
| 指令碼 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
在指定時間
函數What follows starts this many seconds after the animation began, cutting short what was running.
在指定時間(動畫: Animation, 秒數: 數字) -> Animation
Animation AtTime(Animation animation, double seconds)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 動畫 | Animation | — | |
| 秒數 | 數字 | — |
返回
| 動畫 | Animation |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
呼叫變換函數
函數Hands the image to a function the game registers for animations, for as long as the function lasts.
呼叫變換函數(動畫: Animation, 函數: 文字) -> Animation
Animation CallTransformFunction(
Animation animation,
string function)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 動畫 | Animation | — | |
| 函數 | 文字 | — |
返回
| 動畫 | Animation |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
從中隨機選擇
函數One of two or three timelines, picked at random by weight each time the animation gets here; the same moment of the same shown image always picks the same.
從中隨機選擇 -> Animation
動畫: Animation
第一個: Animation
第二個: Animation
第三個: Animation
第一項權重: 數字
第二項權重: 數字
第三項權重: 數字Animation ChooseBetween(
Animation animation,
Animation first,
Animation second,
Animation third,
double firstWeight = 1,
double secondWeight = 1,
double thirdWeight = 1)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 動畫 | Animation | — | |
| 第一個 | Animation | — | |
| 第二個 | Animation | — | |
| 第三個 | Animation | — | |
| 第一項權重 | 數字 | 1 | |
| 第二項權重 | 數字 | 1 | |
| 第三項權重 | 數字 | 1 |
返回
| 動畫 | Animation |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
包含圖片
函數A picture drawn inside this one with a timeline of its own, placed within it: sparkles over a lantern.
包含圖片 -> Animation
動畫: Animation
影像: 文字
時間軸: AnimationAnimation ContainsPicture(
Animation animation,
string image,
Animation timeline)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 動畫 | Animation | — | The animation so far. |
| 影像 | 文字 | — | The contained picture. |
| 時間軸 | Animation | — | Its own animation; empty keeps it still. |
返回
| 動畫 | Animation |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
定義變換
函數A story with a transform: an animation a show's at can name, which may take parameters.
定義變換 -> Story
故事: Story
名稱: 文字
動畫: Animation
參數: 文字Story DefineTransform(
Story story,
string name,
Animation animation,
string parameters = "")參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 故事 | Story | — | The story. |
| 名稱 | 文字 | — | The transform's name. |
| 動畫 | Animation | — | Its animation. |
| 參數 | 文字 | — | Its parameters, separated by commas, each with an optional default: height=20; empty for none. |
返回
| 故事 | Story |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
包含變換
函數Runs another transform in place, such as left or one the story defines.
包含變換(動畫: Animation, 變換: 文字, 參數: 文字) -> Animation
Animation IncludeTransform(
Animation animation,
string transform,
string arguments = "")參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 動畫 | Animation | — | The animation so far. |
| 變換 | 文字 | — | The transform's name. |
| 參數 | 文字 | — | Its arguments as a script writes them, separated by commas; empty for none. |
返回
| 動畫 | Animation |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
並行
函數Timelines that run at the same time, each animating its own properties: a bob while fading in.
並行 -> Animation
動畫: Animation
第一個: Animation
第二個: Animation
第三個: AnimationAnimation InParallel(
Animation animation,
Animation first,
Animation second,
Animation third)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 動畫 | Animation | — | |
| 第一個 | Animation | — | |
| 第二個 | Animation | — | |
| 第三個 | Animation | — |
返回
| 動畫 | Animation |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
響應事件
函數What the image does when it is shown, replaced or hidden. An image whose animation handles hide stays on the stage until that timeline ends, so it can fade or slide away.
響應事件 -> Animation
動畫: Animation
事件: 文字
時間軸: AnimationAnimation OnEvent(
Animation animation,
string events,
Animation timeline)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 動畫 | Animation | — | The animation so far. |
| 事件 | 文字 | — | show, replace or hide, or several separated by commas. |
| 時間軸 | Animation | — | What happens then. |
返回
| 動畫 | Animation |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
重複
函數Starts the timeline (or the block it is in) again: a number of times, or forever when 0.
重複(動畫: Animation, 次數: 整數) -> Animation
Animation Repeat(Animation animation, int times = 0)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 動畫 | Animation | — | |
| 次數 | 整數 | 0 |
返回
| 動畫 | Animation |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
設定屬性
函數Sets a property at once.
設定屬性(動畫: Animation, 屬性: 文字, 值: 文字) -> Animation
Animation SetProperty(
Animation animation,
string property,
string value)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 動畫 | Animation | — | The animation so far. |
| 屬性 | 文字 | — | The property: xalign, yalign, xpos, ypos, pos, xoffset, yoffset, zoom, alpha, rotate, blur, saturation, brightness, tint... |
| 值 | 文字 | — | Its value, as a script writes it. |
返回
| 動畫 | Animation |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
顯示圖片
函數From here on the image shows this picture, cross-fading over a transition's length if one is given: frames of a blink, a candle, a waving flag.
顯示圖片(動畫: Animation, 影像: 文字, 轉場: 文字) -> Animation
Animation ShowPicture(
Animation animation,
string image,
string with = "")參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 動畫 | Animation | — | The animation so far. |
| 影像 | 文字 | — | An image name or a file. |
| 轉場 | 文字 | — | A transition whose length the change cross-fades over; empty changes at once. |
返回
| 動畫 | Animation |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
開始動畫
函數An empty timeline to build on.
開始動畫() -> Animation
Animation StartAnimation()
返回
| 動畫 | Animation |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說
等待
函數Waits before the next step.
等待(動畫: Animation, 秒數: 數字) -> Animation
Animation Wait(Animation animation, double seconds)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 動畫 | Animation | — | |
| 秒數 | 數字 | — |
返回
| 動畫 | Animation |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 動畫
- 所屬包
- Novella 視覺小說