자유게시판

안녕하세요 정체불명입니다 라이네크님의 질문을 해외 포럼에 올려드리려구
간단하게 영어로 바꿔봤습니다
http://www.rpgmakervx.net/이곳에 가서 General 어쩌구저쩌구나 Script Request에 남기시면 될듯 하네여

New Topic을 눌러서 글을 남기시면 됩니다
회원가입은 http://www.rpgmakervx.net/index.php?act=Reg&CODE=00 이곳에서 하시구여


hi all my tools is rpgvx

i stuck at change background in battle when i using some skill
it was about 7 hours since i encountered problem and having hard work
have any ideas?

the script what i using is from http://avangs.info/zbxe/freeboard/686422

here's whole script code
##################################################
# MOG_BATTLEBACK_XP V1.0                         #
##################################################
# By Moghunter
#
http://www.atelier-rgss.com
##################################################
# Allow you to use a picture as a background in battles
##################################################
# Inside the GRAPHICS folder, create a new folder named Battlebacks.
# Put the pictures inside the Battlebacks folder.
# To select an picture as a Battleback, use the command Call Script in a event,
# with this code:

# $game_system.bb = "FILE_NAME"
#
# In the place of FILE_NAME you have to put the  name of the Battleback picture.
# If you want that the map graphic be your Batteback, just place a name of a absent
# file.
#
##################################################
#############
#   CONFIG    #
#############
module MOG_VX02
# On/OFF Wave Effect
BB_WAVE_SWITCH = 54
# On/OFF VX Standard
BB_VXEDITION_SWITCH = 55
end
#-------------------------------------------------
$mogscript = {} if $mogscript == nil
$mogscript["battleback_xp"] = true
#-------------------------------------------------
###############
# Game_System #
###############
class Game_System
attr_accessor :bb
alias mog_vx02_initialize initialize
def initialize
mog_vx02_initialize
@bb = ""
end
end
###############
# Module Cache #
###############
module Cache 
  def self.battleback(filename)
    load_bitmap("Graphics/battlebacks/", filename)
  end
end
#################
# Spriteset_Battle #
#################
class Spriteset_Battle
include MOG_VX02
  def create_battleback
    @battleback_sprite = Sprite.new(@viewport1)
    source = Cache.battleback($game_system.bb.to_s) rescue empty
    if  $game_switches[BB_WAVE_SWITCH] == true
    bitmap = Bitmap.new(640, 480)
    else
    bitmap = Bitmap.new(544, 416)
    end
    bitmap.stretch_blt(bitmap.rect, source, source.rect)
    bitmap.radial_blur(90, 12) if  $game_switches[BB_VXEDITION_SWITCH] == true
    @battleback_sprite.bitmap = bitmap
    wave_on if  $game_switches[BB_WAVE_SWITCH] == true
 end
def wave_on
    @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
def empty
   @battleback_sprite.bitmap =  $game_temp.background_bitmap
 end
def create_battlefloor
    if  $game_switches[BB_VXEDITION_SWITCH] == true
    @battlefloor_sprite = Sprite.new(@viewport1)
    @battlefloor_sprite.bitmap = Cache.system("BattleFloor")
    @battlefloor_sprite.x = 0
    @battlefloor_sprite.y = 192
    @battlefloor_sprite.z = 1
    @battlefloor_sprite.opacity = 128
    else
    @battlefloor_sprite = Sprite.new(@viewport1)
    end
  end
end

 

TAG •

List of Articles
분류 제목 글쓴이 날짜 조회 수
공지 아방스 게시물 · 댓글 작성 규칙 (최근 수정일 2015.11.25) 17 file 완폐남™ 2012.07.17 47412
잡담 어.................. 잠잘때 꿈꾸면 기운이 쫙빠진다..... 8 맛난호빵 2011.08.10 844
제작 스샷 노잼. 노 스트레스 3 file 뿌잉뿌잉쨔응 2013.07.22 844
제작 영상 오니의 지능 7 구름인간 2013.04.02 844
막장 하이고 이런 씨...... ㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠㅠ 21 file 부초 2014.02.21 844
잡담 밀려났다.. 2 칼리아 2009.07.18 845
위치 어떤가요 1 라이네크 2009.09.28 845
잡담 내로미님이 가셨습니다. 5 Work Som 2010.06.02 845
막장 그냥 링크하는 사진들. Alkaid 2011.06.14 845
막장 낚엿음 1 NewSet 2011.07.26 845
공지의 위력.jpg 3 file 하늘바라KSND 2011.07.30 845
ㅎ... file 은색바람 2011.08.20 845
제작 영상 우선은 메페 개적화와 관련되어 알아낸것 몇가지. JACKY 2011.11.12 845
막장 지금 우리나라 해병대 사령관이... 2 JACKY 2011.11.26 845
제작 일지 하아 갈 길이 먼데 취업 자리가 났네요;; 2 file moopu 2014.06.16 845
제작 스샷 연습용 시도들 1 file 에크멕필라으 2014.05.17 845
잡담 보통 맵만들때 이렇게 하는데. . 6 file 스리아씨 2013.10.12 845
설문 아방스에 펭귄들이 많아지고 있습니다. 10 file 뿌잉뿌잉쨔응 2013.10.17 845
잡담 일주일 남았네요. 5 둥글수염 2013.11.16 845
제작 일지 시스템 완성이 눈 앞입니다! 19 file 정이:) 2014.02.08 845
잡담 ㅋㅋㅋ 그냥 함~~ 9 작은악마 2008.03.13 846
목록
Board Pagination Prev 1 ... 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 ... 756 Next
/ 756