以下引用扁豆超人于2007-8-8 2:02:53的发言:
我挑几个BUG
1用剑攻击的时候,面向右的判定有问题,这个我自己通过修改脚本解决了,希望楼主也改正一下。
2近距理攻击,敌人的hp条不显示,只有远距离的攻击才显示hpmp,这是为什么?
3商店卖出的时候,如果自己没有物品,在按 方向键左 的时候,会自动跳出,提示错误。
以上请楼主修改更新!
以下引用rubygomax于2007-8-9 16:10:15的发言:
把双远景里的系统:双远景图的内容换成如下
#==============================================================================
# 本脚本来自www.66rpg.com,使用前请参考制作录像
#==============================================================================
# ■ Spriteset_Map
#------------------------------------------------------------------------------
# 处理地图画面活动块和元件的类。本类在
# Scene_Map 类的内部使用。
#==============================================================================
class Spriteset_Map
attr_reader :character_sprites
#--------------------------------------------------------------------------
# ● 初始化对像
#--------------------------------------------------------------------------
def initialize
# 生成显示端口
@viewport1 = Viewport.new(0, 0, 640, 480)
@viewport2 = Viewport.new(0, 0, 640, 480)
@viewport3 = Viewport.new(0, 0, 640, 480)
@viewport2.z = 200
@viewport3.z = 5000
# 生成元件地图
@tilemap = Tilemap.new(@viewport1)
@tilemap.tileset = RPG::Cache.tileset($game_map.tileset_name)
for i in 0..6
autotile_name = $game_map.autotile_names
@tilemap.autotiles = RPG::Cache.autotile(autotile_name)
end
@tilemap.map_data = $game_map.data
@tilemap.priorities = $game_map.priorities
# 生成远景平面
@panorama = Plane.new(@viewport1)
@panorama.z = -1000
@panorama2 = Plane.new(@viewport1)
@panorama2.z = 3000
# 生成雾平面
@fog = Plane.new(@viewport1)
@fog.z = 3000
# 生成角色活动块
@character_sprites = {}
for i in $game_map.events.keys.sort
add_event($game_map.events)
end
@character_sprites[$game_player] = Sprite_Character.new(@viewport1, $game_player)
# 生成天气
@weather = RPG::Weather.new(@viewport1)
# 生成图片
@picture_sprites = []
for i in 1..50
@picture_sprites.push(Sprite_Picture.new(@viewport2,
$game_screen.pictures))
end
# 生成计时器块
@timer_sprite = Sprite_Timer.new
# 刷新画面
update
end
#--------------------------------------------------------------------------
# ● 添加弓箭
#--------------------------------------------------------------------------
def add_bullet(bullet)
@character_sprites[bullet] = Sprite_Character.new(@viewport1, bullet)
end
#--------------------------------------------------------------------------
# ● 删除弓箭
#--------------------------------------------------------------------------
def delete_bullet(bullet)
@character_sprites[bullet].dispose
@character_sprites.delete(bullet)
end
#--------------------------------------------------------------------------
# ● 删除事件
#--------------------------------------------------------------------------
def delete_event(event)
@character_sprites[event].dispose
@character_sprites.delete(event)
end
#--------------------------------------------------------------------------
# ● 释放
#--------------------------------------------------------------------------
def dispose
# 释放元件地图
@tilemap.tileset.dispose
for i in 0..6
@tilemap.autotiles.dispose
end
@tilemap.dispose
# 释放远景平面
@panorama.dispose
@panorama2.dispose
# 释放雾平面
@fog.dispose
# 释放角色活动块
for sprite in @character_sprites.values
sprite.dispose
end
# 释放天候
@weather.dispose
# 释放图片
for sprite in @picture_sprites
sprite.dispose
end
# 释放计时器块
@timer_sprite.dispose
# 释放显示端口
@viewport1.dispose
@viewport2.dispose
@viewport3.dispose
end
#--------------------------------------------------------------------------
# ● 刷新画面
#--------------------------------------------------------------------------
def update
# 远景与现在的情况有差异发情况下
if @panorama_name != $game_map.panorama_name or
@panorama_hue != $game_map.panorama_hue
@panorama_name = $game_map.panorama_name
@panorama_hue = $game_map.panorama_hue
if @panorama.bitmap != nil
@panorama.bitmap.dispose
@panarama2.bitmap.dispose
@panorama2.bitmap = nil
@panarama.bitmap = nil
end
if @panorama_name != ""
@panorama.bitmap = RPG::Cache.panorama(@panorama_name, @panorama_hue)
@panorama2.bitmap = RPG::Cache.panorama(@panorama_name+"_2", @panorama_hue)
end
Graphics.frame_reset
end
# 雾与现在的情况有差异的情况下
if @fog_name != $game_map.fog_name or @fog_hue != $game_map.fog_hue
@fog_name = $game_map.fog_name
@fog_hue = $game_map.fog_hue
if @fog.bitmap != nil
@fog.bitmap.dispose
@fog.bitmap = nil
end
if @fog_name != ""
@fog.bitmap = RPG::Cache.fog(@fog_name, @fog_hue)
end
Graphics.frame_reset
end
# 刷新元件地图
@tilemap.ox = $game_map.display_x / 4
@tilemap.oy = $game_map.display_y / 4
@tilemap.update
# 刷新远景平面
@panorama.ox = $game_map.display_x / 4
@panorama.oy = $game_map.display_y / 4
@panorama2.ox = @panorama.ox
@panorama2.oy = @panorama.oy
# 刷新雾平面
@fog.zoom_x = $game_map.fog_zoom / 100.0
@fog.zoom_y = $game_map.fog_zoom / 100.0
@fog.opacity = $game_map.fog_opacity
@fog.blend_type = $game_map.fog_blend_type
@fog.ox = $game_map.display_x / 4 + $game_map.fog_ox
@fog.oy = $game_map.display_y / 4 + $game_map.fog_oy
@fog.tone = $game_map.fog_tone
# 刷新角色活动块
for sprite in @character_sprites.values
sprite.update
end
# 刷新天候图形
@weather.type = $game_screen.weather_type
@weather.max = $game_screen.weather_max
@weather.ox = $game_map.display_x / 4
@weather.oy = $game_map.display_y / 4
@weather.update
# 刷新图片
for sprite in @picture_sprites
sprite.update
end
# 刷新计时器块
@timer_sprite.update
# 设置画面的色调与震动位置
@viewport1.tone = $game_screen.tone
@viewport1.ox = $game_screen.shake
# 设置画面的闪烁色
@viewport3.color = $game_screen.flash_color
# 刷新显示端口
@viewport1.update
@viewport3.update
end
end
#==============================================================================
# 本脚本来自www.66rpg.com,使用前请参考制作录像
#==============================================================================
提示:你可以先修改部分代码再运行
话说回来,那个游戏标题名的脚本跟俺八字不合,一进游戏就出错,
所以是在删掉那个脚本为前提做的测试....
以下引用jmsw于2007-8-11 8:58:55的发言:
请问,为什么我把开始点移动到别的地图里的话,所有的快捷键就不起作用,技能也不能用,谢谢
(具体的说,放在楼主地图中山路地图中的话,都好使,但是放在别地地图,如山顶就无效,不知原因,请不吝赐教,谢谢)!
以下引用night_PL于2007-8-29 19:05:18的发言:
I have english version of rpg maker xp and
it can't open graphic file with such name.
Can you do this sript with english name of graphic file??
Thank you, Nighty.
以下引用night_PL于2007-8-29 3:20:51的发言:
Hello.
I'm from Poland in Europa.
I see screen and this script is very nice.
But i don't understand many errors.
Can you do this script in english??
Thank you, Nighty.
以下引用night_PL于2007-8-29 19:05:18的发言:
I have english version of rpg maker xp and
it can't open graphic file with such name.
Can you do this sript with english name of graphic file??
Thank you, Nighty.
以下引用一醉倾城于2009-2-6 14:13:20的发言:
不能下载??!!!哪位有,加我471417811,帮帮忙。。。急需研究自由制的ARPG。。。。。
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |