| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2017-1-11 |
| 在线时间 | 83 小时 |
Poison·
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 83 小时
- 注册时间
- 2007-8-30
- 回帖
- 2300
|
发表于 2007-12-21 23:54:30
|
显示全部楼层
def HP(actor,x,y,w=96)
self.contents.fill_rect(x-2, y+16, w1+4,8, Color.new(255, 255, 255, 255))
self.contents.fill_rect(x-1, y+17, w1+2,6, Color.new(0, 0, 0, 255))
w = w1 * actor.hp/actor.maxhp
self.contents.fill_rect(x, y+18, w,1, Color.new(255,0, 0, 255))
self.contents.fill_rect(x, y+19, w,1, Color.new(255,0, 0, 255))
self.contents.fill_rect(x, y+20, w,1, Color.new(150,0, 0, 255))
self.contents.fill_rect(x, y+21, w,1, Color.new(0, 0, 0, 255))
end |
|