赞 | 0 |
VIP | 164 |
好人卡 | 42 |
积分 | 1 |
经验 | 25008 |
最后登录 | 2017-9-16 |
在线时间 | 1141 小时 |
Lv1.梦旅人 梦·贤者
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 1141 小时
- 注册时间
- 2007-12-15
- 帖子
- 4100
|
找到相似的部分覆盖,坐标没有细调
- class Chaochao_Window_PartyData < Window_Base
-
- def initialize
- super(0, 224, 640, 256)
- self.contents = Bitmap.new(width - 32, height - 32)
- @actor = nil
- end
-
- def set_actor(actor)
- self.contents.clear
- draw_actor_name(actor, 4, 0)
- draw_actor_state(actor, 140, 0)
- draw_actor_hp(actor, 284, 0)
- draw_actor_sp(actor, 460, 0)
- @actor = actor
- draw_actor_graphic(@actor, 40, 112)
- draw_actor_class(@actor, 20, 124)
- draw_actor_parameter(@actor, 100, 50, 0)
- draw_actor_parameter(@actor, 100, 85, 1)
- draw_actor_parameter(@actor, 100, 120, 2)
- draw_actor_parameter(@actor, 350, 50, 3)
- draw_actor_parameter(@actor, 350, 85, 4)
- draw_actor_parameter(@actor, 350, 120, 5)
- draw_actor_parameter(@actor, 350, 155, 6)
- self.visible = true
- end
- def clear
- self.contents.clear
- end
- end
复制代码 |
|