本帖最后由 冲啊小笼包 于 2012-5-19 16:59 编辑 #-------------------------------------------------------------------------- # ● 生成战斗背景活动块 #-------------------------------------------------------------------------- def create_battleback source = $game_temp.background_bitmap bitmap = Bitmap.new(640, 480) bitmap.stretch_blt(bitmap.rect, source, source.rect) bitmap.radial_blur(90, 12) @battleback_sprite = Sprite.new(@viewport1) @battleback_sprite.bitmap = bitmap @battleback_sprite.ox = 320 @battleback_sprite.oy = 240 @battleback_sprite.x = 272 @battleback_sprite.y = 176 @battleback_sprite.wave_amp = 8 @battleback_sprite.wave_length = 240 @battleback_sprite.wave_speed = 120 end 只有这里一处诶,怎么改 |
本帖最后由 tommay 于 2012-5-19 13:43 编辑 全局搜索:radial_blur,可调整参数或者改用blur F1中是这样说的
|
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2024-12-25 12:53
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.