动画
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 视觉小说