Project1
标题:
战斗时角色的位置能不能用角色ID来决定
[打印本页]
作者:
wzzprofile
时间:
2008-8-15 16:06
提示:
作者被禁止或删除 内容自动屏蔽
作者:
cZooCz
时间:
2008-8-15 16:08
探索 def screen_x 看明白了吧?
作者:
wzzprofile
时间:
2008-8-15 16:13
提示:
作者被禁止或删除 内容自动屏蔽
作者:
cZooCz
时间:
2008-8-15 16:44
那样做实在不明白有什么用....
你干脆直接指定
def screen_x
case self.index
when 0
return 320
when 1
return 320
when 2
…
…
end
end
作者:
IamI
时间:
2008-8-15 16:55
def screen_x
if self.index != nil
return @actor_id * 160 + 80
else
return 0
end
end
当然咯这样5号角色就会到屏幕外边去了{/gg}
作者:
wzzprofile
时间:
2008-8-15 17:03
提示:
作者被禁止或删除 内容自动屏蔽
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1