자유게시판

안녕하세요 정체불명입니다 라이네크님의 질문을 해외 포럼에 올려드리려구
간단하게 영어로 바꿔봤습니다
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 41184
잡담 랭킹존시황(웬지 꼴받을것같으면 오지마세요.) 7 포뇨 2010.01.14 663
잡담 랭킹존 말입죠... 6 쉴더 2009.02.19 594
잡담 랭킹..? 4 포뇨 2010.02.07 470
잡담 랭킹 올리는법 5 fgdr147 2009.07.10 828
잡담 랭킹 게시판 ㅇㄷ...? 3 JEWAPPI 2010.07.27 396
잡담 랩이 금방 올랐다!! 3 Shot! 2009.01.10 341
랜시드,칼리온,그레이트소드,디스트로이어등 3 강현문 2010.04.10 454
막장 랜덤투척 - 크리스마스 노래 트리비아 1 Alkaid 2013.12.25 709
막장 랜덤 챗 재밌네요 칼리아 2010.10.17 1048
잡담 래래베레벨 ㅡㅡ! 9 강현문 2010.04.25 616
막장 랑그릿사 온라인 +_+ 2 현문 2011.01.16 715
잡담 랄프 공장 6 카르와푸딩의아틀리에 2009.10.10 1131
잡담 랄라랄 1 고개들면헤샷 2009.03.10 292
잡담 란포드 채색완료! (수정) -오캔,그림판- 12 강현문 2010.03.29 788
잡담 락 음악방송 합니다 file 중꿔사랑 2013.06.27 861
잡담 라피스(네오다크세이버) 같이 할 사람 11 현문 2010.09.07 438
잡담 라트비아 축구평가전 전반생중계.. 4 포뇨 2010.01.22 1053
잡담 라이님 함 보세ㅐ요 1 SCUD 2009.09.28 641
라이네크님의 질문을 해외 포럼에 올려드리려구 정체불명 2009.10.19 1031
잡담 라이네크님을 위한 일러스트 밑그림 그리기..?? 8 봉시기 2009.09.22 1414
목록
Board Pagination Prev 1 ... 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 ... 755 Next
/ 755