查看: 1180|回复: 2

战斗系统问题

  [复制链接]
梦石
0
星屑
55
在线时间
446 小时
注册时间
2006-11-18
回帖
1465
发表于 2007-7-14 00:48:12 | 显示全部楼层 |阅读模式

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

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

×
①:
cp_height = actor.cp * @cp_bitmap.height / 65535
      cp_rect = Rect.new(0, @cp_bitmap.height - cp_height, @cp_bitmap.width, cp_height)
      @cp_output[i + 1].bitmap.blt(9, 6 + @cp_bitmap.height - cp_height, @cp_bitmap, cp_rect)

这是个竖着的CP速度槽.我想改为横着的..怎么改?

②:
怎么把”敌人“消失(红色闪烁)改为一张死亡战斗图或直接消失~是敌人。不是角色..


请用1:.....
    2:.....
    .......
    回答
梦石
0
星屑
55
在线时间
446 小时
注册时间
2006-11-18
回帖
1465
发表于 2007-7-14 00:48:12 | 显示全部楼层 |阅读模式

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

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

×
①:
cp_height = actor.cp * @cp_bitmap.height / 65535
      cp_rect = Rect.new(0, @cp_bitmap.height - cp_height, @cp_bitmap.width, cp_height)
      @cp_output[i + 1].bitmap.blt(9, 6 + @cp_bitmap.height - cp_height, @cp_bitmap, cp_rect)

这是个竖着的CP速度槽.我想改为横着的..怎么改?

②:
怎么把”敌人“消失(红色闪烁)改为一张死亡战斗图或直接消失~是敌人。不是角色..


请用1:.....
    2:.....
    .......
    回答
梦石
0
星屑
431
在线时间
125 小时
注册时间
2006-11-2
回帖
1177
发表于 2007-7-19 19:01:11 | 显示全部楼层
cp_rect = Rect.new(0, @cp_bitmap.height - cp_height, @cp_bitmap.width, cp_height)


这句 把 @cp_bitmap.width 和 cp_height 的位置换一下


2.看 F1 RPG::Sprite的定义 在collapse方法中加一个分歧判断一下
和记忆一起封存着的ID...
回复

使用道具 举报

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

本版积分规则

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

在本版发帖返回顶部