질문과 답변

Extra Form

ex)새로시작

     이어하기

     끝내기

     제작자 홈페이지


이렇게 되있으면 제작자의 홈페이지를 누를 경우 홈페이지로 이동이 가능하게 만드는 방법 좀 가르쳐주세요 ㅠ

Comment '1'
  • profile
    러닝은빛 2014.10.26 16:03

    메인 위에 삽입하세요.


    아래 인터넷 주소는 이 게시물의 주소로 되어있으니 수정하시기 바랍니다.



    class Scene_Title

      #--------------------------------------------------------------------------

      # * Main Processing

      #--------------------------------------------------------------------------

      def main

        # If battle test

        if $BTEST

          battle_test

          return

        end

        # Load database

        $data_actors        = load_data("Data/Actors.rxdata")

        $data_classes       = load_data("Data/Classes.rxdata")

        $data_skills        = load_data("Data/Skills.rxdata")

        $data_items         = load_data("Data/Items.rxdata")

        $data_weapons       = load_data("Data/Weapons.rxdata")

        $data_armors        = load_data("Data/Armors.rxdata")

        $data_enemies       = load_data("Data/Enemies.rxdata")

        $data_troops        = load_data("Data/Troops.rxdata")

        $data_states        = load_data("Data/States.rxdata")

        $data_animations    = load_data("Data/Animations.rxdata")

        $data_tilesets      = load_data("Data/Tilesets.rxdata")

        $data_common_events = load_data("Data/CommonEvents.rxdata")

        $data_system        = load_data("Data/System.rxdata")

        # Make system object

        $game_system = Game_System.new

        # Make title graphic

        @sprite = Sprite.new

        @sprite.bitmap = RPG::Cache.title($data_system.title_name)

        # Make command window

        s1 = "새로 시작"

        s2 = "이어 하기"

        s3 = "끝내기"

        s4 = "제작자 홈페이지"

        @command_window = Window_Command.new(192, [s1, s2, s3, s4])

        @command_window.back_opacity = 160

        @command_window.x = 320 - @command_window.width / 2

        @command_window.y = 430 - @command_window.height

        # Continue enabled determinant

        # Check if at least one save file exists

        # If enabled, make @continue_enabled true; if disabled, make it false

        @continue_enabled = false

        for i in 0..3

          if FileTest.exist?("Save#{i+1}.rxdata")

            @continue_enabled = true

          end

        end

        # If continue is enabled, move cursor to "Continue"

        # If disabled, display "Continue" text in gray

        if @continue_enabled

          @command_window.index = 1

        else

          @command_window.disable_item(1)

        end

        # Play title BGM

        $game_system.bgm_play($data_system.title_bgm)

        # Stop playing ME and BGS

        Audio.me_stop

        Audio.bgs_stop

        # Execute transition

        Graphics.transition

        # Main loop

        loop do

          # Update game screen

          Graphics.update

          # Update input information

          Input.update

          # Frame update

          update

          # Abort loop if screen is changed

          if $scene != self

            break

          end

        end

        # Prepare for transition

        Graphics.freeze

        # Dispose of command window

        @command_window.dispose

        # Dispose of title graphic

        @sprite.bitmap.dispose

        @sprite.dispose

      end

      

      def update

        # Update command window

        @command_window.update

        # If C button was pressed

        if Input.trigger?(Input::C)

          # Branch by command window cursor position

          case @command_window.index

          when 0  # New game

            command_new_game

          when 1  # Continue

            command_continue

          when 2  # Shutdown

            command_shutdown

          when 3 

            command_hompage

          end

        end

      end  

      

      def page_open(url)

        md = Win32API.new("shell32","ShellExecute",['L','P','P','P','P','L'],'L')

        md.call(0,"open",url,0,0,0)

      end


      def command_hompage

        page_open("http://avangs.info/kin/1392344")

      end

    end




List of Articles
종류 분류 제목 글쓴이 날짜 조회 수
공지 묻고 답하기 가이드 습작 2014.06.14 12442
RMXP 타일과 캐릭이겹쳐요 2 file 봉지스 2012.08.12 1322
RMXP 타일 크기 맞추는 법 알려주세요 5 file 박하우유 2013.07.18 1361
RMXP 타일 깔때 이거 왜이러죠? 2 file 잉여인 2011.08.23 2078
RMXP 타일 2 file 크루즈 2011.02.07 666
RMXP 타이핑효과? 2 야구에달인 2012.08.27 1071
RMXP 타이틀화면,게임오버화면 좀... 4 김수환무 2011.06.08 1657
RMXP 타이틀화면 움짤(xp입니다) 8 강성욱 2014.10.19 669
RMXP 타이틀화면 매뉴창 2 야구에달인 2011.09.04 2177
RMXP 타이틀화면 2 블러키 2011.03.23 2216
RMXP 타이틀을 하얀새처럼 2 file 낙원의공허 2013.05.26 934
RMXP 타이틀,캐릭터칩 넣으니까 모바일에러떠요 1 rpgxp만드는초보 2014.01.05 861
RMXP 타이틀 화면에서 모양 바꾸는법좀 2 게임이좋아 2011.03.27 1746
RMXP 타이틀 화면 5 김빅밤 2011.01.07 656
RMXP 타이틀 스크립트 방향키 변경! 6 file 제프 2014.05.17 914
RMXP 타이틀 배경의 설정 2 file 제프 2014.05.17 892
RMXP 타이틀 배경 노래바꾸는법 1 김빅밤 2010.09.19 1124
RMXP 타이틀 메뉴 추가를 어떻게 하나요? 1 작삼 2014.10.26 951
RMXP 타이틀 메뉴 변경 질문 1 알피지가좋아요 2013.08.16 1071
RMXP 타이어 2 ★RPG마스터★ 2011.03.04 885
RMXP 타이머의 활용법좀요 ㅠㅠ 1 빵테의비밀 2013.07.25 685
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 ... 90 Next
/ 90