Accueil du SiteAccueil du Site  AccueilAccueil  Dernières imagesDernières images  RechercherRechercher  ConnexionConnexion  S'enregistrerS'enregistrer  



Le Deal du moment :
Jeux, jouets et Lego : le deuxième à ...
Voir le deal

Partagez
 

 [VX Ace] Menu horizontal

Voir le sujet précédent Voir le sujet suivant Aller en bas 
AuteurMessage
RitoJS
Ancien staffeux
Ancien staffeux
RitoJS

Masculin
Messages postés : 1925
Date d'inscription : 22/02/2012
Jauge LPC :
[VX Ace] Menu horizontal 8915271400100 / 100100 / 100[VX Ace] Menu horizontal 8915271400

[VX Ace] Menu horizontal Membre15
[VX Ace] Menu horizontal Mappeu10
[VX Ace] Menu horizontal Projet10
[VX Ace] Menu horizontal Projet16
[VX Ace] Menu horizontal Riche_10


[VX Ace] Menu horizontal Empty
MessageSujet: [VX Ace] Menu horizontal   [VX Ace] Menu horizontal EmptyVen 2 Nov 2012 - 19:21

Crédit:Claimh
Ce script vous permet d'avoir un menu horizontal.

Screenshots:
[VX Ace] Menu horizontal Menu_imagesia-com_35uh

Instructions:
Placez le script le script au-dessus de main...C'est tout. :p

Script:
Code:
#==============================================================================
# ■ VXAce-RGSS3-32 メニュー画面-改        by Claimh
#------------------------------------------------------------------------------
# メニュー画面の表示を変更します
#==============================================================================

#==============================================================================
# ■ Window_MenuCommand
#==============================================================================
class Window_MenuCommand < Window_Command
  #--------------------------------------------------------------------------
  # ● 桁数の取得
  #--------------------------------------------------------------------------
  def col_max
    4
  end
  #--------------------------------------------------------------------------
  # ● ウィンドウ幅の取得
  #--------------------------------------------------------------------------
  def window_width
    Graphics.width
  end
  #--------------------------------------------------------------------------
  # ● 表示行数の取得
  #--------------------------------------------------------------------------
  def visible_line_number
    2 #item_max
  end
end


#==============================================================================
# ■ Window_HorzMenuStatus
#==============================================================================
class Window_HorzMenuStatus < Window_HorzCommand
  #--------------------------------------------------------------------------
  # ● 公開インスタンス変数
  #--------------------------------------------------------------------------
  attr_reader  :pending_index            # 保留位置(並び替え用)
  #--------------------------------------------------------------------------
  # ● オブジェクト初期化
  #--------------------------------------------------------------------------
  def initialize(x, y)
    @pending_index = -1
    super(x, y)
    unselect
    deactivate
  end
  #--------------------------------------------------------------------------
  # ● 項目数の取得
  #--------------------------------------------------------------------------
  def item_max
    $game_party.members.size
  end
  #--------------------------------------------------------------------------
  # ● 桁数の取得
  #--------------------------------------------------------------------------
  def col_max
    4
  end
  #--------------------------------------------------------------------------
  # ● 表示行数の取得
  #--------------------------------------------------------------------------
  def visible_line_number
    1
  end
  #--------------------------------------------------------------------------
  # ● ウィンドウ幅の取得
  #--------------------------------------------------------------------------
  def window_width
    Graphics.width
  end
  #--------------------------------------------------------------------------
  # ● ウィンドウ高さの取得
  #--------------------------------------------------------------------------
  def window_height
    Graphics.height - fitting_height(2) - fitting_height(1)
  end
  #--------------------------------------------------------------------------
  # ● 項目の高さを取得
  #--------------------------------------------------------------------------
  def item_height
    height - standard_padding * 2
  end
  #--------------------------------------------------------------------------
  # ● 選択項目の有効状態を取得
  #--------------------------------------------------------------------------
  def current_item_enabled?
    true
  end
  #--------------------------------------------------------------------------
  # ● 項目の描画
  #--------------------------------------------------------------------------
  def draw_item(index)
    actor = $game_party.members[index]
    enabled = $game_party.battle_members.include?(actor)
    rect = item_rect_for_text(index)
    draw_item_background(index)
    draw_actor_status(actor, rect.x, rect.y, item_width - 8)
  end
  #--------------------------------------------------------------------------
  # ● アクターステータス描画
  #--------------------------------------------------------------------------
  def draw_actor_status(actor, x, y, width)
    draw_actor_name( actor, x, y + line_height * 0, width)
    draw_actor_face( actor, x+(width-96)/2, y + line_height * 1, width)
    y += 96
    draw_actor_class(actor, x, y + line_height * 1, width)
    draw_actor_level(actor, x+width-60, y + line_height * 2)
    draw_actor_hp(  actor, x, y + line_height * 3, width)
    draw_actor_mp(  actor, x, y + line_height * 4, width)
#    draw_actor_tp(  actor, x, y + line_height * 5, width)
    draw_actor_icons(actor, x, y + line_height * 5, width)
  end
  #--------------------------------------------------------------------------
  # ● 項目の背景を描画
  #--------------------------------------------------------------------------
  def draw_item_background(index)
    if index == @pending_index
      contents.fill_rect(item_rect(index), pending_color)
    end
  end
  #--------------------------------------------------------------------------
  # ● 決定ボタンが押されたときの処理
  #--------------------------------------------------------------------------
  def process_ok
    super
    $game_party.menu_actor = $game_party.members[index]
  end
  #--------------------------------------------------------------------------
  # ● 前回の選択位置を復帰
  #--------------------------------------------------------------------------
  def select_last
    select($game_party.menu_actor.index || 0)
  end
  #--------------------------------------------------------------------------
  # ● 保留位置(並び替え用)の設定
  #--------------------------------------------------------------------------
  def pending_index=(index)
    last_pending_index = @pending_index
    @pending_index = index
    redraw_item(@pending_index)
    redraw_item(last_pending_index)
  end
end

#==============================================================================
# ■ Window_MenuMap
#==============================================================================
class Window_MenuMap < Window_Base
  #--------------------------------------------------------------------------
  # ● オブジェクト初期化
  #--------------------------------------------------------------------------
  def initialize(x, y)
    super(x, y, Graphics.width - 160, fitting_height(1))
    refresh
  end
  #--------------------------------------------------------------------------
  # ● リフレッシュ
  #--------------------------------------------------------------------------
  def refresh
    contents.clear
    draw_text(4, 0, contents_width, line_height, $game_map.display_name)
  end
end


class Sprite_MenuBack < Sprite
  #--------------------------------------------------------------------------
  # ● オブジェクト初期化
  #--------------------------------------------------------------------------
  def initialize(viewport, x, y, h)
    super(viewport)
    self.x = x
    self.y = y
    self.bitmap = Bitmap.new(Graphics.width, h)
    self.bitmap.fill_rect(0, 0, Graphics.width, h, Color.new(0,0,0,128))
  end
end


#==============================================================================
# ■ Scene_Menu
#==============================================================================
class Scene_Menu < Scene_MenuBase
  #--------------------------------------------------------------------------
  # ● ゴールドウィンドウの作成
  #--------------------------------------------------------------------------
  def create_gold_window
    @gold_window = Window_Gold.new
    @gold_window.x = Graphics.width  - @gold_window.width
    @gold_window.y = Graphics.height - @gold_window.height
    @map_window  = Window_MenuMap.new(0, @gold_window.y)
  end
  #--------------------------------------------------------------------------
  # ● ステータスウィンドウの作成
  #--------------------------------------------------------------------------
  def create_status_window
    @status_window = Window_HorzMenuStatus.new(0, @command_window.height)
  end
end
Voilà.
Revenir en haut Aller en bas
http://lunarito.wordpress.com/ https://twitter.com/RitoJS http://ritojs.deviantart.com/
Number6406
Paladin (niveau 2)
Paladin (niveau 2)
Number6406

Messages postés : 578
Date d'inscription : 23/07/2012
Jauge LPC :
[VX Ace] Menu horizontal 89152714008 / 1008 / 100[VX Ace] Menu horizontal 8915271400

[VX Ace] Menu horizontal Membre10
[VX Ace] Menu horizontal Graphi10
[VX Ace] Menu horizontal Action10


[VX Ace] Menu horizontal Empty
MessageSujet: Re: [VX Ace] Menu horizontal   [VX Ace] Menu horizontal EmptyVen 2 Nov 2012 - 19:43

Yeah, cool =)
Merci du partage =)
Revenir en haut Aller en bas
Wayk
Mage (niveau 5)
Mage (niveau 5)
Wayk

Messages postés : 344
Date d'inscription : 07/10/2012
Jauge LPC :
[VX Ace] Menu horizontal 891527140032 / 10032 / 100[VX Ace] Menu horizontal 8915271400

[VX Ace] Menu horizontal Membre-assidu_imagesia-com_1ped_large
[VX Ace] Menu horizontal 50000-me-message_imagesia-com_41yb_large
[VX Ace] Menu horizontal Event-makeur_imagesia-com_1pe8_large


[VX Ace] Menu horizontal Empty
MessageSujet: Re: [VX Ace] Menu horizontal   [VX Ace] Menu horizontal EmptyVen 2 Nov 2012 - 20:23

Les Facesets c'est du rip ?
Revenir en haut Aller en bas
RitoJS
Ancien staffeux
Ancien staffeux
RitoJS

Masculin
Messages postés : 1925
Date d'inscription : 22/02/2012
Jauge LPC :
[VX Ace] Menu horizontal 8915271400100 / 100100 / 100[VX Ace] Menu horizontal 8915271400

[VX Ace] Menu horizontal Membre15
[VX Ace] Menu horizontal Mappeu10
[VX Ace] Menu horizontal Projet10
[VX Ace] Menu horizontal Projet16
[VX Ace] Menu horizontal Riche_10


[VX Ace] Menu horizontal Empty
MessageSujet: Re: [VX Ace] Menu horizontal   [VX Ace] Menu horizontal EmptyVen 2 Nov 2012 - 20:32

Oui c'est du rip.
Revenir en haut Aller en bas
http://lunarito.wordpress.com/ https://twitter.com/RitoJS http://ritojs.deviantart.com/
Invité
Invité
Anonymous


[VX Ace] Menu horizontal Empty
MessageSujet: Re: [VX Ace] Menu horizontal   [VX Ace] Menu horizontal EmptySam 3 Nov 2012 - 6:05

Merci du partage !




Heav'n
Revenir en haut Aller en bas
Elekami
Fondateur
Fondateur
Elekami

Masculin
Messages postés : 19071
Date d'inscription : 19/07/2008
Jauge LPC :
[VX Ace] Menu horizontal 8915271400100 / 100100 / 100[VX Ace] Menu horizontal 8915271400

[VX Ace] Menu horizontal Pater_10
[VX Ace] Menu horizontal Staffe10
[VX Ace] Menu horizontal Mythe_10
[VX Ace] Menu horizontal Membre11
[VX Ace] Menu horizontal Doyen10
[VX Ace] Menu horizontal Scanar10
[VX Ace] Menu horizontal Compos10
[VX Ace] Menu horizontal Testeu10
[VX Ace] Menu horizontal Membre15
[VX Ace] Menu horizontal Partag10
[VX Ace] Menu horizontal Projet10
[VX Ace] Menu horizontal Projet16
[VX Ace] Menu horizontal Riche_10
[VX Ace] Menu horizontal Travai10
[VX Ace] Menu horizontal Collec10
[VX Ace] Menu horizontal Collec11
[VX Ace] Menu horizontal Collec12
[VX Ace] Menu horizontal Collec13
[VX Ace] Menu horizontal Connar10


[VX Ace] Menu horizontal Empty
MessageSujet: Re: [VX Ace] Menu horizontal   [VX Ace] Menu horizontal EmptySam 3 Nov 2012 - 11:09

Merci + des points.
Revenir en haut Aller en bas
https://www.ledijonshow.fr https://twitter.com/EleKoptes
Wayk
Mage (niveau 5)
Mage (niveau 5)
Wayk

Messages postés : 344
Date d'inscription : 07/10/2012
Jauge LPC :
[VX Ace] Menu horizontal 891527140032 / 10032 / 100[VX Ace] Menu horizontal 8915271400

[VX Ace] Menu horizontal Membre-assidu_imagesia-com_1ped_large
[VX Ace] Menu horizontal 50000-me-message_imagesia-com_41yb_large
[VX Ace] Menu horizontal Event-makeur_imagesia-com_1pe8_large


[VX Ace] Menu horizontal Empty
MessageSujet: Re: [VX Ace] Menu horizontal   [VX Ace] Menu horizontal EmptySam 3 Nov 2012 - 16:57

Excuse moi c'est des rips de quels jeux ?
Revenir en haut Aller en bas
RitoJS
Ancien staffeux
Ancien staffeux
RitoJS

Masculin
Messages postés : 1925
Date d'inscription : 22/02/2012
Jauge LPC :
[VX Ace] Menu horizontal 8915271400100 / 100100 / 100[VX Ace] Menu horizontal 8915271400

[VX Ace] Menu horizontal Membre15
[VX Ace] Menu horizontal Mappeu10
[VX Ace] Menu horizontal Projet10
[VX Ace] Menu horizontal Projet16
[VX Ace] Menu horizontal Riche_10


[VX Ace] Menu horizontal Empty
MessageSujet: Re: [VX Ace] Menu horizontal   [VX Ace] Menu horizontal EmptySam 3 Nov 2012 - 17:30

Je sais plus.
C'est des ressources d'un jeu jap' obscure que j'avais rippé il y a pas mal de temps.
Revenir en haut Aller en bas
http://lunarito.wordpress.com/ https://twitter.com/RitoJS http://ritojs.deviantart.com/
Contenu sponsorisé




[VX Ace] Menu horizontal Empty
MessageSujet: Re: [VX Ace] Menu horizontal   [VX Ace] Menu horizontal Empty

Revenir en haut Aller en bas
 
[VX Ace] Menu horizontal
Voir le sujet précédent Voir le sujet suivant Revenir en haut 
Page 1 sur 1
 Sujets similaires
-
» Menu horizontal modifiable
» Menu Parchemin 1.0 (Menu Principal personnalisé)
» Déplacement horizontal RMVXAce
» [XP] Menu FF7
» [XP] MENU G

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
Le Palais Créatif :: ~ PARTAGE ~ :: Scripts et plugins :: RPG Maker VXAce :: Menu-
Sauter vers: