【汉化】Camera Core

Camera Core

Camera Core

This plugin allows developers to preform various camera motions including
focusing and zooming.

这个插件允许开发者去设置镜头选项,包括聚焦和缩放

Camera Focusing

If you wish for the camera to focus on something, use the following
Plugin Commands:

如果你想设置镜头聚焦,请使用下面的插件命令

FocusCamera [x] [y] [duration]

Insert an X and Y coordinate on the map to have the camera focus on it.
The duration determines how many frames it takes the camera to transition.
设置聚焦的xy坐标

FocusCamera event [id] [duration]

Replace “id” with an Event’s ID on the current map to have the camera focus
on that specific event. The duration determines how many frames it takes the
camera to transition.
设置聚焦的事件ID

FocusCamera follower [id] [duration]

Replace “id” with a Follower’s index in the current party to have the camera
focus on that specific follower. The duration determines how many frames it
takes the camera to transition.
设置聚焦的角色ID

FocusCamera player [duration]

Focues the camera onto the player.
The duration determines how many frames it takes the camera to transition.
设置聚焦在玩家身上

ResetFocus [duration]

Resets the focus on the camera back to the player.
The duration determines how many frames it takes the camera to transition.
重置为默认聚焦

Zooming

In order to zoom the camera in and out, use the following commands:

如果你想要缩放请使用下面的命令

ZoomIn [scale] [duration]

Set “scale” to the scale you wish the camera to zoom in.
Setting scale to 1 would be the normal scale, greater than 1 would zoom in.
The duration determines how many frames it takes the camera to transition.
设置放大的倍数大小

ZoomOut [scale] [duration]

Set “scale” to the scale you wish the camera to zoom in.
Setting scale to 1 would be the normal scale, greater than 1 would zoom out.
The duration determines how many frames it takes the camera to transition.
设置缩小的倍数大小

ResetZoom [duration]

Resets the zoom back to its default.
The duration determines how many frames it takes the camera to transition.
重置倍数

Camera Shifting

If you wish to shift the camera, use the following Plugin Command:
如果你想移动镜头,请使用下面命令

ShiftCamera [x-shift] [y-shift] [duration]

This shifts the camera a certain x and/or y blocks.
This does NOT change the camera’s focus. If the camera’s focused on the
player, for example, and the camera is shifted upward 2 squares, the camera
will continue to follow the player, only it will be shifted up two squares.
这将让镜头移动x或者y格,但是这并不会改变聚焦位置,例如你设置移动2格,则镜头会继续聚焦在玩家身上,但是移动2格

Camera Waiting

If you wish to have an event “wait” before a camera is done moving, use the
following Plugin Commands:
如果你想让事件等待镜头移动完毕,请使用下面的命令

WaitForCamera

This will stop the event processing until the camera has completed its focus
and zooming.
停止事件进程直到镜头聚焦和缩放完毕

WaitForCameraFocus

This will wait for the camera to complete its movement to a new focus.
停止事件进程直到镜头聚焦完毕

WaitForCameraZoom

This will wait for the camera to finish its zoom motion.
停止事件进程直到镜头缩放完毕

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 【中间地带】 内心憎恶的是 遭遇到现实的折磨 内心喜欢的是 身心痛苦的逃离 带着喜欢的真实 带着反叛的抗拒 过...
    郭相麟阅读 221评论 0 0
  • 介绍 代理模式(Proxy Pattern) 也称为委托模式,是结构性设计模式。 定义 为其他对象提供一种代理以控...
    任教主来也阅读 445评论 0 0
  • 在2017还没有到来之前,我就突发奇想的定了去往西安的火车票,长了二十多年,却从来没有出过远门,从江苏的北面跑到了...
    凝雪河畔阅读 133评论 0 0
  • 执子之手,与子白头 作者:北宸来源: 原创文章发表于: 2016-08-02 17:26浏览:8732点评:9次字...
    陈霓裳阅读 346评论 0 25