자유게시판

안녕하세요 정체불명입니다 라이네크님의 질문을 해외 포럼에 올려드리려구
간단하게 영어로 바꿔봤습니다
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 41076
잡담 이런거 도와주실분없을까요.. 2 칼리아 2009.10.22 1012
잡담 Fancy 아이템 색상... 1 코르뉴 2009.10.22 801
잡담 닉네임 이미지랑 프로필 사진 변경했어요 ~~ 시옷전사 2009.10.21 694
RPG VX스크립트 질문요 1 레니스 2009.10.21 1262
무한의검제 다시 수정 "ㅆ"; 5 라이네크 2009.10.21 873
잡담 이건뭐.. 가가채팅 이 안되여 ㅜ_ㅜ RPGRTP 2009.10.21 1100
스핀 1 라이네크 2009.10.21 811
잡담 게임추천 5 누군가 2009.10.21 873
잡담 채색?ㅋ 3 완폐남™ 2009.10.20 1130
스킬님~ 라이네크 2009.10.20 840
ㅎㅎ 라이네크 2009.10.20 804
잡담 6프레임 대기 모션 +_+..우측 하나;; 6 봉시기 2009.10.20 1173
이클립스 온라인게임제작프로그램 4 小子非 2009.10.19 1517
잡담 차기작 : 폭풍의 아이 끄적,끄적 2 달표범 2009.10.19 1017
라이네크님의 질문을 해외 포럼에 올려드리려구 정체불명 2009.10.19 1031
사용중인 배경스크립트... 2 라이네크 2009.10.19 804
잡담 우왘... 모션프레임을 따로 따로 쓰고 싶엉... 4 봉시기 2009.10.19 997
배틀 중... 배틀 배경화면 이미지를... 바꾸는 방법없을가요 1 라이네크 2009.10.19 1636
잡담 모든 일반몹제작은 끝... 3 카르와푸딩의아틀리에 2009.10.19 964
잡담 휴... 임페리얼 드래곤 업로드 완료 3 Skybound 2009.10.19 981
목록
Board Pagination Prev 1 ... 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 ... 755 Next
/ 755