Project1
标题:
请问RM到底支持哪写字体
[打印本页]
作者:
sunzhaozhi
时间:
2008-4-20 22:38
标题:
请问RM到底支持哪写字体
如题,想知道RM支持哪些字体显示,是否需要脚本支持,或者有其他说法. [LINE]1,#dddddd[/LINE]
版务信息:本贴由楼主自主结贴~
作者:
xiarongshan
时间:
2008-4-20 22:56
提示:
作者被禁止或删除 内容自动屏蔽
作者:
sunzhaozhi
时间:
2008-4-20 23:03
为什么我在MAIN里把字体改为 楷书或者楷体,就不显示字呢...该如何设置呢
作者:
xiarongshan
时间:
2008-4-20 23:06
提示:
作者被禁止或删除 内容自动屏蔽
作者:
sunzhaozhi
时间:
2008-4-20 23:12
直接把黑体改成楷书
作者:
havealook
时间:
2008-4-20 23:15
http://rpg.blue/web/htm/news650.htm [LINE]1,#dddddd[/LINE]
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
作者:
星☆龙
时间:
2008-4-20 23:52
提示:
作者被禁止或删除 内容自动屏蔽
作者:
havealook
时间:
2008-4-21 00:34
那个本来就是故意不让玩家知道怪物的真正血量的
LZ换个脚本吧:http://rpg.blue/web/htm/news432.htm
作者:
9244579
时间:
2008-4-21 00:37
修改如下
class Window_Help < Window_Base
def set_enemy(actor)
self.contents.clear
draw_actor_name(actor, 4, 0)
draw_actor_state(actor, 140, 0)
carol3_draw_hp_bar(actor, 284, 0)
carol3_draw_sp_bar(actor, 460, 0)
@text = nil
self.visible = true
end
def carol3_draw_hp_bar(actor, x, y, width = 128) #宽度可调
self.contents.font.color = system_color
self.contents.fill_rect(x-1, y+17, width+2,6, Color.new(0, 0, 0, 255))
w = width * actor.hp / actor.maxhp
self.contents.fill_rect(x, y+18, w,1, Color.new(255, 96, 96, 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(128, 0, 0, 255))
self.contents.fill_rect(x, y+21, w,1, Color.new(0, 0, 0, 255))
self.contents.font.color = normal_color
self.contents.draw_text(x-40-10,y,128,32,$data_system.words.hp,1)
self.contents.draw_text(x-50-10,y,128,32,actor.hp.to_s,2)
self.contents.draw_text(x-30-10,y,128,32,"/",2)
self.contents.draw_text(x+10-10,y,128,32,actor.maxhp.to_s,2)
self.contents.font.color = normal_color
end
def carol3_draw_sp_bar(actor, x, y, width = 128)
self.contents.font.color = system_color
self.contents.fill_rect(x-1, y+17, width+2,6, Color.new(0, 0, 0, 255))
w = width * actor.sp / actor.maxsp
self.contents.fill_rect(x, y+18, w,1, Color.new(128, 255, 255, 255))
self.contents.fill_rect(x, y+19, w,1, Color.new(0, 255, 255, 255))
self.contents.fill_rect(x, y+20, w,1, Color.new(0, 192, 192, 255))
self.contents.fill_rect(x, y+21, w,1, Color.new(0, 128, 128, 255))
self.contents.font.color = normal_color
self.contents.draw_text(x-40-10,y,128,32,$data_system.words.sp,1)
self.contents.draw_text(x-50-10,y,128,32,actor.sp.to_s,2)
self.contents.draw_text(x-30-10,y,128,32,"/",2)
self.contents.draw_text(x+10-10,y,128,32,actor.maxsp.to_s,2)
self.contents.font.color = normal_color
end
end
[LINE]1,#dddddd[/LINE]
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
作者:
七仙女
时间:
2008-4-21 00:50
提示:
作者被禁止或删除 内容自动屏蔽
作者:
havealook
时间:
2008-4-21 01:01
在RPG::Sprite里面
打开F1帮助看
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1