질문과 답변

Extra Form

메모리아 님께서 만드신 맵.

출처 : http://avangs.info/320459

포맷변환_하늘섬.jpg

 

 부초님께서 만드신 맵

출처 : http://avangs.info/320677

 

1234.JPG

 

두개다 XP로 만드신건데요

화면위에 뿌연 효과

구름? 연기? 이러한 효과 VX로도 스크립트가 있나요?

 

  

Comment '2'
  • profile
    마에르드 2012.02.16 02:09

    # Allows you to display a fog on map. Brings back the "old" Fog feature from
    # RPG Maker XP.
    # 08-03-2008 (dd-mm-yyyy) ⓒ Hevendor of rmxp.org
    # 09-03-2008 Edits/additions by Jirbytaylor
    # 09-03-2008 (dd-mm-yyyy) Edited by Hevendor
    # Version 1.2.3
    # Latest update: fixed bug where fog showed over pictures
    #==============================================================================

    module Fog_Map_Settings
      #============================================================================
      # * Configure Fog numbers -> names for setup timesaving. Format:
      # {fognumber => 'fogname.extension', ...}
      # where 'Fogname.extension' must be the name of a fog picture and its extension
      # located in the pictures folder
      #============================================================================
      Fog_names = {1 => '001-Fog01.png', 2 => '002-Clouds01.png', 3 => '003-Shade01.png', 4 => '004-Shade02.png', 5 => '005-Sandstorm01.png', 6 => '006-Sandstorm02.png'}
      #============================================================================
      # * Set maps you wish to have fogs here. Format:
      # Fog_maps = {mapID => Fog number, mapID2 => Fog number, ...}
      #============================================================================
      Fog_maps = {1 => 2, 2 => 3, 9=>2, 10=>2, 11=>1, 23=>3, 24=>5,
      32=>1, 33=>1, 30=>2, 37=>2, 38=>2}
      #============================================================================
      # * Set up fog settings. Uses (fog number => setting, ...) format
      # - Opacity - Opacity of fog, ranging from 0 (invisible) to 255 (opaque)
      # - Zoom - size of fog. '1' is normal not '100'.
      # - Blend - 0 - Normal, 1 - Add, 2 - Subtract
      # - SxSy - Scroll settings. (fog number => [sx,sy] ...)
      #============================================================================
      Fog_opacity = {1 => 100, 2 => 100, 3 => 100, 4 => 100, 5 => 100, 6 => 100}
      Fog_zoom = {1 => 3, 2 => 2, 3 => 2, 4 => 3, 5 => 3, 6 => 3}
      Fog_blend = {1 => 2, 2 => 0, 3 => 0, 4 => 2, 5 => 2, 6 => 2}
      Fog_sxsy = {1 => [4, 4], 2 => [4, 4], 3 => [4, 4], 4 => [4, 4], 5 => [4, 4], 6 => [4, 4]}
    end

    class Game_Map
      #--------------------------------------------------------------------------
      # * Public Instance Variables
      #--------------------------------------------------------------------------
      attr_reader :map_id                     # map ID
      attr_reader :fog_ox                     # fog oX
      attr_reader :fog_oy                     # fog oY
      #--------------------------------------------------------------------------
      # * Alias Definitions
      #--------------------------------------------------------------------------
      alias hev_fog_feature_map_update update
      alias hev_fog_feature_map_initialize initialize
      #--------------------------------------------------------------------------
      # * Object Initialization
      #--------------------------------------------------------------------------
      def initialize
        @fog_ox = 0
        @fog_oy = 0
        hev_fog_feature_map_initialize
      end
      #--------------------------------------------------------------------------
      # * Update Fog
      #--------------------------------------------------------------------------  
      def update_fog
        if Fog_Map_Settings::Fog_maps.include?($game_map.map_id)
          @fog_ox -= Fog_Map_Settings::Fog_sxsy[Fog_Map_Settings::Fog_maps[@map_id]][0] / 8.0
          @fog_oy -= Fog_Map_Settings::Fog_sxsy[Fog_Map_Settings::Fog_maps[@map_id]][1] / 8.0
        end
      end
      #--------------------------------------------------------------------------
      # * Frame Update
      #--------------------------------------------------------------------------
      def update
        hev_fog_feature_map_update
        update_fog
      end
    end

    class Spriteset_Map
      #--------------------------------------------------------------------------
      # * Alias Definitions
      #--------------------------------------------------------------------------
      alias hev_fog_feature_initialize initialize
      alias hev_fog_feature_create_viewports create_viewports
      alias hev_fog_feature_dispose dispose
      alias hev_fog_feature_update_viewports update_viewports
      alias hev_fog_feature_update update
      #--------------------------------------------------------------------------
      # * Object Initialization
      #--------------------------------------------------------------------------
      def initialize
        hev_fog_feature_initialize
        create_fog
      end
      #--------------------------------------------------------------------------
      # * Create Viewport
      #--------------------------------------------------------------------------
      def create_viewports
        @viewport4 = Viewport.new(0, 0, 544, 416)
        @viewport4.z = 9
        hev_fog_feature_create_viewports
      end
      #--------------------------------------------------------------------------
      # * Create Fog
      #--------------------------------------------------------------------------
      def create_fog
        @fog = Plane.new(@viewport4)
        if Fog_Map_Settings::Fog_maps.include?($game_map.map_id)
          fog_number = Fog_Map_Settings::Fog_maps[$game_map.map_id]
          update_fog
          @fog.bitmap = Cache.picture(Fog_Map_Settings::Fog_names[fog_number])
          @fog.opacity = Fog_Map_Settings::Fog_opacity[fog_number]
          @fog.zoom_x = @fog.zoom_y = Fog_Map_Settings::Fog_zoom[fog_number]
          @fog.blend_type = Fog_Map_Settings::Fog_blend[fog_number]
        end      
      end
      #--------------------------------------------------------------------------
      # * Update Fog Sprite
      #--------------------------------------------------------------------------
      def update_fog
        if @fog != nil
          @fog.ox = $game_map.display_x / 8 + $game_map.fog_ox
          @fog.oy = $game_map.display_y / 8 + $game_map.fog_oy
        end
      end
      #--------------------------------------------------------------------------
      # * Frame Update
      #--------------------------------------------------------------------------
      def update
        hev_fog_feature_update
        update_fog
      end
      #--------------------------------------------------------------------------
      # * Dispose of Fog Sprite
      #--------------------------------------------------------------------------
      def dispose_fog
        @fog.dispose
      end
      #--------------------------------------------------------------------------
      # * Dispose
      #--------------------------------------------------------------------------
      def dispose
        dispose_fog
        hev_fog_feature_dispose
      end
    end

  • profile
    황금시계 2012.02.16 16:00

    감사합니다.


List of Articles
종류 분류 제목 글쓴이 날짜 조회 수
공지 묻고 답하기 가이드 습작 2014.06.14 12387
RMVXA 맵칩관련 에러사항 ? 6 file 로브남 2012.03.01 2348
RMVXA ACE 거대몬스터, 거대물품 이용 2 에구궁 2012.04.14 2346
RpgXp 한글 깨짐 현상 2 file Teodra 2014.01.23 2345
RMVX RGSS2 Player가 중지되었습니다.(외 Game.exe가 중지되었습니다.) 1 하얀악어 2014.03.03 2341
RMVX rpgvx m_status_obj 가 없다고 에러가 뜹니다. 신규회원 2012.02.03 2341
RMVX vx 한글판 1.02 버전 게시물을 보면 2 훈덕 2011.12.25 2337
RMXP 게이지바 만들때 hp/mp설정 1 오매갓 2011.09.21 2337
RMXP XP버전에서 얼굴그래픽 넣는 방법 2 m양 2011.10.16 2334
RMVXA 플레이화면이 너무 작아요!ㅠㅠ 도트 픽셀이 하나하나 잘 보였으면 좋겠는데.. (해상도 낮추고싶어요) 9 file 당근양 2016.07.01 2329
RMVXA 데이터베이스 타일셋 모드에 vx호환은 무엇인가요? 1 김놈똥 2012.03.26 2329
RMVX 메뉴 원래대로 돌리기 2 file 잡초더미 2012.05.18 2326
RMXP 성곽(?) 맵칩 1 까멸 2011.12.29 2325
RM2k3 rpg 만들기 2003 캐릭터 만드는 프로그램이 뭔가요? 1 심심한인간 2012.06.12 2324
RMVX 구름? 안개? 뿌연효과 2 file 황금시계 2012.02.16 2323
RMVX 보행 그래픽 짤림 1 file 124867960 2012.02.15 2323
RMVX Data 폴더를 Game.rgss3a로 바꿀 수 있나요? 2 치킨죠아영 2018.11.15 2322
RM2k (동영상/사진)RPG2000 기본전투(턴알)에서 적테릭터 HP게이지바 생성하는법!! <<헬트... 백귀신 2010.09.25 2322
RMVX 타이머 작동 도중 시간 더하기 2 김기말 2012.05.23 2320
RMXP 공격력 증가방법 2 캉쿤 2011.10.21 2318
RMXP 문장 중간중간에 넣는거 4 늘무 2012.04.23 2316
Board Pagination Prev 1 ... 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 ... 516 Next
/ 516