조회 수 600 추천 수 0 댓글 3
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

 제목 그대로 입니다...


?
  • ?
    REMAIN 2014.08.01 05:56
    VX와 VX ACE는 따로 스크립트로 구현해야합니다. 원래 아방스에 스크립트 파일이 있으나 지금은 안들어가지는 관계로
    네이버 카페 RPG 만들기 포럼에 있는 VX용 안개 스크립트 링크를 달아둡니다.

    http://cafe.naver.com/dd00oo/47757
  • ?
    세이즈 2014.08.20 22:46
    님 그거 툴 강좌 찾아보세요! 그쪽에 gm봉래산님이 올린 글이 있을거에요!
  • ?
    internet 2018.12.17 19:48
    # 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 => 'fog.png'}
    #============================================================================
    # * Set maps you wish to have fogs here. Format:
    # Fog_maps = {mapID => Fog number, mapID2 => Fog number, ...}
    #============================================================================
    Fog_maps = {7 => 1, 10 => 1, 8 => 1, 11 => 1}
    #============================================================================
    # * 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}
    Fog_zoom = {1 => 3}
    Fog_blend = {1 => 2}
    Fog_sxsy = {1 => [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




    스크립트입니다.
    인터넷에 fog 검색하셔서 안개 사진 다운로드 하시고
    런타임 패키지 그래픽 폴더에 picture에 넣으시고
    이 스크립트 입력하시면 됩니다.

    출처 : https://cafe.naver.com/dd00oo/47757

List of Articles
번호 제목 글쓴이 날짜 조회 수
8827 쯔꾸르 mv 게임을 apk 파일로 변환했는데... 1 박하맛 2023.01.14 1330
8826 쯔꾸르 젖소이야기 결혼 방법좀 알려주세요... 2 백지씨 2021.12.20 2627
8825 apk포팅 승인 어케 하나요? game메이커xp 2021.11.29 1257
8824 Yanfly님의 Action Sequence Pack 질문드립니다 Neuromancer 2021.07.15 1541
8823 싸게 MV 를 먼저? 아니면 돈을 더 들어서라도 MZ? 2 Xatra 2021.07.06 1753
8822 RMMV - 스탯창과 대화창 변견 관련 질문입니다. (초보입니다 도움좀 주세요 ㅜㅜ) 2 scribble 2021.01.22 1553
8821 아오오니를 하는 사람인데요 질문 두가지가 있어요 1 오니개무서워 2021.01.16 1634
8820 재밌는게임 land_tnt 2020.12.07 1455
8819 c언어 질문 세종기항19 2020.11.10 1684
8818 코딩 질문 1 세종기항19 2020.11.08 1539
8817 혹시나 물어보는데 드래곤규 2020.11.07 1402
8816 오픈보 게임 더블드래곤 리로디드 얼티네이트에 대해 궁금 이부닝 2020.09.09 1224
8815 상태이상 확률 결정 스트레이보우 2020.09.02 1006
8814 다음 인디사이드 제작대회는 언제쯤 열릴까요? WOONAALAA 2020.05.23 963
8813 xp로 제작된 어플 실행자체가 안된다는 분이 있습니다.(제생각엔 apk로 변환하는 과정에서 버전자체가 낮은 것 같습니다) 1 라엔 2020.05.04 1415
8812 apk 포팅하는데 게임 이름이 필요합니다 뜨는데 1 kashu 2020.05.03 1350
8811 쯔꾸르VX Ace렉먹음 도와주세요... 랖랖 2020.03.22 1780
8810 안녕하세요 1 청월령 2020.02.14 834
8809 포팅 중 '게임 이름이 필요합니다' 오류 2 아이비스 2020.02.11 817
8808 RPGMV 거리 추적 1 정욱 2020.01.19 931
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 442 Next
/ 442


[개인정보취급방침] | [이용약관] | [제휴문의] | [후원창구] | [인디사이드연혁]

Copyright © 1999 - 2016 INdiSide.com/(주)씨엘쓰리디 All Rights Reserved.
인디사이드 운영자 : 천무(이지선) | kernys(김원배) | 사신지(김병국)