조회 수 566 추천 수 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
번호 제목 글쓴이 날짜 조회 수
1448 사라진 리스트 10 영까 2014.07.30 472
1447 네코 1 애니 2014.07.31 390
1446 네코툴 더이상 업뎃은 안하시나요? 5 유카092 2014.07.31 960
1445 rpg vx에서 세이브파일을 없에고싶은데 어떡하면돼나요? 4 kch 2014.07.31 1602
1444 님들vxace한글패치 어떻게함 복돌임첨파도 포함좀.. 4 프로게이머가될남자 2014.08.01 510
» vx "안개 효과" 를 만들수 있는 방법 을 알려주세요 3 이타쿠 2014.08.01 566
1442 검은화면 2 아사달과푸르미르 2014.08.01 753
1441 게임 만들고 있는데요...좀 진지한거 ㅋ 11 RPG초보 2014.08.02 422
1440 게임제작(팀에관해) 2 무령아 2014.08.02 364
1439 vx 모바일 런타임 설치가 안되요 4 Shotacon 2014.08.03 948
1438 알려주세요..게임만들고 있는데 10 RPG초보 2014.08.03 421
1437 맵칩 만드는법 1 시즈X 2014.08.03 501
1436 오징어의저주요 2 만두카레 2014.08.04 378
1435 vx ace 버전 rtp 클릭이ㅜ안돼요 1 바다코끼리 2014.08.04 428
1434 캐릭터 속도... 3 캬릉 2014.08.04 423
1433 vxa는인터넷에올라온소재가원래찾기힘든가요? 3 무령아 2014.08.04 345
1432 창고기능좀 알려주세요.. 1 RPG초보 2014.08.04 303
1431 rpg xp 데미지 계산식 수정하는법 라운드 2014.08.04 544
1430 자기가 만든 rpgxp게임을 혼자만플레이 하는법좀 알려주세요 6 NXT 2014.08.05 445
1429 게임 만드는 앱 좀 알려주세요 7 jam있는Mr.join만한놈 2014.08.05 1108
Board Pagination Prev 1 ... 365 366 367 368 369 370 371 372 373 374 ... 442 Next
/ 442






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

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