def backg actor=@actor actor_bg(actor.name) end def actor_bg(file_name) bitmap = Cache.picture("Statesbg/#{file_name}") src_rect = Rect.new(0,0,bitmap.width ,bitmap.height) contents.blt(0, 0, bitmap, src_rect) [color=Red] bitmap.dispose[/color] end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |