| 赞 | 0  | 
 
| VIP | 0 | 
 
| 好人卡 | 0 | 
 
| 积分 | 1 | 
 
| 经验 | 8021 | 
 
| 最后登录 | 2016-9-13 | 
 
| 在线时间 | 521 小时 | 
 
 
 
 
 
Lv1.梦旅人 
	- 梦石
 - 0 
 
        - 星屑
 - 50 
 
        - 在线时间
 - 521 小时
 
        - 注册时间
 - 2011-12-7
 
        - 帖子
 - 305
 
 
 
 | 
	
 本帖最后由 Ceopal 于 2012-10-6 15:03 编辑  
 
楼主只会做菜单的滑行出现部分,不会做菜单的滑行消失部分 
 
个人需求:按下“物品”指令,默认三个窗以出现行式相反的行式退出,然后再 让SceneManager  call 出物品界面 
 
求贴 思路or代码or工程 
 
 
待完善工程在此 ( 工程好像还要审核后才可以下载……) 
 
 http://dl.vmall.com/c07fujegq4 
 
============================================ 
 
ps: 都审核了10个小时了,还没审核好…… {:2_270:}  
 
请 新建工程  插入下列代码:- #encoding:utf-8
 
 - #==============================================================================
 
 - # ■ Window_MenuCommand
 
 - #------------------------------------------------------------------------------
 
 - #  菜单画面中显示指令的窗口
 
 - #==============================================================================
 
  
- class Window_MenuCommand < Window_Command
 
 -   #--------------------------------------------------------------------------
 
 -   # ◆◆ 初始化对象
 
 -   #--------------------------------------------------------------------------
 
 -   def initialize
 
 - #~     super(0,0)
 
 -     super(-160,0)
 
 -     select_last
 
 -   end
 
 -   #--------------------------------------------------------------------------
 
 -   # ◆◆ 更新
 
 -   #--------------------------------------------------------------------------
 
 -   def update
 
 -     super
 
 -     self.x += 8 unless self.x == 0
 
 -   end
 
 - end
 
  
- #encoding:utf-8
 
 - #==============================================================================
 
 - # ■ Window_MenuStatus
 
 - #------------------------------------------------------------------------------
 
 - #  菜单画面中,显示队伍成员状态的窗口
 
 - #==============================================================================
 
  
- class Window_MenuStatus < Window_Selectable
 
 -   
 
 -   #--------------------------------------------------------------------------
 
 -   # ◆◆ 初始化对象
 
 -   #--------------------------------------------------------------------------
 
 -   def initialize(x, y)
 
 - #~     super(x, y, window_width, window_height)
 
 -     super(640, y, window_width, window_height)
 
 -     @pending_index = -1
 
 -     refresh
 
 -   end
 
 -   #--------------------------------------------------------------------------
 
 -   # ◆◆ 更新
 
 -   #--------------------------------------------------------------------------
 
 -   def update
 
 -     super
 
 -     self.x -= 20 unless self.x == 160
 
 -   end
 
 - end
 
  
- #encoding:utf-8
 
 - #==============================================================================
 
 - # ■ Scene_Menu
 
 - #------------------------------------------------------------------------------
 
 - #  菜单画面
 
 - #==============================================================================
 
  
- class Scene_Menu < Scene_MenuBase
 
 -   #--------------------------------------------------------------------------
 
 -   # ◆◆ 生成金钱窗口
 
 -   #--------------------------------------------------------------------------
 
 -   def create_gold_window
 
 -     @gold_window = Window_Gold.new
 
 -     @gold_window.x = 0
 
 - #~     @gold_window.y = Graphics.height - @gold_window.height
 
 -     @gold_window.y = Graphics.height
 
 -   end
 
 -   #--------------------------------------------------------------------------
 
 -   # ◆◆ 更新
 
 -   #--------------------------------------------------------------------------
 
 -   def update
 
 -     super
 
 -     @gold_window.y -= 2 unless @gold_window.y == Graphics.height - @gold_window.height
 
 -   end
 
 - end
 
 
  复制代码 |   
 
 
 
 |