VX 스크립트

#===============================================================================
# Battle Backgrounds - RMVX
#===============================================================================
# Written by Synthesize
# January 20, 2008
# Version 1.00A
#===============================================================================
#                       * This script is untested. *
#===============================================================================
module SynBattleB
  # Place your battle backgrounds in the 'Pictures' folder (Graphics/Pictures)
  # Format = {map_id => Battleback Name}
  Battle_background =
  {
  1 => "001-Grassland01",
  2 => "001-Grassland01"
  }
  #-----------------------------------------------------------------------------
  # Create the battlefloor?
  Create_battlefloor = false
  #-----------------------------------------------------------------------------
  # This was being requested on quite a fe forums now, so I threw a quick script
  # together. It is nice and simple, and does what it is suppsoed to do. Once
  # RMVX is released in English, then I will add additional features into this.
  #-----------------------------------------------------------------------------
end
#-------------------------------------------------------------------------------
# Spriteset_Battle
#-------------------------------------------------------------------------------
class Spriteset_Battle
  alias syn_create_battlefloor create_battlefloor
  #-----------------------------------------------------------------------------
  # Create Battleback
  #-----------------------------------------------------------------------------
  def create_battleback
    image = SynBattleB::Battle_background[$game_map.map_id]
    @battleback_sprite = Sprite.new(@viewport1)
    @battleback_sprite.bitmap = Cache.picture(image)
  end
  def create_battlefloor
    @battlefloor_sprite = Sprite.new(@viewport1)
    syn_create_battlefloor if SynBattleB::Create_battlefloor == true
  end
end
#===============================================================================
#                        * This script is untested *
#===============================================================================  
# Version 1.00A
# January 20, 2008
# Written by Synthesize
#===============================================================================
# Battle Backgrounds - RMVX
#===============================================================================
 
 
 
Comment '20'
  • ?
    뉴펜슬 2008.01.26 05:08

    휴... 처음에 대충 보다가 여러 오류가 났는데 처음부터 자세히보니 드디어 뭐가 틀린지 알아서 고쳤습니다.
    좋은 강좌 감사합니다.

  • ?
    쿡쿡 2008.03.10 22:56
    좋은 강좌 감사합니다~~
  • ?
    오리엔탈 2008.11.14 17:04
  • ?
    새볔바람 2008.12.27 09:29
    좋은자료 감사해요
  • ?
    Joony 2009.10.25 16:18

    감사합니다^^

  • ?
    도연 2010.01.06 13:28

    감사 감사~~합니다.

  • ?
    1000℃ 복숭아 2010.01.06 16:53

    잘 쓸게요!!

  • ?
    극상 러브 2010.05.05 11:37

    잘쓰셔서

    감사합니다.

  • ?
    콩밥 2010.05.24 21:40

    감사히 쓰겠습니다^^
    유용하네요;;

  • ?
    sonic1 2010.07.08 10:17

    완전 감사합니다 ㅎㅎ

  • ?
    포인트팡팡 2010.07.08 10:17
    축하합니다. sonic1님은 70포인트에 당첨되셨습니다
  • ?
    뒹구르르 2010.07.22 16:33

    잘쓸께요~

  • ?
    달봉스쿨 2010.08.20 19:02

    잘 쓰겠습니다~

  • ?
    회뜨다손짤림 2010.12.05 00:42

    감사합니다 !

  • ?
    Arowana 2011.02.18 14:43

    강좌보려니까 광고가 머이리 많은지...아휴..

  • ?
    rsh9894 2011.05.30 20:45

    감사합니다

  • ?
    캬무캬무 2011.07.24 23:19

    감사합니다

  • profile
    DevilEx 2011.08.22 20:15

    감사합니다 . !!

  • ?
    아레나5045 2011.09.26 18:46

    우와,,,

  • ?
    자중이 2014.04.17 14:34

    감사합니다.

    그런데 전투 테스트를 하면 아래 글자들이 떠요.
    Script 'Cache' line 75: TypeError occurred.
    cannot convert nil into String

    실제 게임을 하면 정상인데 전투 테스트를 하면 에러가 떠요.

    뭘 때문인가요? 누구 해결해주시면 감사합니다.
    (<배경이 잘 되는지 확인을 했을 뿐인데 에러라니... ㅠ.ㅠ)

    P.S 해결을 못해도 상관이 없지만 시간이 부족해서 '전투 테스트'가 잘 활용하거든요.


List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
공지 스크립트 자료 게시물 작성시 주의사항 3 습작 2012.12.24 5398
637 기타 Gamepad Extender VX 습작 2015.01.02 672
636 버그픽스 DerVVulfman's Tileset Reader VX Bug Fix 습작 2014.11.16 699
635 아이템 현재있는 파티원 선택 레벨업 아이템 만들기 1 file 싸패 2016.06.06 713
634 메뉴 Etude87_Ace_Style_Formation_Change ver.1.01 습작 2014.10.05 758
633 저장 세이브 파일 개수 16개로 늘리기 (기본 세이브 엔진용) 1 file Bunny_Boy 2015.09.07 815
632 ??? 1 Man... 2008.10.27 1020
631 버그픽스 Graphical Object Global Reference VX by Mithran Alkaid 2014.03.03 1026
630 키입력 No F1, F12 and Alt+Return (Kein F1, F12 und Alt+Eingabe) by cremno 습작 2013.04.19 1046
629 메시지 Etude87 Dialogue History Scene file 습작 2014.07.07 1069
628 메뉴 KGC - 커스텀 메뉴 커멘드 (번역) 1 듀란테 2015.07.27 1077
627 ??(다 영어)여기서 부터 드레그만 빼고 Man... 2008.10.27 1078
626 Scene_Credit script Plug & Play 1 Man... 2008.10.27 1085
625 Multi-threader snippet by Omegazion Man... 2008.10.28 1107
624 메뉴 MOG - Scroll Bar for VX file 습작 2014.07.06 1115
623 Screen Shortcut Script Man... 2008.10.27 1142
622 LevelMe v1.2 3 Man... 2008.10.27 1154
621 Screen Resolution 3 Man... 2008.10.28 1171
620 키입력 Key Simulator by Fantasist 습작 2013.05.01 1176
619 MAX Level Limitation System 3 Man... 2008.10.28 1198
618 Simple Fon Chage 3 Man... 2008.10.28 1212
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... 32 Next
/ 32