Jump to content
Rpg²S Forum
  • 0

problemino window skin


Darkshiva
 Share

Question

ciao nella window skin ci sono delle freccie e per la selezzione un quadratino piccolo XDD(nn so se lo avete presente cmq...

 

cm faccio ad usare la freccia per la selezzione??

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

esiste uno script che sostituisce il quadratino con una picture

 

#==============================================================================# ++ 矢印型セレクトカーソル ver. 1.10 ++#  Script by パラ犬#------------------------------------------------------------------------------# コマンド選択時のカーソルを任意の画像にします。#============================================================================== module PARA_LEFT_CURSOR # カーソル画像ファイル名(「Graphics/Windowskin」フォルダ内)FILE_NAME = "cursore2" # 表示タイプ( 0:矢印のみ 1:矢印+四角カーソル )TYPE = 0 end # ↑ 設定項目ここまで#------------------------------------------------------------------------------ #==============================================================================# ■ Window_Base#============================================================================== class Window_Base#--------------------------------------------------------------------------# ● カーソルの矩形更新#--------------------------------------------------------------------------alias cursor_rect_para_lcr cursor_rectdef cursor_rect=(rect)  if PARA_LEFT_CURSOR::TYPE == 1	super(rect)  end  empty = Rect.new(0,0,0,0)  if rect != empty and self.visible != false and @index != -1	if @cursor == nil or @cursor.disposed?	  # スプライトを作成	  @cursor = Sprite.new	  @cursor.bitmap = RPG::Cache.windowskin(PARA_LEFT_CURSOR::FILE_NAME)	  @cursor.z = 999999999	end	# カーソルスプライトの位置を移動	@cursor.x = self.x + rect.x - 7	cy = (rect.height-0) / 2	@cursor.y = self.y + cy + rect.y + 10	#@cursor.z = self.z + 1	 @cursor.z = 999999999  elsif @cursor != nil	@cursor.dispose  endend#--------------------------------------------------------------------------# ● 解放#--------------------------------------------------------------------------alias dispose_para_cur disposedef dispose  super  if @cursor != nil	@cursor.dispose  endend#--------------------------------------------------------------------------# ● self.visible#--------------------------------------------------------------------------def visible=(bool)  super  # ウインドウが不可視の時はカーソルを消去  if @cursor != nil and bool == false	@cursor.dispose  endendend   #==============================================================================# ++ 矢印型セレクトカーソル&アイコンコマンドウィンドウ 併用化パッチ ++#  Script by パラ犬#  http://rpg.para.s3p.net/#------------------------------------------------------------------------------# momomomo?様の「アイコンコマンドウィンドウ」との併用時に# セレクトカーソルが出てしまう問題を修正します。# [momomomo?]# [url="http://f53.aaa.livedoor.jp/~momomo/"]http://f53.aaa.livedoor.jp/~momomo/[/url]#============================================================================== class Window_CommandIcon < Window_Selectabledef cursor_rect=(rect)  returnendend

 

http://f53.aaa.livedoor.jp/~momomo/ <= crediti

Devi inserire una picture che si chiama

cursore2 nella cartella windowskin

http://img256.imageshack.us/img256/7639/ihateyou.gif

Un uomo senza religione è come un pesce senza bicicletta.

http://img18.imageshack.us/img18/3668/decasoft1.png

http://rpg2s.net/gif/SCContest1Oct.gifhttp://rpg2s.net/gif/SCContest2Oct.gifhttp://rpg2s.net/gif/SCContest2Oct.gif

Link to comment
Share on other sites

  • 0
  • 0
Io questo non lo so proprio inserisci entrambi e vai sul sicuro

http://img256.imageshack.us/img256/7639/ihateyou.gif

Un uomo senza religione è come un pesce senza bicicletta.

http://img18.imageshack.us/img18/3668/decasoft1.png

http://rpg2s.net/gif/SCContest1Oct.gifhttp://rpg2s.net/gif/SCContest2Oct.gifhttp://rpg2s.net/gif/SCContest2Oct.gif

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...