赞 | 0 |
VIP | 6 |
好人卡 | 0 |
积分 | 1 |
经验 | 3330 |
最后登录 | 2018-8-10 |
在线时间 | 203 小时 |
Lv1.梦旅人
- 梦石
- 0
- 星屑
- 55
- 在线时间
- 203 小时
- 注册时间
- 2009-8-5
- 帖子
- 282
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有帐号?注册会员
x
如何在脚本中用图片替换va自带窗口?下面是窗口绘制所用的脚本
def draw_currency_time(month,date,value, weather, weapon,stars, x, y, width) cx = text_size(weather).width change_color(crisis_color) draw_text(-20, y, width - cx*3 - 20, line_height, month, 2) change_color(system_color) draw_text(10, y, width - cx*3 - 20, line_height, '月', 2) change_color(crisis_color) draw_text(30, y, width - cx*3 - 20, line_height, date, 2) change_color(system_color) draw_text(60, y, width - cx*3 - 20, line_height, '日', 2) change_color(system_color) draw_text(x, y, width - cx - 2, line_height, value, 2) change_color(crisis_color) draw_text(x, y, width, line_height, weather, 2) change_color(normal_color) draw_text(-100, y, width, line_height*3 , weapon, 2) change_color(crisis_color) draw_text(0, y, width, line_height*3, stars, 2) end def draw_currency_position(position, x, y, width) cx = text_size(position).width draw_text(0, y, width, line_height, position, 2) end end class Scene_Map < Scene_Base
def draw_currency_time(month,date,value, weather, weapon,stars, x, y, width)
cx = text_size(weather).width
change_color(crisis_color)
draw_text(-20, y, width - cx*3 - 20, line_height, month, 2)
change_color(system_color)
draw_text(10, y, width - cx*3 - 20, line_height, '月', 2)
change_color(crisis_color)
draw_text(30, y, width - cx*3 - 20, line_height, date, 2)
change_color(system_color)
draw_text(60, y, width - cx*3 - 20, line_height, '日', 2)
change_color(system_color)
draw_text(x, y, width - cx - 2, line_height, value, 2)
change_color(crisis_color)
draw_text(x, y, width, line_height, weather, 2)
change_color(normal_color)
draw_text(-100, y, width, line_height*3 , weapon, 2)
change_color(crisis_color)
draw_text(0, y, width, line_height*3, stars, 2)
end
def draw_currency_position(position, x, y, width)
cx = text_size(position).width
draw_text(0, y, width, line_height, position, 2)
end
end
class Scene_Map < Scene_Base
|
|