加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
本帖最后由 金芒芒 于 2023-8-18 07:58 编辑
是不是要改“头像”这两个字
#------我方头像----------------------------------------------------------------- t= Marshal::load(Marshal.dump(team_selected_troops)) a=t.flatten x=457 for i in 0...a.size $game_screen.pictures[i+1].show("头像#{a[i]}", 0,x, 550, 100, 100, 255, 0) x-=87 end #-------敌人头像--------------------------------------------------------------- # if $game_switches[18] == true e = Marshal::load(Marshal.dump(enermy_selected_troops)) b=e.flatten x=544 for j in 0...b.size $game_screen.pictures[j+1].show("头像#{b[j]}", 0,x, 550, 100, 100, 255, 0) x+=87 end
#------我方头像-----------------------------------------------------------------
t= Marshal::load(Marshal.dump(team_selected_troops))
a=t.flatten
x=457
for i in 0...a.size
$game_screen.pictures[i+1].show("头像#{a[i]}", 0,x, 550, 100, 100, 255, 0)
x-=87
end
#-------敌人头像---------------------------------------------------------------
# if $game_switches[18] == true
e = Marshal::load(Marshal.dump(enermy_selected_troops))
b=e.flatten
x=544
for j in 0...b.size
$game_screen.pictures[j+1].show("头像#{b[j]}", 0,x, 550, 100, 100, 255, 0)
x+=87
end
|