本帖最后由 金芒芒 于 2023-8-17 10:25 编辑 RUBY 代码复制team_selected_troops = @selected_units for i in 0...@selected_units.size #team_selected_troo ...
金芒芒 发表于 2023-8-16 17:20 就提取了头像, i = nil 了 def command_custom_battle#定义命令_自定义战斗 # 演奏确定 SE
team_selected_troops = @selected_units.dup t=[] for i in 0...@selected_units.size t[i] = Figter_data::THE_NAME.index(team_selected_troops[i]) p i #0 1 2 3 4 end a=t.flatten x=544 for i in 0...a.size $game_screen.pictures[i+1].show("头像#{a[i]}", 0,x, 550, 100, 100, 255, 0) x-=87 end
折叠内容标题(非必须)
折叠内容
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2024-5-14 14:56
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.