/* Menu Horisontal ---------------------------------------------*/ .menupic{width:100%;margin:0 auto;padding:0 auto;} .menuhorisontal{background:#e9e9e9 url(http://2.bp.blogspot.com/_tUdwiyEcqV4/TVAvFqOyxcI/AAAAAAAAAs8/ZE7Yc8WL1n4/s1600/bg_menu.gif) repeat-x bottom left;width:980px;height:30px;margin:0 auto; padding:0 auto;border-left:1px solid $bordercolor;border-right:1px solid $bordercolor;border-top:solid 1px $bordercolor;} .menuhorisontal ul{margin: 0; padding-left: 0px;color:#357798;text-transform: capitalize;list-style-type: none;font:bold 12px Arial, Helvetica,Arial,Verdana,sans-serif;} .menuhorisontal li{display: inline; margin: 0;} .menuhorisontal li a{float: left;display: block;text-decoration:none; padding:7px 7px 7px 7px;border-right:1px solid #dadcde;border-bottom:solid 1px #d2d4d6;color:#357798;} .menuhorisontal li a:visited{color:#357798;} .menuhorisontal li a:hover {background:#fff;color:#333;text-decoration:none;border-bottom:solid 1px #fff; /*Background Setelah Pointer Diarahkan */} .menuhorisontal li.selected a {background:#fff;color:#333;border-bottom:solid 1px #fff;padding:7px 10px 7px 10px;}

Minggu, 22 Juni 2014

RMVX - Menu Simple Script

Hallo ? Sekarang saya akan mengepostkan beberapa script yang ada di RMVX. Mau tau apa aja ?
Baiklah. Pastikan anda membunyai RMVXnya. Dan ada baaanyaaakk sekali scripnya. Saya di sini
Hanya akan memberikan beberapa saja yang saya tahu. Berikut Daftarnya :

  • Script Simple Menu

Bagi temen - temen yang pengen tau script simple menu itu hanya menampilkan 3 pilihan pada menu saat di pause. 3 pilihan tersebut adalah Item, Save , End Game. Penasaran scripnya ?
berikut scriptnya : 

SCRIPT
    #===============================================================================
    # Simple Menu
    # Sumber Wahyu Agus
    #===============================================================================
    #    Fitur
    # > Menampilkan Items Save dan End Game
    # > Merubah tempat window menu dari pojok kiri atas menjadi di tengah
    #===============================================================================
    #  Taruh Script diatas Main & dibawah Materials
    #===============================================================================
    class Window_MenuStatus < Window_Selectable
      #--------------------------------------------------------------------------
      # * Object Initialization
      #     x : window X coordinate
      #     y : window Y coordinate
      #--------------------------------------------------------------------------
    def initialize(x, y)
        super(x, y, 160, 0)
        refresh
        self.active = false
        self.index = -1
    end
      def refresh
        self.contents.clear
        end
      end
     
    class Scene_Menu < Scene_Base
      #--------------------------------------------------------------------------
      # * Create Command Window
      #--------------------------------------------------------------------------
      def create_command_window
        s1 = Vocab::item
        s2 = Vocab::save
        s3 = Vocab::game_end
        @command_window = Window_Command.new(160, [s1, s2, s3])
        for i in 0...4
        @command_window.draw_item(i)
        @command_window.x = (544 - @command_window.width) / 2
        @command_window.y = (416 - @command_window.height) / 2
        end
      end
       #--------------------------------------------------------------------------
      # * Update Command Selection
      #--------------------------------------------------------------------------
      def update_command_selection
        if Input.trigger?(Input::B)
          Sound.play_cancel
          $scene = Scene_Map.new
        elsif Input.trigger?(Input::C)
          if $game_party.members.size == 0 and @command_window.index < 2
            Sound.play_buzzer
            return
          elsif $game_system.save_disabled and @command_window.index == 2
            Sound.play_buzzer
            return
          end
          Sound.play_decision
          case @command_window.index
          when 0      # Item
            $scene = Scene_Item.new
          when 1  # Save
            $scene = Scene_File.new(true, false, false)
          when 2   # End Game
            $scene = Scene_End.new
          end
        end
      end
      def update_actor_selection
        if Input.trigger?(Input::B)
          Sound.play_cancel
          end_actor_selection
        elsif Input.trigger?(Input::C)
          $game_party.last_actor_index = @status_window.index
          Sound.play_decision
          case @command_window.index
          when 1  #  Save
            $scene = Scene_File.new(true, false, false)
          end
        end
    end
    end
    ====================================================================
    Hilangkan tanda " = " ( tanda di bawah end ) Agar scriptnya berfungsi.


    RAW PASTE :


    #===============================================================================
    # Simple Menu V.1.1
    # By Aguristic
    #===============================================================================
    # New Fitur
    # > Menghilangkan actor,hp,mp,lv
    # > Merubah tempat window menu dari pojok kiri atas menjadi di tengah
    #===============================================================================
    # Cara memakai Script ini yaitu tinggal  Memasang diatas Main & dibawah Materials
    #===============================================================================

    class Window_MenuStatus < Window_Selectable
      #--------------------------------------------------------------------------
      # * Object Initialization
      #     x : window X coordinate
      #     y : window Y coordinate
      #--------------------------------------------------------------------------
    def initialize(x, y)
        super(x, y, 160, 0)
        refresh
        self.active = false
        self.index = -1
    end
      def refresh
        self.contents.clear
        end
      end

      
    class Scene_Menu < Scene_Base
      #--------------------------------------------------------------------------
      # * Create Command Window
      #--------------------------------------------------------------------------

      def create_command_window
        s1 = Vocab::item
        s2 = Vocab::save
        s3 = Vocab::game_end
        @command_window = Window_Command.new(160, [s1, s2, s3])
        for i in 0...4
        @command_window.draw_item(i)
        @command_window.x = (544 - @command_window.width) / 2
        @command_window.y = (416 - @command_window.height) / 2
        end
      end
       #--------------------------------------------------------------------------
      # * Update Command Selection
      #--------------------------------------------------------------------------
      def update_command_selection
        if Input.trigger?(Input::B)
          Sound.play_cancel
          $scene = Scene_Map.new
        elsif Input.trigger?(Input::C)
          if $game_party.members.size == 0 and @command_window.index < 2
            Sound.play_buzzer
            return
          elsif $game_system.save_disabled and @command_window.index == 2
            Sound.play_buzzer
            return
          end
          Sound.play_decision
          case @command_window.index
          when 0      # Item
            $scene = Scene_Item.new
          when 1  # Save
            $scene = Scene_File.new(true, false, false)
          when 2   # End Game
            $scene = Scene_End.new
          end
        end
      end
      def update_actor_selection
        if Input.trigger?(Input::B)
          Sound.play_cancel
          end_actor_selection
        elsif Input.trigger?(Input::C)
          $game_party.last_actor_index = @status_window.index
          Sound.play_decision
          case @command_window.index
          when 1  #  Save
            $scene = Scene_File.new(true, false, false)
          end
        end
    end
    end
    ====================================================================
    Hilangkan lagi tanda " = "


    Mungkin segitu dulu postingannya dan maaf jika ada kata - kata yang tidak berkenan bagi anda
    mohon di maafkan. Tunggu postingan baru aku ya ?

Tidak ada komentar:

Posting Komentar