本帖最后由 金芒芒 于 2023-7-3 14:13 编辑 一共显示10张图片,其中消失任意2张图片剩下的8张按图片编号顺序每张x数值间隔87 RUBY 代码复制x=0for i in 1...10$game_screen.pictures[ ...
soulsaga 发表于 2023-7-3 13:50 a=[1,2,3,4,5,6,7,8,9,10] x=0 a.delete(5)
a=[1,2,3,4,5,6,7,8,9,10]x=0a.delete(5)a.delete(3)for i in a$game_screen.pictures[i].show("头像#{i}", 0, x, 160, 100, 100, 255, 0)x+=87end
a=[1,2,3,4,5,6,7,8,9,10] x=0 a.delete(5) a.delete(3) for i in a $game_screen.pictures[i].show("头像#{i}", 0, x, 160, 100, 100, 255, 0) x+=87 end
折叠内容标题(非必须)
折叠内容
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2025-7-1 22:33
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.