查看: 1068|回复: 2

[已经解决] 战斗指令下加图片代替皮肤怎么搞?

  [复制链接]
头像被屏蔽
梦石
0
星屑
50
在线时间
0 小时
注册时间
2009-8-23
回帖
41
发表于 2009-10-21 22:11:34 | 显示全部楼层 |阅读模式
提示: 作者被禁止或删除 内容自动屏蔽
签名被屏蔽
头像被屏蔽
梦石
0
星屑
50
在线时间
0 小时
注册时间
2009-10-18
回帖
7
发表于 2009-10-21 22:31:43 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复

使用道具 举报

梦石
0
星屑
7095
在线时间
1666 小时
注册时间
2008-10-29
回帖
6612

贵宾

发表于 2009-10-21 22:45:53 | 显示全部楼层
下面是直接重绘窗口内容.不比别的华丽
好处是不会有冲突.
【走投无路】的时候再用吧
4个图片的名字自己改.坐标自己调
放到
@actor_command_window = Window_Command.new
这一行的下面
  1. @actor_command_window.contents.clear
  2. bitmap = Bitmap.new("Graphics/Pictures/图片1.png")
  3. rect = Rect.new(0, 0, bitmap.width, bitmap.height)
  4. @actor_command_window.contents.blt(0, 0, bitmap, rect)
  5. bitmap = Bitmap.new("Graphics/Pictures/图片2.png")
  6. rect = Rect.new(0, 0, bitmap.width, bitmap.height)
  7. @actor_command_window.contents.blt(0, 32, bitmap, rect)
  8. bitmap = Bitmap.new("Graphics/Pictures/图片3.png")
  9. rect = Rect.new(0, 0, bitmap.width, bitmap.height)
  10. @actor_command_window.contents.blt(0, 64, bitmap, rect)
  11. bitmap = Bitmap.new("Graphics/Pictures/图片4.png")
  12. rect = Rect.new(0, 0, bitmap.width, bitmap.height)
  13. @actor_command_window.contents.blt(0, 96, bitmap, rect)
  14. color = Color.new(255, 255, 255, 255)
  15. for i in 0..3
  16.   @actor_command_window.draw_item(i, color)
  17. end
复制代码











你知道得太多了

回复

使用道具 举报

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

本版积分规则

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

在本版发帖返回顶部