Project1
标题:
战斗系统问题
[打印本页]
作者:
suicaoya123
时间:
2007-7-14 00:48
标题:
战斗系统问题
①:
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:.....
.......
回答
作者:
suicaoya123
时间:
2007-7-14 00:48
标题:
战斗系统问题
①:
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:.....
.......
回答
作者:
K’
时间:
2007-7-19 19:01
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方法中加一个分歧判断一下
欢迎光临 Project1 (https://rpg.blue/)
Powered by Discuz! X3.1