자유게시판

안녕하세요 정체불명입니다 라이네크님의 질문을 해외 포럼에 올려드리려구
간단하게 영어로 바꿔봤습니다
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 47405
잡담 럴수 럴수 이럴수?! 4 파이어 2011.01.10 286
잡담 럭 시스템 완성!!!! 코르뉴 2009.11.01 809
잡담 러시아에서는 악마가 아이고소시로 변신합니다 ! 5 Som Worker 2010.05.23 455
잡담 러시아 공부 8일째.. 1 비타스 2008.07.11 769
제작 일지 러브보이 주인공 초기디자인이랑 최근디자인 file yellowcat 2013.11.27 779
제작 일지 러브보이 제작중 딴짓.. 12 file yellowcat 2013.12.04 763
잡담 러브보이 제작중 갑자기 떠오르는 게임 스토리 7 yellowcat 2013.12.01 464
잡담 러닝은빛님 플러그인이랑 얀플라이 메세지코어 호환되나요? 3 잠행인 2016.11.02 252
잡담 러너플님 자꾸 주간게임베스트 1위냐 2위냐 눈물을 흘리시는데 2 君塚ちえい 2009.04.21 629
러너플님 욕하신당 5 可わいい 2009.03.04 725
잡담 량님의 제작자 후원 프로젝트 요새 어떻게 돼가고 있나요? 4 LDG 2015.11.09 114
제작 스샷 량님.. 죄송합니다. 6 file 존재감 2013.06.13 714
잡담 량님 칼럼을 보며 [캐릭터과시] 가 떠오릅니다. 4 file Roam 2013.09.26 881
량님 모쟁님 죄송합니다 ㅜ 2 명란젓 2013.05.05 892
잡담 랭킹존시황(웬지 꼴받을것같으면 오지마세요.) 7 포뇨 2010.01.14 665
잡담 랭킹존 말입죠... 6 쉴더 2009.02.19 597
잡담 랭킹..? 4 포뇨 2010.02.07 475
잡담 랭킹 올리는법 5 fgdr147 2009.07.10 837
잡담 랭킹 게시판 ㅇㄷ...? 3 JEWAPPI 2010.07.27 397
잡담 랩이 금방 올랐다!! 3 Shot! 2009.01.10 345
목록
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