显示图片:
$game_map.screen.pictures[number].show(name, origin, x, y, zoom_x, zoom_y, opacity, blend_type)
以下引用孟凡生于2009-2-10 21:43:33的发言:
在执行RGSS脚本时NameError 被触发~
#==============================================================================
# ■ Game_System
#------------------------------------------------------------------------------
# 处理系统附属数据的类。也可执行诸如交通工具、 BGM 等管理之类的功能。
# 本类的实例请参考$game_system 。
#==============================================================================
class Game_System
#--------------------------------------------------------------------------
# ● 播放图片
#--------------------------------------------------------------------------
def player_photo(max_number, photo_name)
bsprite = Sprite.new;
for number in 0..max_number
bsprite.bitmap = Bitmap.new("Graphics/Pictures/#{photo_name}_#{number}");
Graphics.update
end
bsprite.bitmap.dispose;
bsprite.dispose;
end
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |