| 赞 | 2 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2020-7-27 |
| 在线时间 | 1379 小时 |
- 梦石
- 0
- 星屑
- 76
- 在线时间
- 1379 小时
- 注册时间
- 2012-7-5
- 回帖
- 1643

|
发表于 2015-2-12 12:04:28
|
显示全部楼层
你想不用素材地用那张图很简单啊
[pre lang="ruby"] b = Bitmap.new 196, 192
b.fill_rect b.rect, Color.new(30, 30, 30)
7.times do |n|
b.fill_rect 27 + n * 28, 0, 2, 192, Color.new(60, 61, 55)
b.fill_rect n * 28, 0, 1, 192, Color.new(5, 5, 5)
b.fill_rect 26 + n * 28, 0, 1, 192, Color.new(5, 5, 5)
b.fill_rect 0, 24 + n * 24, 196, 1, Color.new(5, 5, 5)
end
b.fill_rect 201, 0, 1, 192, Color.new(5, 5, 5)
s = Sprite.new
s.bitmap = b
rgss_stop
[/pre]
大概地画了一个, 你自己看看有没有启发 |
|