Project1

标题: x和y的代人 [打印本页]

作者: 金芒芒    时间: 2023-6-24 13:39
标题: x和y的代人
本帖最后由 金芒芒 于 2023-6-24 13:43 编辑

"ot".x = 120
"ot".y = 580
"ot1".x = 87
"ot2".x = 87
"ot3".x..........."ot100".x = 87

$game_screen.pictures[1].show("ot", 0, "ot".x, 580, 100, 100, 255, 0)
$game_screen.pictures[2].show("ot1", 0, "ot".x+"ot1".x, 580, 100, 100, 255, 0)
$game_screen.pictures[3].show("ot1", 0, "ot".x+"ot1".x+"ot2".x, 580, 100, 100, 255, 0)
如果$game_screen.pictures[1]=无 那么"ot".x = 0
上面这段脚本如何改写
作者: soulsaga    时间: 2023-6-25 18:16
本帖最后由 soulsaga 于 2023-6-25 20:47 编辑

"ot"............


RUBY 代码复制
  1. $game_screen.pictures[1].name

你的标题和你的问题到底有何关连..
作者: 金芒芒    时间: 2023-6-26 07:56
本帖最后由 金芒芒 于 2023-6-26 08:05 编辑
soulsaga 发表于 2023-6-25 18:16
"ot"............


"ot"和"ot1"。。。。。"ot100"想要有关联,知道"ot"x值就能判定"ot1"x值。
因为敌人无法在地图显示头像贴图
作者: soulsaga    时间: 2023-6-26 12:11
你说明又少又不具体,我完全不知道你想搞什么
作者: 金芒芒    时间: 2023-6-26 13:05
soulsaga 发表于 2023-6-26 12:11
你说明又少又不具体,我完全不知道你想搞什么

嗯,我自己先研究学习一段时间再提问,




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1