⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 start.txt

📁 源代码演示了在Windows下角色扮演游戏的制作过程
💻 TXT
字号:
; Sample Sript
;
;	Copyright (c) Chihiro.SAKAMOTO (HyperWorks)
;

load bg bg001
update

text
 范例执行中
.

text
 试试看将人物显示在画面中央。
.

load c megu111
update

text
 在画面中央显示1人。
.

text
 这次则让这个人消失。
.

clear c
update

text
 将两个人物显示在画面左右两侧。
.

load r megu211
load l sino211
update

text
 试试看与背景同时进行切换。
 读取3张CG,切换显示画面。
 读取后,就可以了解分开显示的原因。
.

load bg bg002
load l megu111
load r sino111
update

text
 如何?
.

text
 试着将其中一位消去。
.

clear l
update

text
 这次则只改变背景。
 可以使用于场所移动的效果。
.

load bgo bg001
update

text
 确认了可以从Script来控制显示CG了?
.

text
 这次试试看与选单分开的手法。
.

text
 将人物消去一次。
.

clear r
update

text
 要将人物读取到画面右边?
 还是要将人物读取到画面左边?
.

menu result
读取到画面右边
读取到画面左边
end

if result == 2 goto LEFT_LOAD
*RIGHT_LOAD				; 读取到画面右边

load r megu211
update

text
 人物显示在画面右边。
.

goto LOAD_END				; 执行jump,以避免读取到画面左边

*LEFT_LOAD				; 读取到画面左边

load l sino211
update

text
 人物显示在画面左边。
.

*LOAD_END

text
 了解选单的动作了?
.

text
 那么这样就结束了。
.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -