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

Project1

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

[转载] 【VA】环形菜单

[复制链接]

Lv5.捕梦者

梦石
0
星屑
27113
在线时间
1535 小时
注册时间
2006-1-10
帖子
2063

开拓者第一届地图绘制大赛RTP组第四名

跳转到指定楼层
1
发表于 2012-7-12 00:07:14 | 只看该作者 |只看大图 回帖奖励 |倒序浏览 |阅读模式

加入我们,或者,欢迎回来。

您需要 登录 才可以下载或查看,没有帐号?注册会员

x
转载  Syvkal's Ring Menu VXAce

来源:http://www.rpgmakervxace.net/topic/1836-ring-menu-vxace/

说明

把图标放在下材料科
必须包括在“Pictures”文件夹菜单图标(48×48)。 或使用这些:


  1. #==============================================================================
  2. # ** Ring Menu
  3. #------------------------------------------------------------------------------
  4. #  by Syvkal
  5. #  Version 1.2
  6. #  03-04-12
  7. #------------------------------------------------------------------------------
  8. # * Original available at:
  9. #  www.rpgmakervxace.net  &  forums.rpgmakerweb.com
  10. #  Please do not redistribute this script
  11. #------------------------------------------------------------------------------
  12. # * Terms of Use
  13. #  Available for use in commercial games provided that I get a free copy :P
  14. #  Email me: [email protected]
  15. #  Please do not redistribute this script
  16. #==============================================================================
  17. #
  18. #  - INTRODUCTION -
  19. #
  20. #  This system implements a Plug 'N' Play Ring Menu
  21. #  Movement based off XRXS, Dubealex & Hypershadow180's original XP Ring Menu,
  22. #  which was devised through some simple, but clever trigonometry
  23. #
  24. #------------------------------------------------------------------------------
  25. #
  26. #  - USAGE -
  27. #
  28. #  Any additional scenes that are added to the menu require an icon
  29. #  Place them in the pictures folder, they are advised to be 48x48 pixels
  30. #
  31. #  The name of the icons must be of the form:
  32. #    [Command Name] Icon
  33. #
  34. #  For example 'Items Icon.png' or 'Equipment Icon.png'
  35. #
  36. #  If you are unsure what it needs to be called, wait for the error message,
  37. #  then call it the name of the file it can not find
  38. #
  39. #------------------------------------------------------------------------------
  40. #
  41. #  - COMPATIBILITY -
  42. #
  43. #  Additional scenes should be automatically added assuming thier creators
  44. #  utilise the 'add_original_commands' feature in Window_MenuCommand
  45. #
  46. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  47. #
  48. #  This script redefines the following methods:
  49. #  * create_status_window             (Scene_Menu)
  50. #  * on_formation_ok                  (Scene_Menu)
  51. #  * on_formation_cancel              (Scene_Menu)
  52. #  * draw_character                   (Window_Base)
  53. #
  54. # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  55. #
  56. #  This script Aliases the following methods:
  57. #  * add_save_command                 (Window_MenuCommand)
  58. #  * start                            (Scene_Menu)
  59. #  * create_command_window            (Scene_Menu)
  60. #  * command_personal                 (Scene_Menu)
  61. #  * command_formation                (Scene_Menu)
  62. #  * on_personal_cancel               (Scene_Menu)
  63. #
  64. #==============================================================================

  65.             #===================================================#
  66.             #  **  C O N F I G U R A T I O N   S Y S T E M  **  #
  67.             #===================================================#
  68.   
  69.   #--------------------------------------------------------------------------
  70.   # * Startup Frames
  71.   # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  72.   #  Amount of frames for the Startup Animation
  73.   #--------------------------------------------------------------------------
  74.     STARTUP_FRAMES = 20
  75.   #--------------------------------------------------------------------------
  76.   # * Movement Frames
  77.   # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  78.   #  Amount of frames for Movement Animation
  79.   #--------------------------------------------------------------------------
  80.     MOVING_FRAMES = 15
  81.   #--------------------------------------------------------------------------
  82.   # * Menu Ring Radius
  83.   # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  84.   #  Radius of the Menu Ring
  85.   #--------------------------------------------------------------------------
  86.     RING_R = 75
  87.   #--------------------------------------------------------------------------
  88.   # * Show Disabled Options
  89.   # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  90.   #  Set to false to exclude disabled options for the menu
  91.   #--------------------------------------------------------------------------
  92.     DISABLED_SHOW = false
  93.   #--------------------------------------------------------------------------
  94.   # * Disabled Icon
  95.   # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  96.   #  The icon displayed over disabled options
  97.   #  (only used when DISABLED_SHOW =  true)
  98.   #--------------------------------------------------------------------------
  99.     ICON_DISABLE = Cache::picture('Disable Icon')
  100.   #--------------------------------------------------------------------------
  101.   # * Skip Single Actor Select
  102.   # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  103.   #  Set to true to skip the actor selection if there's only one party member
  104.   #--------------------------------------------------------------------------
  105.     ACTOR_SKIP = true
  106.   #--------------------------------------------------------------------------
  107.   # * Load Command Vocab
  108.   # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  109.   #  Text displayed for the loading option
  110.   #--------------------------------------------------------------------------
  111.     Vocab::Load = "Load"
  112.       
  113.             #===================================================#
  114.             #  **     E N D   C O N F I G U R A T I O N     **  #
  115.             #===================================================#

  116. #==============================================================================
  117. # ** Ring_Menu Module
  118. #------------------------------------------------------------------------------
  119. #  Module designed to rewrite methods defined in the desired Superclass.
  120. #==============================================================================

  121. module Ring_Menu
  122.   #--------------------------------------------------------------------------
  123.   # * Object Initialization
  124.   #--------------------------------------------------------------------------
  125.   def initialize(*args)
  126.     super(*args)
  127.     @cx = contents.width / 2; @cy = contents.height / 2
  128.     self.opacity = 0
  129.     @startup = STARTUP_FRAMES
  130.     @icons = []
  131.     @mode = :start
  132.     @steps = @startup
  133.   end
  134.   #--------------------------------------------------------------------------
  135.   # * Update Cursor
  136.   #--------------------------------------------------------------------------
  137.   def update_cursor
  138.   end
  139.   #--------------------------------------------------------------------------
  140.   # * Determines if is moving
  141.   #--------------------------------------------------------------------------
  142.   def animation?
  143.     return @mode != :wait
  144.   end
  145.   #--------------------------------------------------------------------------
  146.   # * Move Cursor Down
  147.   #--------------------------------------------------------------------------
  148.   def cursor_down(wrap)
  149.     cursor_right(wrap)
  150.   end
  151.   #--------------------------------------------------------------------------
  152.   # * Move Cursor Up
  153.   #--------------------------------------------------------------------------
  154.   def cursor_up(wrap)
  155.     cursor_left(wrap)
  156.   end
  157.   #--------------------------------------------------------------------------
  158.   # * Move Cursor Right
  159.   #--------------------------------------------------------------------------
  160.   def cursor_right(wrap)
  161.     unless animation?
  162.       select((index + 1) % item_max)
  163.       @mode = :mover
  164.       @steps = MOVING_FRAMES
  165.       Sound.play_cursor
  166.     end
  167.   end
  168.   #--------------------------------------------------------------------------
  169.   # * Move Cursor Left
  170.   #--------------------------------------------------------------------------
  171.   def cursor_left(wrap)
  172.     unless animation?
  173.       select((index - 1 + item_max) % item_max)
  174.       @mode = :movel
  175.       @steps = MOVING_FRAMES
  176.       Sound.play_cursor
  177.     end
  178.   end
  179.   #--------------------------------------------------------------------------
  180.   # * Frame Update
  181.   #--------------------------------------------------------------------------
  182.   def update
  183.     super
  184.     refresh if animation?
  185.   end
  186.   #--------------------------------------------------------------------------
  187.   # * Refresh
  188.   #--------------------------------------------------------------------------
  189.   def refresh   
  190.     self.contents.clear
  191.     case @mode
  192.     when :start
  193.       refresh_start
  194.     when :wait
  195.       refresh_wait
  196.     when :mover
  197.       refresh_move(1)
  198.     when :movel
  199.       refresh_move(0)
  200.     end
  201.   end
  202.   #--------------------------------------------------------------------------
  203.   # * Refresh Start Period
  204.   #--------------------------------------------------------------------------
  205.   def refresh_start
  206.     d1 = 2.0 * Math::PI / item_max
  207.     d2 = 1.0 * Math::PI / @startup
  208.     r = RING_R - 1.0 * RING_R * @steps / @startup
  209.     for i in 0...item_max
  210.       d = d1 * i + d2 * @steps
  211.       x = @cx + ( r * Math.sin( d ) ).to_i
  212.       y = @cy - ( r * Math.cos( d ) ).to_i
  213.       draw_item(x, y, i)
  214.     end
  215.     @steps -= 1
  216.     if @steps < 0
  217.       @mode = :wait
  218.     end
  219.   end
  220.   #--------------------------------------------------------------------------
  221.   # * Refresh Wait Period
  222.   #--------------------------------------------------------------------------
  223.   def refresh_wait
  224.     d = 2.0 * Math::PI / item_max
  225.     for i in 0...item_max
  226.       j = i - index
  227.       x = @cx + ( RING_R * Math.sin( d * j) ).to_i
  228.       y = @cy - ( RING_R * Math.cos( d * j) ).to_i
  229.       draw_item(x, y, i)
  230.     end
  231.   end
  232.   #--------------------------------------------------------------------------
  233.   # * Refresh Movement Period
  234.   #--------------------------------------------------------------------------
  235.   def refresh_move( mode )
  236.     d1 = 2.0 * Math::PI / item_max
  237.     d2 = d1 / MOVING_FRAMES
  238.     d2 *= -1 unless mode != 0
  239.     for i in 0...item_max
  240.       j = i - index
  241.       d = d1 * j + d2 * @steps
  242.       x = @cx + ( RING_R * Math.sin( d ) ).to_i
  243.       y = @cy - ( RING_R * Math.cos( d ) ).to_i
  244.       draw_item(x, y, i)
  245.     end
  246.     @steps -= 1
  247.     if @steps < 0
  248.       @mode = :wait
  249.     end
  250.   end
  251. end

  252. #==============================================================================
  253. # ** Window_MenuCommand
  254. #------------------------------------------------------------------------------
  255. #  Converted into a Ring Menu.
  256. #==============================================================================

  257. class Window_MenuCommand < Window_Command
  258.   #--------------------------------------------------------------------------
  259.   # * Includes The Ring_Menu Module
  260.   #--------------------------------------------------------------------------  
  261.   include Ring_Menu
  262.   #--------------------------------------------------------------------------
  263.   # * Alias Listings
  264.   #--------------------------------------------------------------------------  
  265.   alias add_save_command_ring_menu_original add_save_command
  266.   #--------------------------------------------------------------------------
  267.   # * Object Initialization
  268.   #--------------------------------------------------------------------------
  269.   def initialize
  270.     super(0, 0)
  271.     unless DISABLED_SHOW
  272.       @list.delete_if {|i| !i[:enabled]}
  273.     end
  274.     for i in 0...item_max
  275.       @icons.push(Cache::picture(command_name(i) + ' Icon'))
  276.     end
  277.     if @@last_command_symbol != nil
  278.       index = @list.index(@@last_command_symbol)
  279.       @mode = :wait
  280.     end
  281.     select_last
  282.     refresh
  283.   end
  284.   #--------------------------------------------------------------------------
  285.   # * Refresh
  286.   #--------------------------------------------------------------------------
  287.   def refresh
  288.     super
  289.     rect = Rect.new(0, 196, self.contents.width, line_height)
  290.     draw_text(rect, command_name(index), 1)
  291.   end
  292.   #--------------------------------------------------------------------------
  293.   # * Get Window Width
  294.   #--------------------------------------------------------------------------
  295.   def window_width
  296.     return 544
  297.   end
  298.   #--------------------------------------------------------------------------
  299.   # * Get Window Height
  300.   #--------------------------------------------------------------------------
  301.   def window_height
  302.     return 416
  303.   end  
  304.   #--------------------------------------------------------------------------
  305.   # * Add Load to Command List
  306.   #--------------------------------------------------------------------------
  307.   def add_save_command
  308.     add_save_command_ring_menu_original
  309.     add_command(Vocab::Load, :load)
  310.   end
  311.   #--------------------------------------------------------------------------
  312.   # * Draw Item
  313.   #     x     : draw spot x-coordinate
  314.   #     y     : draw spot y-coordinate
  315.   #     i     : item number
  316.   #--------------------------------------------------------------------------
  317.   def draw_item(x, y, i)
  318.     rect = Rect.new(0, 0, @icons[i].width, @icons[i].height)
  319.     if i == index
  320.       self.contents.blt(x - rect.width/2, y - rect.height/2, @icons[i], rect )
  321.       unless command_enabled?(index)
  322.         self.contents.blt(x - rect.width/2, y - rect.height/2, ICON_DISABLE, rect )
  323.       end
  324.     else
  325.       self.contents.blt(x - rect.width/2, y - rect.height/2, @icons[i], rect, 128 )
  326.     end
  327.   end
  328. end

  329. #==============================================================================
  330. # ** Window_RingStatus
  331. #------------------------------------------------------------------------------
  332. #  Ring Menu for selection of Party Members
  333. #==============================================================================

  334. class Window_RingStatus < Window_Selectable
  335.   #--------------------------------------------------------------------------
  336.   # * Includes The Ring_Menu Module
  337.   #--------------------------------------------------------------------------  
  338.   include Ring_Menu
  339.   #--------------------------------------------------------------------------
  340.   # * Public Instance Variables
  341.   #--------------------------------------------------------------------------
  342.   attr_accessor   :pending_index            # Pending position (for formation)
  343.   attr_accessor   :pending                  # Pending
  344.   #--------------------------------------------------------------------------
  345.   # * Object Initialization
  346.   #--------------------------------------------------------------------------
  347.   def initialize
  348.     super(0, 0, 544, 416)
  349.     self.hide
  350.     @mode = :wait
  351.     @pending_index = -1
  352.     @pending = false
  353.     refresh
  354.   end
  355.   #--------------------------------------------------------------------------
  356.   # * Refresh
  357.   #--------------------------------------------------------------------------
  358.   def refresh   
  359.     super
  360.     rect = Rect.new(0, 196, self.contents.width, line_height)
  361.     draw_text(rect, $game_party.members[index].name, 1)
  362.   end
  363.   #--------------------------------------------------------------------------
  364.   # * Get Number of Items
  365.   #--------------------------------------------------------------------------
  366.   def item_max
  367.     $game_party.members.size
  368.   end
  369.   #--------------------------------------------------------------------------
  370.   # * Refresh Movement Period
  371.   #--------------------------------------------------------------------------
  372.   def refresh_move( mode )
  373.     unless pending_index >= 0
  374.       super
  375.     else
  376.       d = 2.0 * Math::PI / item_max
  377.       for i in 0...item_max
  378.         j = i - pending_index
  379.         x = @cx + ( RING_R * Math.sin( d * j) ).to_i
  380.         y = @cy - ( RING_R * Math.cos( d * j) ).to_i
  381.         draw_item(x, y, i)
  382.       end
  383.       @mode = :wait
  384.     end
  385.   end
  386.   #--------------------------------------------------------------------------
  387.   # * Draw Item
  388.   #     x     : draw spot x-coordinate
  389.   #     y     : draw spot y-coordinate
  390.   #     index : item number
  391.   #--------------------------------------------------------------------------
  392.   def draw_item(x, y, i)
  393.     if i == index && !(@pending && @pending_index < 0)
  394.       draw_character($game_party.members[i].character_name,
  395.       $game_party.members[i].character_index , x, y, true, true)
  396.     else
  397.       draw_character($game_party.members[i].character_name,
  398.       $game_party.members[i].character_index , x, y, false, true)
  399.     end
  400.   end
  401.   #--------------------------------------------------------------------------
  402.   # * Processing When OK Button Is Pressed
  403.   #--------------------------------------------------------------------------
  404.   def process_ok
  405.     super
  406.     $game_party.menu_actor = $game_party.members[index] unless pending
  407.   end
  408.   #--------------------------------------------------------------------------
  409.   # * Restore Previous Selection Position
  410.   #--------------------------------------------------------------------------
  411.   def select_last
  412.     select($game_party.members.index($game_party.menu_actor) || 0)
  413.     refresh
  414.   end
  415. end

  416. #==============================================================================
  417. # ** Scene_Menu
  418. #==============================================================================

  419. class Scene_Menu < Scene_MenuBase
  420.   #--------------------------------------------------------------------------
  421.   # * Alias Listings
  422.   #--------------------------------------------------------------------------  
  423.   alias start_ring_original start
  424.   alias create_command_window_ring_menu_original create_command_window
  425.   alias command_personal_ring_original command_personal
  426.   alias command_formation_ring_original command_formation
  427.   alias on_personal_cancel_ring_original on_personal_cancel
  428.   #--------------------------------------------------------------------------
  429.   # * Start Processing
  430.   #--------------------------------------------------------------------------
  431.   def start
  432.     start_ring_original
  433.     create_location_window
  434.   end
  435.   #--------------------------------------------------------------------------
  436.   # * Create Location Window
  437.   #--------------------------------------------------------------------------
  438.   def create_location_window
  439.     @location_window = Window_location.new(0, 0)
  440.   end
  441.   #--------------------------------------------------------------------------
  442.   # * Create Command Window
  443.   #--------------------------------------------------------------------------
  444.   def create_command_window
  445.     create_command_window_ring_menu_original
  446.     @command_window.set_handler(:load,      method(:command_load))
  447.   end
  448.   #--------------------------------------------------------------------------
  449.   # * Create Status Window
  450.   #--------------------------------------------------------------------------
  451.   def create_status_window
  452.     @status_window = Window_RingStatus.new
  453.   end
  454.   #--------------------------------------------------------------------------
  455.   # * [Skill], [Equipment] and [Status] Commands
  456.   #--------------------------------------------------------------------------
  457.   def command_personal
  458.     if $game_party.members.size < 2 && ACTOR_SKIP
  459.       on_personal_ok
  460.     else
  461.       @command_window.hide
  462.       @status_window.show
  463.       command_personal_ring_original
  464.     end
  465.   end
  466.   #--------------------------------------------------------------------------
  467.   # * [Formation] Command
  468.   #--------------------------------------------------------------------------
  469.   def command_formation
  470.     @status_window.pending = true
  471.     @command_window.hide
  472.     command_formation_ring_original
  473.     @status_window.index = 0
  474.     @status_window.refresh
  475.     @status_window.show
  476.   end
  477.   #--------------------------------------------------------------------------
  478.   # * [Load] Command
  479.   #--------------------------------------------------------------------------
  480.   def command_load
  481.     SceneManager.call(Scene_Load)
  482.   end
  483.   #--------------------------------------------------------------------------
  484.   # * [Cancel] Personal Command
  485.   #--------------------------------------------------------------------------
  486.   def on_personal_cancel
  487.     @status_window.hide
  488.     on_personal_cancel_ring_original
  489.     @status_window.deactivate
  490.     @command_window.show
  491.   end
  492.   #--------------------------------------------------------------------------
  493.   # * Formation [OK]
  494.   #--------------------------------------------------------------------------
  495.   def on_formation_ok
  496.     if @status_window.pending_index >= 0
  497.       $game_party.swap_order(@status_window.index,
  498.                              @status_window.pending_index)
  499.       @status_window.index = @status_window.pending_index
  500.       @status_window.pending_index = -1
  501.     else
  502.       @status_window.pending_index = @status_window.index
  503.     end
  504.     @status_window.refresh
  505.     @status_window.activate
  506.   end
  507.   #--------------------------------------------------------------------------
  508.   # * Formation [Cancel]
  509.   #--------------------------------------------------------------------------
  510.   def on_formation_cancel
  511.     if @status_window.pending_index >= 0
  512.       @status_window.index = @status_window.pending_index
  513.       @status_window.pending_index = -1
  514.       @status_window.activate
  515.       @status_window.refresh
  516.     else
  517.       @status_window.pending = false
  518.       @status_window.hide
  519.       @status_window.select_last
  520.       @status_window.deactivate
  521.       @command_window.show
  522.       @command_window.activate
  523.     end
  524.   end
  525. end

  526. #==============================================================================
  527. # ** Window_Base
  528. #------------------------------------------------------------------------------
  529. #  Edited to allow disabled character icons and y centring
  530. #==============================================================================

  531. class Window_Base < Window
  532.   #--------------------------------------------------------------------------
  533.   # * Draw Character Graphic
  534.   #--------------------------------------------------------------------------
  535.   def draw_character(character_name, character_index, x, y, enabled = true, centred = false)
  536.     return if character_name == nil
  537.     bitmap = Cache.character(character_name)
  538.     sign = character_name[/^[\!\$]./]
  539.     if sign && sign.include?('$')
  540.       cw = bitmap.width / 3
  541.       ch = bitmap.height / 4
  542.     else
  543.       cw = bitmap.width / 12
  544.       ch = bitmap.height / 8
  545.     end
  546.     n = character_index
  547.     src_rect = Rect.new((n%4*3+1)*cw, (n/4*4)*ch, cw, ch)
  548.     self.contents.blt(x - cw / 2, centred ? y - ch/2 : y - ch, bitmap, src_rect,
  549.     enabled ? 255 : 128)
  550.   end
  551. end

  552. #==============================================================================
  553. # ** Window_Location
  554. #------------------------------------------------------------------------------
  555. #  This class shows the current map name.
  556. #==============================================================================

  557. class Window_location < Window_Base
  558.   #--------------------------------------------------------------------------
  559.   # * Object Initialization
  560.   #--------------------------------------------------------------------------
  561.   def initialize(x, y)
  562.     super(x, y, 160, (line_height*2) + 32)
  563.     refresh
  564.   end
  565.   #--------------------------------------------------------------------------
  566.   # * Refresh
  567.   #--------------------------------------------------------------------------
  568.   def refresh
  569.     contents.clear
  570.     @map = load_data(sprintf("Data/Map%03d.rvdata2", $game_map.map_id))
  571.     change_color(system_color)
  572.     draw_text(4, 0, 128, line_height, "Location :")
  573.     change_color(normal_color)
  574.     draw_text(0, line_height, 128, line_height, @map.display_name, 1)
  575.   end
  576. end
复制代码
Introduction

Recreating my Ring Menu for VXAce ^-^

Terms of Use

Please read the Script Header

Features
Main Menu Ring Menu
Actor Selection Ring Menu
Option to exclude disabled options (I don't like my Disable Icon any more )
Option to skip Actor Selection when there is only one member in the party
Screenshots

Compatibility

Additional scenes should be automatically added assuming thier creators utilise the 'add_original_commands' feature in Window_MenuCommand

This script redefines the following methods:
create_status_window         (Scene_Menu)
on_formation_ok         (Scene_Menu)
on_formation_cancel         (Scene_Menu)
draw_character         (Window_Base)
This script Aliases the following methods:
add_save_command (Window_MenuCommand)
start (Scene_Menu)
create_command_window         (Scene_Menu)
command_personal         (Scene_Menu)
command_formation         (Scene_Menu)
on_personal_cancel         (Scene_Menu)
Author's Notes

Pretty much made from scratch again for VXAce. I wanted to remake the animation coding so it was entirely mine, but I realised XRXS, Dubealex & Hypershadow180's original was near flawless so I kept it xD
It's still a little messy and I may clean it up later, but there's now a base class for Ring Menus - so it should be easier for you to make your own (though it currently uses Window_MenuCommand as a superclass for convenience... ^-^ [Now edited so the base works like Window_Selectable while retaining the Window_Command features - may be updated to split them later]

评分

参与人数 2星屑 +42 收起 理由
alann + 2 收藏一下先,我怕被转移后会找不到了…….
东来东去 + 40 我很赞同

查看全部评分

MV帮助 http://miaowm5.github.io/RMMV-F1/日复一日,年复一年人还是保留一点自我兴趣的好啊~~~忘记过去 ,这样我就可以  放弃未来了……哭~~终于找回以前的头像了,哎~~原来我是那么的想念阿……
画地图没灵感?很烦?很无聊 【 戳 我 】一 大 波 地 图 在 等 你  \^0^/
我的游戏

Lv2.观梦者

梦石
0
星屑
457
在线时间
1409 小时
注册时间
2010-9-23
帖子
557
2
发表于 2012-7-12 08:49:00 | 只看该作者
请问要增加菜单的选择项要修改脚本的哪个地方呢~?

点评

我也很想知道~~  发表于 2012-7-12 09:25
回复 支持 反对

使用道具 举报

Lv3.寻梦者

梦石
0
星屑
1185
在线时间
1564 小时
注册时间
2008-7-30
帖子
4418

贵宾

3
发表于 2012-7-15 16:18:41 | 只看该作者
应该是XP时代的产物的移植。

See FScript Here:https://github.com/DeathKing/fscript
潜心编写URG3中。
所有对URG3的疑问和勘误或者建议,请移步至发布页面。
欢迎萌妹纸催更
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
201 小时
注册时间
2012-4-8
帖子
466
4
发表于 2012-7-15 22:43:27 | 只看该作者
good job,嘛只要知道怎么写的你就可以再其他地方引用了啊
义三国系统更改中,预计长期坑化
好游戏的标准:
创意,完整度,人性化,独立性
回复 支持 反对

使用道具 举报

Lv1.梦旅人 (暗夜天使)

永夜蟄居の玖瀨

梦石
0
星屑
71
在线时间
1018 小时
注册时间
2011-9-5
帖子
2813

开拓者贵宾

5
发表于 2012-7-18 12:04:00 | 只看该作者
我很好奇这脚本是否支持鼠标...
貌似VX不支持..

点评

me也很想知道  发表于 2012-7-20 17:46

回复 支持 反对

使用道具 举报

Lv3.寻梦者 (暗夜天使)

名侦探小柯

梦石
0
星屑
3299
在线时间
3619 小时
注册时间
2006-9-6
帖子
37400

开拓者贵宾第3届短篇游戏大赛主流游戏组亚军第5届短篇游戏比赛亚军

6
发表于 2012-7-22 09:50:03 | 只看该作者
不知道出了menu里面的部分有没有,不然可以直接拿事件做囧

点评

説明中不是己説了点改麼?  发表于 2013-1-10 17:49
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
99
在线时间
179 小时
注册时间
2012-6-25
帖子
299
7
发表于 2012-7-22 12:00:34 | 只看该作者
代码……不懂用
我可能是世界上最帅气可爱的吧
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
99 小时
注册时间
2012-3-11
帖子
74
8
发表于 2012-7-29 23:20:25 | 只看该作者
不知道能不能把“任务”也+进去
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
54
在线时间
197 小时
注册时间
2012-12-15
帖子
689
9
发表于 2012-12-31 14:55:10 | 只看该作者
怎么改图标啊
回复 支持 反对

使用道具 举报

Lv1.梦旅人

梦石
0
星屑
50
在线时间
179 小时
注册时间
2012-11-14
帖子
94
10
发表于 2013-1-10 11:37:36 | 只看该作者
同求,想要增加一个选项,应该怎么修改?这个和XP的不一样,没找到具体定义的语句啊..
回复 支持 反对

使用道具 举报

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

本版积分规则

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

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

GMT+8, 2024-11-22 16:24

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

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