def update
@frame_index += 1
return if cancel?
last if last?
@credit_sprite.oy += 1
end
def scene_start
credit_lines = CREDIT.split(/\n/)
credit_bitmap = Bitmap.new(640,32 * credit_lines.size)
credit_bitmap.font.color = Color.new(???, ???, ???, ???)
credit_lines.each_index do |i|
line = credit_lines
credit_bitmap.draw_text(0,i * 32,640,32,line,1)
end
@credit_sprite = Sprite.new(Viewport.new(0,50,640,380))
@credit_sprite.bitmap = credit_bitmap
@credit_sprite.oy = -430
@frame_index = 0
@last_flag = false
end
欢迎光临 Project1 (https://rpg.blue/) | Powered by Discuz! X3.1 |