本帖最后由 tseyik 于 2015-10-12 21:15 编辑 上下黒帯描画判定開関10 #-------------------------------------------------------------------------- # ● 黒帯の作成 #-------------------------------------------------------------------------- def create_line bitmap = Bitmap.new(Graphics.width, 39) bitmap.fill_rect(0, 0, bitmap.width, bitmap.height, Color.new(0,0,0,255)) @up_line_sprite = Sprite.new(@viewport) @down_line_sprite = Sprite.new(@viewport) @up_line_sprite.bitmap = @down_line_sprite.bitmap = bitmap @up_line_sprite.y = -39 @down_line_sprite.y = Graphics.height end #----- イベント上下黒帯描画 |
显示图片不行吗? |
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2024-11-16 23:31
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.