| 赞 | 0 |
| VIP | 17 |
| 好人卡 | 0 |
| 积分 | 1 |
| 经验 | 1022914 |
| 最后登录 | 2017-2-4 |
| 在线时间 | 10 小时 |
Lv1.梦旅人 月下可怜人
- 梦石
- 0
- 星屑
- 50
- 在线时间
- 10 小时
- 注册时间
- 2005-11-23
- 帖子
- 4085

|
插入main之上:
- class Window_Gold < Window_Base
- def refresh
- self.contents.clear
- self.contents.font.color = normal_color
- self.contents.font.size = 16
- s = $game_party.gold
- s1 = sprintf("%02d",(s / 10000)); s2 = sprintf("%02d",(s / 100 % 100));
- s3 = sprintf("%02d",(s % 100))
- text = s1 + " " + s2 + " " + s3 + " "
- self.contents.draw_text(0, 0, self.contents.width, 32, text, 2)
- self.contents.font.color = system_color
- text = "金 银 铜"
- self.contents.draw_text(0, 0, self.contents.width, 32, text, 2)
- end
-
- end
复制代码
系统信息:本贴由楼主认可为正确答案,66RPG感谢您的热情解答~ |
|