温馨提醒:系统正在全面升级。您可以访问最新站点。谢谢!
RPG::MapInfo
RPG::Event
RPG::Event::Page
RPG::Event::Page::Condition
RPG::Event::Page::Graphic
RPG::EventCommand
RPG::MoveRoute
RPG::MoveCommand
RPG::Actor
RPG::Class
RPG::Class::Learning
RPG::Skill
RPG::Item
RPG::Weapon
RPG::Armor
RPG::Enemy
RPG::Enemy::Action
RPG::Troop
RPG::Troop::Member
RPG::Troop::Page
RPG::Troop::Page::Condition
RPG::State
RPG::Animation
RPG::Animation::Frame
RPG::Animation::Timing
RPG::Tileset
RPG::CommonEvent
RPG::System
RPG::System::Words
RPG::System::TestBattler
RPG::AudioFile RGSS 内部模块
Audio
Graphics
Input
RPG
RPG::Cache RPGXP 数据结构
RPG::Map
RPG::MapInfo
RPG::Event
RPG::Event::Page
RPG::Event::Page::Condition
RPG::Event::Page::Graphic
RPG::EventCommand
RPG::MoveRoute
RPG::MoveCommand
RPG::Actor
RPG::Class
RPG::Class::Learning
RPG::Skill
RPG::Item
RPG::Weapon
RPG::Armor
RPG::Enemy
RPG::Enemy::Action
RPG::Troop
RPG::Troop::Member
RPG::Troop::Page
RPG::Troop::Page::Condition
RPG::State
RPG::Animation
RPG::Animation::Frame
RPG::Animation::Timing
RPG::Tileset
RPG::CommonEvent
RPG::System
RPG::System::Words
RPG::System::TestBattler
RPG::AudioFile Bitmap
位图的类。所谓位图即表示图像其本身。
为了在画面中显示位图必需要使用精灵(Sprite)等。
父类Object
类方法Bitmap.new(filename)
读取 filename 指定的图像文件,生成 Bitmap 对象。
包含在 RGSS-RTP 和加密档案文件内的文件也会自动搜索。可以省略其扩展名。
Bitmap.new(width, height)
生成指定尺寸的 Bitmap 对象。
方法dispose
释放位图。如果已经释放的话则什么也不做。
disposed?
位图已经释放的话则返回真。
width
取得位图的宽。
height
取得位图的高。
rect
取得位图的矩形(Rect)。
blt(x, y, src_bitmap, src_rect[, opacity])
传送 src_bitmap 的矩形 src_rect(Rect)到该位图的座标(x,y)。
opacity 指定其不透明度,范围为 0 ~ 255。
stretch_blt(dest_rect, src_bitmap, src_rect[, opacity])
传送 src_bitmap 的矩形 src_rect(Rect)到该位图的矩形 dest_rect(Rect)。
opacity 指定其不透明度,范围为 0 ~ 255。
fill_rect(x, y, width, height, color)
fill_rect(rect, color)
以 color(Color)颜色填充该位图的矩形(x,y,width,height)或 rect(Rect)。
clear
清除位图全体。
get_pixel(x, y)
取得点(x,y)的颜色(Color)。
set_pixel(x, y, color)
设定点(x,y)的颜色为 color(Color)。