查看: 2299|回复: 10

请问RM到底支持哪写字体

  [复制链接]
梦石
0
星屑
50
在线时间
16 小时
注册时间
2008-2-12
回帖
247
发表于 2008-4-20 22:38:30 | 显示全部楼层 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有账号?注册会员

×
如题,想知道RM支持哪些字体显示,是否需要脚本支持,或者有其他说法.
版务信息:本贴由楼主自主结贴~
哎。。。。。。。。。。。。
头像被屏蔽
梦石
0
星屑
50
在线时间
0 小时
注册时间
2008-1-6
回帖
1047
发表于 2008-4-20 22:56:11 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
签名被屏蔽
回复

使用道具 举报

梦石
0
星屑
50
在线时间
16 小时
注册时间
2008-2-12
回帖
247
 楼主| 发表于 2008-4-20 23:03:43 | 显示全部楼层
为什么我在MAIN里把字体改为 楷书或者楷体,就不显示字呢...该如何设置呢
哎。。。。。。。。。。。。
回复

使用道具 举报

头像被屏蔽
梦石
0
星屑
50
在线时间
0 小时
注册时间
2008-1-6
回帖
1047
发表于 2008-4-20 23:06:29 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

梦石
0
星屑
50
在线时间
16 小时
注册时间
2008-2-12
回帖
247
 楼主| 发表于 2008-4-20 23:12:47 | 显示全部楼层
直接把黑体改成楷书
哎。。。。。。。。。。。。
回复

使用道具 举报

梦石
0
星屑
50
在线时间
27 小时
注册时间
2008-2-13
回帖
1700
发表于 2008-4-20 23:15:50 | 显示全部楼层
http://rpg.blue/web/htm/news650.htm
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
好吧,果然换个签名就没人认识我了。我承认我被时间埋没了
回复

使用道具 举报

梦石
0
星屑
50
在线时间
27 小时
注册时间
2008-2-13
回帖
1700
发表于 2008-4-21 00:34:21 | 显示全部楼层
那个本来就是故意不让玩家知道怪物的真正血量的

LZ换个脚本吧:http://rpg.blue/web/htm/news432.htm
好吧,果然换个签名就没人认识我了。我承认我被时间埋没了
回复

使用道具 举报

茄孓

梦石
0
星屑
76
在线时间
140 小时
注册时间
2007-5-29
回帖
820
发表于 2008-4-21 00:37:40 | 显示全部楼层
修改如下






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



系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~
回复

使用道具 举报

梦石
0
星屑
50
在线时间
27 小时
注册时间
2008-2-13
回帖
1700
发表于 2008-4-21 01:01:26 | 显示全部楼层
在RPG::Sprite里面
打开F1帮助看
好吧,果然换个签名就没人认识我了。我承认我被时间埋没了
回复

使用道具 举报

头像被屏蔽

七仙女

梦石
0
星屑
50
在线时间
0 小时
注册时间
2008-1-15
回帖
342
发表于 2008-4-21 00:50:34 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
签名被屏蔽
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部