设为首页收藏本站|繁體中文

Project1

 找回密码
 注册会员
搜索
查看: 1425|回复: 3
打印 上一主题 下一主题

[已经解决] 菜單頭像問題~

[复制链接]

Lv1.梦旅人

梦石
0
星屑
60
在线时间
326 小时
注册时间
2010-5-4
帖子
173
跳转到指定楼层
1
发表于 2012-4-22 12:16:37 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 iisnow 于 2012-4-22 12:29 编辑



菜單旁的角色單~
請問頭像要怎麼分割?

例如像
這樣子分割~
(因為在嘗試做10人左右的隊伍...)


Window_MenuStatus一定要在這裡做腳本嗎=口="
可以的話..我想說盡量別動到...
(別的腳本也是在用這個分類..)



另外就是~選單可以換成自己的圖片嗎?
可以的話~要怎麼做呢?
請大哥大姐們~幫忙=w=+

雖然嘗試有用下面這個腳本~嘗試了一下左邊選單變成圖片
但似乎不好用啊...(應該說不知道怎麼使用)

【改】自MOG菜單腳本
  1. #==============================================================================
  2. # MOG VX- Menu Yui 1.5
  3. #==============================================================================
  4. # By Moghunter
  5. # [url]http://www.atelier-rgss.com/[/url]
  6. #==============================================================================
  7. # Menu animado com layout em pictures.
  8. #==============================================================================
  9. #
  10. # Update
  11. # 2010/12/23 -> v1.5 - Novas animações e melhor codificação.
  12. #
  13. #==============================================================================
  14. # 1 - Crie uma pasta com o nome Graphics/Menus.
  15. # 2 - Nesta pasta devem conter os seguintes arquivos.
  16. #
  17. # Background.png
  18. # Menu_Actor_Parameter.png
  19. # Menu_Command.png
  20. # Menu_HPSP.png
  21. # Menu_Layout.png
  22. # Menu_Layout2.png
  23. # Menu_Select.png
  24. #
  25. # 3 - Será necessário ter a imagem Number_02.png na pasta Graphics/System.
  26. #
  27. #==============================================================================


  28. #==============================================================================
  29. # ■ Cache
  30. #==============================================================================
  31. module Cache
  32.   def self.menu(filename)
  33.     load_bitmap("Graphics/Menus/", filename)
  34.   end
  35. end

  36. #==============================================================================
  37. # ■ Window_Base
  38. #==============================================================================
  39. class Window_Base < Window  
  40.   #--------------------------------------------------------------------------
  41.   # ● draw_picture_number(x,y,value,file_name,align, space, frame_max ,frame_index)     
  42.   #--------------------------------------------------------------------------
  43.   # X - Posição na horizontal
  44.   # Y - Posição na vertical
  45.   # VALUE - Valor Numérico
  46.   # FILE_NAME - Nome do arquivo
  47.   # ALIGN - Centralizar 0 - Esquerda 1- Centro 2 - Direita  
  48.   # SPACE - Espaço entre os números.
  49.   # FRAME_MAX - Quantidade de quadros(Linhas) que a imagem vai ter.
  50.   # FRAME_INDEX - Definição do quadro a ser utilizado.
  51.   #--------------------------------------------------------------------------  
  52.   def draw_picture_number(x,y,value, file_name,align = 0, space = 0, frame_max = 1,frame_index = 0)     
  53.      
  54.     number_image = Cache.system(file_name)
  55.      frame_max = 1 if frame_max < 1
  56.      frame_index = frame_max -1 if frame_index > frame_max -1
  57.      align = 2 if align > 2
  58.      cw = number_image.width / 10
  59.      ch = number_image.height / frame_max
  60.      h = ch * frame_index
  61.      number = value.abs.to_s.split(//)
  62.      case align
  63.         when 0
  64.            plus_x = (-cw + space) * number.size
  65.         when 1
  66.            plus_x = (-cw + space) * number.size
  67.            plus_x /= 2
  68.         when 2  
  69.            plus_x = 0
  70.      end
  71.      for r in 0..number.size - 1      
  72.          number_abs = number[r].to_i
  73.          number_rect = Rect.new(cw * number_abs, h, cw, ch)
  74.          self.contents.blt(plus_x + x + ((cw - space) * r), y , number_image, number_rect)        
  75.       end      
  76.       number_image.dispose
  77.    end  
  78.   #--------------------------------------------------------------------------
  79.   # ● draw_menu_parameter
  80.   #--------------------------------------------------------------------------     
  81.   def draw_menu_parameter( x, y)
  82.       image = Cache.menu("Menu_Actor_Parameter")   
  83.       cw = image.width  
  84.       ch = image.height
  85.       src_rect = Rect.new(0, 0, cw, ch)   
  86.       self.contents.blt(x - (cw / 2), y - (ch / 2) - 25, image, src_rect)
  87.       image.dispose
  88.   end  
  89.   #--------------------------------------------------------------------------
  90.   # ● draw_meter
  91.   #--------------------------------------------------------------------------     
  92.   def draw_meter( x, y,name,value1,value2,frames_max,frame_index)
  93.       image = Cache.menu(name)   
  94.       cw = image.width * value1 / value2  
  95.       ch = image.height / frames_max
  96.       h = ch * frame_index
  97.       src_rect = Rect.new(0, h, cw, ch)   
  98.       self.contents.blt(x , y , image, src_rect)
  99.       image.dispose
  100.    end      
  101.    
  102.   #--------------------------------------------------------------------------
  103.   # ● draw_actor_state2
  104.   #--------------------------------------------------------------------------     
  105.   def draw_actor_state2(actor, x, y, width = 36)
  106.     count = 0
  107.     for state in actor.states
  108.       plus_x = (24 * actor.states.size / 2)
  109.       draw_icon(state.icon_index, x + 240 * count - plus_x, y)
  110.       count += 1
  111.       break if (24 * count > width - 24)
  112.     end
  113.   end      
  114. end
  115.   def draw_actor_graphic(actor, x, y)
  116.     draw_character(actor.character_name, actor.character_index, x, y)
  117.   end
  118. #==============================================================================
  119. # ■ Game_Map
  120. #==============================================================================
  121. class Game_Map
  122.   #--------------------------------------------------------------------------
  123.   # ● mpname
  124.   #--------------------------------------------------------------------------     
  125.   def mpname
  126.       $mpname = load_data("Data/MapInfos.rvdata")
  127.       $mpname[@map_id].name
  128.   end
  129. end

  130. #==============================================================================
  131. # ■ Window_Selectable_Menu
  132. #==============================================================================
  133. class Window_Selectable_Menu < Window_Base
  134.   attr_reader   :item_max              
  135.   attr_reader   :column_max            
  136.   attr_reader   :index   
  137.   #--------------------------------------------------------------------------
  138.   # ● initialize
  139.   #--------------------------------------------------------------------------      
  140.   def initialize(x, y, width, height, spacing = 32)
  141.     @item_max = 1
  142.     @column_max = 1
  143.     @index = -1
  144.     @spacing = spacing
  145.     super(x, y, width, height)
  146.   end
  147.   #--------------------------------------------------------------------------
  148.   # ● create_contents
  149.   #--------------------------------------------------------------------------         
  150.   def create_contents
  151.     self.contents.dispose
  152.     self.contents = Bitmap.new(width - 32, [height - 32, row_max * WLH].max)
  153.   end  
  154.   #--------------------------------------------------------------------------
  155.   # ● index
  156.   #--------------------------------------------------------------------------           
  157.   def index=(index)
  158.     @index = index
  159.   end
  160.   #--------------------------------------------------------------------------
  161.   # ● row_max
  162.   #--------------------------------------------------------------------------            
  163.   def row_max
  164.     return (@item_max + @column_max - 1) / @column_max
  165.   end
  166.   #--------------------------------------------------------------------------
  167.   # ● top_row
  168.   #--------------------------------------------------------------------------               
  169.   def top_row
  170.     return self.oy / WLH
  171.   end
  172.   #--------------------------------------------------------------------------
  173.   # ● top_row
  174.   #--------------------------------------------------------------------------                 
  175.   def top_row=(row)
  176.     row = 0 if row < 0
  177.     row = row_max - 1 if row > row_max - 1
  178.     self.oy = row * WLH
  179.   end
  180.   #--------------------------------------------------------------------------
  181.   # ● page_row_max
  182.   #--------------------------------------------------------------------------                  
  183.   def page_row_max
  184.     return (self.height - 32) / WLH
  185.   end
  186.   #--------------------------------------------------------------------------
  187.   # ● page_item_max
  188.   #--------------------------------------------------------------------------                     
  189.   def page_item_max
  190.     return page_row_max * @column_max
  191.   end
  192.   #--------------------------------------------------------------------------
  193.   # ● bottom_row
  194.   #--------------------------------------------------------------------------                       
  195.   def bottom_row
  196.     return top_row + page_row_max - 1
  197.   end
  198.   #--------------------------------------------------------------------------
  199.   # ● bottom_row=(row)
  200.   #--------------------------------------------------------------------------                       
  201.   def bottom_row=(row)
  202.     self.top_row = row - (page_row_max - 1)
  203.   end
  204.   #--------------------------------------------------------------------------
  205.   # ● cursor_movable?
  206.   #--------------------------------------------------------------------------   
  207.   def cursor_movable?
  208.     return false if (not visible or not active)
  209.     return false if (index < 0 or index > @item_max or @item_max == 0)
  210.     return false if (@opening or @closing)
  211.     return true
  212.   end
  213.   #--------------------------------------------------------------------------
  214.   # ● cursor_down
  215.   #--------------------------------------------------------------------------   
  216.   def cursor_down(wrap = false)
  217.     if (@index < @item_max - @column_max) or (wrap and @column_max == 1)
  218.       @index = (@index + @column_max) % @item_max
  219.     end
  220.   end
  221.   #--------------------------------------------------------------------------
  222.   # ● cursor_up
  223.   #--------------------------------------------------------------------------   
  224.   def cursor_up(wrap = false)
  225.     if (@index >= @column_max) or (wrap and @column_max == 1)
  226.       @index = (@index - @column_max + @item_max) % @item_max
  227.     end
  228.   end
  229.   #--------------------------------------------------------------------------
  230.   # ● cursor_right
  231.   #--------------------------------------------------------------------------   
  232.   def cursor_right(wrap = false)
  233.     if (@column_max >= 2) and
  234.        (@index < @item_max - 1 or (wrap and page_row_max == 1))
  235.       @index = (@index + 1) % @item_max
  236.     end
  237.   end
  238.   #--------------------------------------------------------------------------
  239.   # ● cursor_left
  240.   #--------------------------------------------------------------------------   
  241.   def cursor_left(wrap = false)
  242.     if (@column_max >= 2) and
  243.        (@index > 0 or (wrap and page_row_max == 1))
  244.       @index = (@index - 1 + @item_max) % @item_max
  245.     end
  246.   end
  247.   #--------------------------------------------------------------------------
  248.   # ● update
  249.   #--------------------------------------------------------------------------   
  250.   def update
  251.     super
  252.     if cursor_movable?
  253.       last_index = @index
  254.       if Input.repeat?(Input::DOWN)
  255.         cursor_down(Input.trigger?(Input::DOWN))
  256.       end
  257.       if Input.repeat?(Input::UP)
  258.         cursor_up(Input.trigger?(Input::UP))
  259.       end
  260.       if Input.repeat?(Input::RIGHT)
  261.         cursor_down(Input.trigger?(Input::DOWN))
  262.       end
  263.       if Input.repeat?(Input::LEFT)
  264.         cursor_up(Input.trigger?(Input::UP))
  265.       end

  266.       if @index != last_index
  267.         Sound.play_cursor
  268.       end
  269.     end
  270.   end
  271. end
  272. #==============================================================================
  273. # ■ Window_Mapname
  274. #==============================================================================
  275. class Window_Mapname < Window_Base
  276.   #--------------------------------------------------------------------------
  277.   # ● initialize
  278.   #--------------------------------------------------------------------------   
  279.   def initialize(x, y)
  280.     super(x, y, 160, WLH + 32)
  281.     self.opacity = 0
  282.     self.contents_opacity = 0
  283.     self.contents.font.bold = true
  284.     self.contents.font.size = 16   
  285.     refresh
  286.   end  
  287.   #--------------------------------------------------------------------------
  288.   # ● refresh
  289.   #--------------------------------------------------------------------------   
  290. def refresh
  291.     self.contents.clear
  292.     self.contents.font.color = normal_color
  293.     self.contents.draw_text(4, 0, 120, 32, $game_map.mpname.to_s, 1)
  294. end
  295. end
  296. #==============================================================================
  297. # ■ Window_Gold_Menu
  298. #==============================================================================
  299. class Window_Gold_Menu < Window_Base
  300.   #--------------------------------------------------------------------------
  301.   # ● initialize
  302.   #--------------------------------------------------------------------------   
  303.   def initialize(x, y)
  304.     super(x, y, 190, WLH + 32)
  305.     self.opacity = 0
  306.     self.contents_opacity = 0
  307.     refresh
  308.   end
  309.   #--------------------------------------------------------------------------
  310.   # ● refresh
  311.   #--------------------------------------------------------------------------   
  312.   def refresh
  313.     self.contents.clear
  314.     gold = $game_party.gold
  315.     draw_picture_number( 70, 0 ,gold, "Number_01",1,0,3,0)
  316.   end
  317. end
  318.   #--------------------------------------------------------------------------
  319.   # ● update
  320.   #--------------------------------------------------------------------------   
  321. # def update
  322. #   super
  323. #   if Graphics.frame_count / Graphics.frame_rate != @total_sec
  324. #     refresh
  325. #   end
  326. # end


  327. #==============================================================================
  328. # ■ Scene_Menu   
  329. #==============================================================================
  330. class Scene_Menu < Scene_Base
  331.   #--------------------------------------------------------------------------
  332.   # ● initialize
  333.   #--------------------------------------------------------------------------   
  334.   def initialize(menu_index = 0)
  335.     @menu_index = menu_index
  336.   end  
  337.   #--------------------------------------------------------------------------
  338.   # ● perform_transition
  339.   #--------------------------------------------------------------------------   
  340.   def perform_transition
  341.     Graphics.transition(10, "Graphics/System/BattleStart", 80)     
  342.   end
  343.   #--------------------------------------------------------------------------
  344.   # ● start
  345.   #--------------------------------------------------------------------------   
  346.   def start
  347.     super
  348.     create_command_window
  349.     create_layout
  350.     @start_slide = true
  351.     @gold_window = Window_Gold_Menu.new(185,-50)
  352.     @status_window = Window_MenuStatus.new(180,0)
  353.     @status_window.opacity =255
  354.    #@status_window = Window_MenuStatus_Yui.new(180, 60)
  355.     @mapname_window = Window_Mapname.new(195,460)
  356.   end

  357.   #--------------------------------------------------------------------------
  358.   # ● create_layout
  359.   #--------------------------------------------------------------------------     
  360.   def create_layout
  361.     @pre_index = @command_window.index
  362.     @menu_back = Plane.new   
  363.     @menu_back.bitmap = Cache.menu("Background")   
  364.     @menu_layout = Sprite.new  
  365.     @menu_layout.bitmap = Cache.menu("Menu_Layout")  
  366.     @menu_layout.oy = 100
  367.     @menu_layout.opacity = 244      
  368.     @menu_layout2 = Sprite.new  
  369.     @menu_layout2.bitmap = Cache.menu("Menu_Layout2")   
  370.     @menu_layout2.y = 404
  371.     @menu_layout2.opacity = 0   
  372.     @menu_select = Sprite.new  
  373.     @menu_select.bitmap = Cache.menu("Menu_Select")
  374.     @menu_select.visible = false
  375.     @select_blink_time = 0   
  376.     @menu_image = Cache.menu("Menu_Command")
  377.     @menu_bitmap = Bitmap.new(@menu_image.width,@menu_image.height)
  378.     @menu_width = @menu_image.width / 6
  379.     @menu_height = @menu_image.height   
  380.     @menu_src_rect = Rect.new(@menu_width * @menu_index, 0, @menu_width, @menu_height)
  381.     @menu_bitmap.blt(0,0, @menu_image, @menu_src_rect)     
  382.     @menu_com = Sprite.new  
  383.     @menu_com.bitmap = @menu_bitmap
  384.     @menu_com.y = 105
  385.     @menu_com.x = -100
  386.     @menu_com.opacity = 0
  387.   end  
  388.   #--------------------------------------------------------------------------
  389.   # ● pre_terminate
  390.   #--------------------------------------------------------------------------   
  391.   def pre_terminate
  392.     for i in 0..15
  393.         @menu_back.ox += 0
  394.         @status_window.x += 0
  395. #        @status_window.contents_opacity -= 15  
  396.         @menu_select.x += 0
  397.         @menu_select.opacity -= 0
  398.         @menu_com.x -= 0
  399.         @menu_com.opacity -= 0      
  400.         @menu_layout.oy += 0
  401.         @menu_layout.opacity -= 0   
  402.         @menu_layout2.y += 0
  403.         @menu_layout2.opacity -= 0  
  404.         @gold_window.y -= 7
  405.         @gold_window.contents_opacity -= 15   


  406.         @mapname_window.y += 7
  407.         @mapname_window.contents_opacity -= 15
  408.         Graphics.update
  409.     end
  410.     super
  411.   end  
  412.   #--------------------------------------------------------------------------
  413.   # ● terminate
  414.   #--------------------------------------------------------------------------   
  415.   def terminate
  416.       @menu_back.bitmap.dispose
  417.       @menu_back.dispose
  418.       @menu_layout.bitmap.dispose
  419.       @menu_layout.dispose
  420.       @menu_layout2.bitmap.dispose
  421.       @menu_layout2.dispose   
  422.       @menu_bitmap.dispose
  423.       @menu_com.bitmap.dispose
  424.       @menu_com.dispose
  425.       @menu_select.bitmap.dispose
  426.       @menu_select.dispose
  427.       @command_window.dispose
  428.       @gold_window.dispose
  429.       @status_window.dispose

  430.       @mapname_window.dispose
  431.       super
  432.   end
  433.   #--------------------------------------------------------------------------
  434.   # ● update
  435.   #--------------------------------------------------------------------------   
  436.   def update
  437.       super
  438.       update_slide
  439.       @command_window.update
  440.       @gold_window.update
  441.       @status_window.update
  442.       @mapname_window.update
  443.       refresh_command_image
  444.       update_select
  445.       if @command_window.active
  446.           update_command_selection
  447.       elsif @status_window.active
  448.           update_actor_selection
  449.       end
  450.    end
  451.   
  452.   #--------------------------------------------------------------------------
  453.   # ● update_slide
  454.   #--------------------------------------------------------------------------   
  455.   def update_slide
  456.     @menu_back.ox += 60
  457.     if @start_slide == false
  458.         if @status_window.active
  459.            @menu_com.opacity -= 0 if  @menu_com.opacity > 150
  460.            @menu_com.x -= 0 if @menu_com.x > -100
  461. #           @status_window.x -= 5 if @status_window.x > 50
  462.         else  
  463.            @menu_com.opacity += 0
  464.            @menu_com.x += 0 if @menu_com.x < 0
  465. #           @status_window.x += 5 if @status_window.x < 80   
  466.          end
  467.     else
  468.      if @menu_layout.oy > 0
  469. #        @status_window.x -= 7
  470. #        @status_window.contents_opacity += 10      
  471.         @menu_com.x += 0
  472.         @menu_com.opacity += 0   
  473.         @menu_layout.oy -= 70
  474.         @menu_layout.opacity += 10   
  475.         @menu_layout2.y -= 70
  476.         @menu_layout2.opacity += 10  
  477.         @gold_window.y += 70
  478.         @gold_window.contents_opacity += 10   

  479.         @mapname_window.y -= 70
  480.         @mapname_window.contents_opacity += 10        
  481.       else
  482. #        @status_window.x =
  483. #        @status_window.contents_opacity = 255        
  484.         @menu_com.x = 0
  485.         @menu_com.opacity = 255        
  486.         @menu_layout.oy = 0
  487.         @menu_layout.opacity = 255        
  488.         @menu_layout2.y = 304
  489.         @menu_layout2.opacity = 255
  490.         @gold_window.y = 0
  491.         @gold_window.contents_opacity = 255

  492.         @mapname_window.y = 360
  493.         @mapname_window.contents_opacity = 255   
  494.         @start_slide = false
  495.       end
  496.    end   
  497.   end  
  498.   #--------------------------------------------------------------------------
  499.   # ● update_select
  500.   #--------------------------------------------------------------------------   
  501.   def update_select
  502.     if @status_window.active
  503.        update_select_blink
  504.        @menu_select.visible = true
  505.        @menu_select.opacity += 15
  506.        case @status_window.index
  507.           when 0
  508.             sel = [184,155]
  509.           when 1
  510.             sel = [164,255]
  511.           when 2
  512.             sel = [264,155]
  513.           else
  514.             sel = [364,255]
  515.         end
  516.        @menu_select.x = sel[0]
  517.        @menu_select.y = sel[1]
  518.     else
  519.       @menu_select.visible = false
  520.       @menu_select.opacity = 0
  521.       @select_blink_time = 0
  522.     end
  523.   end
  524.   
  525.   #--------------------------------------------------------------------------
  526.   # ● update_select_blink
  527.   #--------------------------------------------------------------------------   
  528.   def update_select_blink
  529.       @select_blink_time -= 3
  530.       case @select_blink_time
  531.          when 1..100
  532.              @menu_select.zoom_y += 0.01
  533.          when 101..200  
  534.              @menu_select.zoom_y -= 0.01
  535.          else         
  536.              @select_blink_time = 200
  537.              @menu_select.zoom_y = 1.00
  538.       end      
  539.      end  
  540.   #--------------------------------------------------------------------------
  541.   # ● refresh_command_image
  542.   #--------------------------------------------------------------------------   
  543.   def refresh_command_image  
  544.     return if @pre_index == @command_window.index
  545.         @pre_index = @command_window
  546.         @menu_com.bitmap.clear   
  547.         @menu_src_rect = Rect.new(@menu_width * @command_window.index, 0, @menu_width, @menu_height)
  548.         @menu_bitmap.blt(0,0, @menu_image, @menu_src_rect)     
  549.   end  
  550.   #--------------------------------------------------------------------------
  551.   # ● create_command_window
  552.   #--------------------------------------------------------------------------   
  553.   def create_command_window
  554.     s1 = Vocab::item
  555.     s2 = Vocab::skill
  556.     s3 = Vocab::equip
  557.     s4 = Vocab::status
  558.     s5 = Vocab::save
  559.     s6 = Vocab::game_end
  560.     @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6])
  561.     @command_window.index = @menu_index
  562.     @command_window.openness = 0
  563.     @command_window.open
  564.     @command_window.opacity = 0
  565.     @command_window.contents_opacity = 0
  566.     if $game_system.save_disabled              
  567.       @command_window.draw_item(4, false)     
  568.     end
  569.   end
  570.   #--------------------------------------------------------------------------
  571.   # ● update_command_selection   
  572.   #--------------------------------------------------------------------------   
  573.   def update_command_selection   
  574.     if Input.trigger?(Input::B)
  575.       Sound.play_cancel
  576.       $scene = Scene_Map.new
  577.     elsif Input.trigger?(Input::C)
  578.       if $game_party.members.size == 0 and @command_window.index < 4
  579.         Sound.play_buzzer
  580.         return
  581.       elsif $game_system.save_disabled and @command_window.index == 4
  582.         Sound.play_buzzer
  583.         return
  584.       end
  585.       Sound.play_decision
  586.       case @command_window.index
  587.       when 0      
  588.         $scene = Scene_Item.new
  589.       when 1,2,3   
  590.         start_actor_selection
  591.       when 4      
  592.         $scene = Scene_File.new(true, false, false)
  593.       when 5     
  594.         $scene = Scene_End.new
  595.       end
  596.     end
  597.   end
  598.   #--------------------------------------------------------------------------
  599.   # ● start_actor_selection
  600.   #--------------------------------------------------------------------------   
  601.   def start_actor_selection
  602.     @command_window.active = false
  603.     @status_window.active = true
  604.     if $game_party.last_actor_index < @status_window.item_max
  605.       @status_window.index = $game_party.last_actor_index
  606.     else
  607.       @status_window.index = 0
  608.     end
  609.   end
  610.   #--------------------------------------------------------------------------
  611.   # ● end_actor_selection
  612.   #--------------------------------------------------------------------------   
  613.   def end_actor_selection
  614.     @command_window.active = true
  615.     @status_window.active = false
  616.     @status_window.index = -1
  617.   end
  618.   #--------------------------------------------------------------------------
  619.   # ● update_actor_selection   
  620.   #--------------------------------------------------------------------------   
  621.   def update_actor_selection   
  622.     if Input.trigger?(Input::B)
  623.       Sound.play_cancel
  624.       end_actor_selection
  625.     elsif Input.trigger?(Input::C)
  626.       $game_party.last_actor_index = @status_window.index
  627.       Sound.play_decision
  628.       case @command_window.index
  629.       when 1
  630.         $scene = Scene_Skill.new(@status_window.index)
  631.       when 2   
  632.         $scene = Scene_Equip.new(@status_window.index)
  633.       when 3  
  634.         $scene = Scene_Status.new(@status_window.index)
  635.       end
  636.     end
  637.   end
  638. end

  639. $mog_rgssvx_menu_yui = false#true
复制代码

Lv1.梦旅人

梦石
0
星屑
50
在线时间
237 小时
注册时间
2011-7-28
帖子
81
2
发表于 2012-4-23 13:18:45 | 只看该作者
用rect显示部分图片,调整一下图片坐标
看看网络,数不清的信息扑面而来,你知道了什么是冗余;看看每一天的生活,日复一日,许多的无奈,你理解了什么是缺陷;生命里充满了不可预知,明天将发生什么,谁也不知道,这就是动态。 ...
回复

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
60
在线时间
326 小时
注册时间
2010-5-4
帖子
173
3
 楼主| 发表于 2012-4-23 18:00:49 | 只看该作者
rainfly 发表于 2012-4-23 13:18
用rect显示部分图片,调整一下图片坐标

能不能顯示些腳本看看呢=口=”
因為我不太會用呢...弄出來也沒效果Orz
回复

使用道具 举报

Lv4.逐梦者

醉啸 长风万里

梦石
0
星屑
6137
在线时间
6591 小时
注册时间
2007-12-16
帖子
4501

贵宾

4
发表于 2012-4-23 19:37:07 | 只看该作者

还在龟速填坑中
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册会员

本版积分规则

拿上你的纸笔,建造一个属于你的梦想世界,加入吧。
 注册会员
找回密码

站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作

GMT+8, 2024-9-26 02:18

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表