赞 | 0 |
VIP | 9 |
好人卡 | 61 |
积分 | 1 |
经验 | 20182 |
最后登录 | 2016-6-8 |
在线时间 | 470 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 470 小时
- 注册时间
- 2010-6-25
- 帖子
- 316
|
本帖最后由 腐琴琴 于 2012-1-29 20:05 编辑
脚本无能也,光标不知道怎么改……
位置的话我总觉得楼主是会改的……
那个里面的
- x = 64
- y = i * 116
- actor = $game_party.actors[i]
- draw_actor_graphic(actor, x - 40, y + 80)
- draw_actor_name(actor, x, y)
- draw_actor_class(actor, x + 144, y)
- draw_actor_level(actor, x, y + 32)
- draw_actor_state(actor, x + 90, y + 32)
- draw_actor_exp(actor, x, y + 64)
- draw_actor_hp(actor, x + 236, y + 32)
- draw_actor_sp(actor, x + 236, y + 64)
复制代码 把X的乘法送给Y,然后数字改一改什么的……- x = i *125
- y = 20
- actor = $game_party.actors[i]
- draw_actor_graphic(actor, x , y + 80)
- draw_actor_name(actor, x, y+120)
- draw_actor_class(actor, x , y+160)
- draw_actor_level(actor, x, y + 200)
- draw_actor_state(actor, x , y + 240)
- draw_actor_exp(actor, x, y + 280)
- draw_actor_hp(actor, x , y + 320)
- draw_actor_sp(actor, x , y + 360)
复制代码 再去
各种修改……- # ● 描绘 EXP
- # actor : 角色
- # x : 描画目标 X 坐标
- # y : 描画目标 Y 坐标
- #--------------------------------------------------------------------------
- def draw_actor_exp(actor, x, y)
- self.contents.font.color = system_color
- self.contents.draw_text(x, y, 24, 32, "E")
- self.contents.font.color = normal_color
- self.contents.draw_text(x + 24, y, 84, 32, actor.exp_s, 2)
- self.contents.draw_text(x + 108, y, 12, 32, "/", 1)
- self.contents.draw_text(x + 120, y, 84, 32, actor.next_exp_s)
复制代码- self.contents.draw_text(x - 40, y, 84, 32, actor.exp_s, 2)
- self.contents.draw_text(x + 40, y, 12, 32, "/", 1)
- self.contents.draw_text(x + 50, y, 84, 32, actor.next_exp_s)
- end
复制代码 似乎都是数字上的事情……好吧无视我吧……
|
|