查看: 3642|回复: 8

[已经解决] 祛除黑色背景

[复制链接]
梦石
0
星屑
6379
在线时间
608 小时
注册时间
2017-9-27
回帖
205
发表于 2017-10-19 16:44:33 | 显示全部楼层 |阅读模式

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

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

×
像任务脚本、加点脚本。
如果把里面的窗口透明了。就会看到后面是全黑色背景的。
怎么样才能把它祛除。显示出地图的场景。


梦石
0
星屑
9716
在线时间
2775 小时
注册时间
2008-9-5
回帖
3458

开拓者短篇八RM组冠军短篇九导演组亚军白银编剧

发表于 2017-10-19 18:54:16 | 显示全部楼层
把这俩脚本里对应的Scene的父类改成Scene_MenuBase试试看……(不一定适用……

点评

呃。。。父类就是这个。  发表于 2017-10-19 19:19

评分

参与人数 1赞 +1 收起 理由
fux2 + 1 赞成!

查看全部评分

回复

使用道具 举报

葱

梦石
26
星屑
13753
在线时间
2230 小时
注册时间
2012-12-12
回帖
567

极短28获奖

发表于 2017-10-19 19:58:24 | 显示全部楼层
地图截图的画面是Scene_MenuBase里的create_background,
你可以把这个加到你的任务、加点脚本里试试看

▶ 葱兔の游戏列表 (´・ω・`)
回复

使用道具 举报

梦石
0
星屑
1902
在线时间
959 小时
注册时间
2012-7-5
回帖
225
发表于 2017-10-19 20:55:04 | 显示全部楼层
本帖最后由 浮云半仙 于 2017-10-19 21:13 编辑

呃。。。我的话暂时想到两种思路:
1:比较麻烦就是,这些场景例如任务(Scene_Task)都不要了,把原先在Scene_Task里面的窗口搬到Scene_Map里面。这样背景就自然会是地图了。(工作量不小哦)
2:进入菜单之前对地图进行截图,然后保存。等到进入加点,任务等场景的时候贴到背景上即可。(略微修改脚本即可实现)

=====update
看了看其实预置脚本里面Scene_MenuBase已经用了地图作为背景了。不过你说的那些加点/任务场景大概是并没有用Scene_MenuBase的东西而已....如果是这样,可以把他们场景的类改为继承自Scene_MenuBase。另外就是,黑色窗口的话还应设置窗口背景透明,不然会挡住更后面的背景的辣。
tan(pi/2)
回复

使用道具 举报

梦石
0
星屑
39236
在线时间
11155 小时
注册时间
2009-3-15
回帖
4768
发表于 2017-10-19 21:04:49 | 显示全部楼层
改窗口透明度?
回复

使用道具 举报

梦石
0
星屑
1829
在线时间
80 小时
注册时间
2017-9-28
回帖
89
发表于 2017-10-19 22:36:54 | 显示全部楼层
不知道有没有理解到楼主的意思,尽我所能帮助楼主...,楼主是想要窗口透明化吗?根据数字君的教程和我一点点地观察:在initialize和super的下面添加self.opacity = 0 就能获得窗口完全透明的效果。

initialize为初始化
super好像是超级的意思...我不是很懂
self.opacity为自己的不透明度,如果等于的数字越小透明度越高。

例子:救世小树写的升级自由属性加点系统


救世小树上传的图片,原本的效果
加点透明.png

把窗口透明化的效果


添加透明化的加点脚本·点这里
  1. #encoding:utf-8
  2. #=============================================================================
  3. #-----------RMVA加点系统正常向-v1.03---By:救世小树--------转载请注明出处-------
  4. #=============================================================================

  5. module Point_Tree
  6.   
  7.   POINT_KIND     = 6       #设定加点种类
  8.   LEVEL_UP_POINT = 3       #每升一级自由属性点增加数
  9.   RESET_ITEM     = 20      #洗点水编号
  10.   
  11.   STR_POINT        = ["体力","精神","力量","魔力","韧性","灵活","???"]
  12.   
  13.   #分别对应增加       [MHP,MMP,物攻,物防,魔攻,魔防,敏捷,幸运]
  14.   POINT_ADD_PARAM = [[12 ,  0,   0,  0,   0,   0,   0,   0],     #体力
  15.                      [0  , 12,   0,  0,   0,   0,   0,   0],     #精神
  16.                      [0  ,  0,   5,  0,   0,   0,   0,   0],     #力量
  17.                      [0  ,  0,   0,  0,   5,   0,   0,   0],     #魔力
  18.                      [0  ,  0,   0,  3,   0,   2,   0,   1],     #韧性
  19.                      [0  ,  0,   0,  0,   0,   0,   3,   0],     #灵活
  20.                      
  21.                      [0,0,0,0,0,0,0,0]]
  22.                      #可以按上面的格式添加下去,不过要改POINT_KIND,STR_ALL,不然加了也白加
  23.   
  24.   #分别对应增加       [物理命中,物理闪避,必杀,必杀闪避,魔法闪避,魔法反射,物理反击,HP再生,Mp再生,Tp再生]
  25.   POINT_ADD_XPARAM = [[0 , 0, 0, 0, 0, 0, 0, 6, 0, 0],
  26.                       [0 , 0, 0, 0, 0, 0, 0, 0, 6, 0],
  27.                       [6 , 6, 0, 0, 0, 0, 0, 0, 0, 0],
  28.                       [0 , 0, 6, 0, 0, 0, 0, 0, 0, 0],
  29.                       [0 , 0, 0, 0, 0, 0, 0, 4, 4, 0],
  30.                       [0 , 6, 0, 6, 6, 0, 0, 0, 0, 0],
  31.                      
  32.                       [0,0,0,0,0,0,0,0,0,0]]
  33.                      #这里的单位是万分之一数值也就是0.01%,我随便填了下【别嫌小,够大了,有心情你可以算算看平衡性】
  34.   
  35.   #各种名称
  36.   
  37.   ADDPOINT       = "加点"     #菜单中选项
  38.   POINT_NAME     = "属性点"   #未分配点数
  39.   
  40.   XARAM_NAME     = ["物理命中","物理闪避","必杀","必杀闪避","魔法闪避","魔法反射","物理反击","HP再生","Mp再生","Tp再生"]

  41.   
  42.   def temp_all
  43.     r = 0
  44.     for i in 0 .. POINT_KIND-1
  45.       r+=$temp_point[i]
  46.     end
  47.     return r
  48.   end
  49.   
  50.   def reset(actor_id)
  51.     for i in 1..6
  52.       $game_actors[actor_id].point[0] += $game_actors[actor_id].point[i]
  53.       $game_actors[actor_id].point[i] =0
  54.     end
  55.   end
  56.   
  57. end

  58. $temp_point = []
  59. for i in 0 .. Point_Tree::POINT_KIND-1
  60.   $temp_point.push(0)
  61. end

  62. class Game_Actor < Game_Battler
  63.   include Point_Tree
  64.   attr_accessor :point
  65.   
  66.   alias setup_tre setup
  67.   def setup(actor_id)
  68.     @point = []
  69.     for i in 0 .. POINT_KIND
  70.       @point.push(0)
  71.     end
  72.     setup_tre(actor_id)
  73.   end
  74.   
  75.   
  76.   
  77.   
  78.   alias level_up_tre level_up
  79.   def level_up
  80.     level_up_tre
  81.     @hp += mhp
  82.     @mp += mmp
  83.     @point[0] += LEVEL_UP_POINT
  84.   end
  85.   

  86.   
  87.   def point_plus(param_id)
  88.     r=0
  89.     for i in 1 .. POINT_KIND
  90.       r+=@point[i]*POINT_ADD_PARAM[i-1][param_id]
  91.     end
  92.     return r
  93.   end

  94.   alias point_base_param param
  95.   
  96.   def param(param_id)
  97.     value = param_base(param_id) + param_plus(param_id) + point_plus(param_id)
  98.     value *= param_rate(param_id) * param_buff_rate(param_id)
  99.     [[value, param_max(param_id)].min, param_min(param_id)].max.to_i
  100.   end
  101.   def xparam(xparam_id,extra_add = 0)
  102.     xp = super(xparam_id)
  103.     for i in 0 .. POINT_KIND-1
  104.       xp+=(@point[i+1]*POINT_ADD_XPARAM[i][xparam_id]/10000.0)
  105.     end
  106.     return xp
  107.   end

  108.   def item_apply(user, item)
  109.     super(user, item)
  110.     if item.id == RESET_ITEM and item.is_a?(RPG::Item)
  111.       reset(@actor_id)
  112.       self.hp = [self.hp,self.mhp].min
  113.       self.mp = [self.mp,self.mmp].min
  114.     end
  115.   end
  116.   
  117. end

  118. class Window_Point_Command < Window_Command
  119.   
  120.   include Point_Tree
  121.   #--------------------------------------------------------------------------
  122.   # ● 初始化指令选择位置(类方法)
  123.   #--------------------------------------------------------------------------
  124.   def self.init_command_position
  125.     @@last_command_symbol = nil
  126.   end
  127.   #--------------------------------------------------------------------------
  128.   # ● 初始化对象
  129.   #--------------------------------------------------------------------------
  130.   def initialize(actor)
  131.     @status_window = nil
  132.     @actor = actor
  133.     super(0,0)
  134.     self.opacity = 0   
  135.     select_last
  136.   end
  137.   def actor=(actor)
  138.     return if @actor == actor
  139.     @actor = actor
  140.     refresh
  141.   end
  142.   def status_window=(status_window)
  143.     return if @status_window == status_window
  144.     @status_window = status_window
  145.   end
  146.   #--------------------------------------------------------------------------
  147.   # ● 获取窗口的宽度
  148.   #--------------------------------------------------------------------------
  149.   def window_width
  150.     return 160
  151.   end
  152.   #--------------------------------------------------------------------------
  153.   # ● 获取显示行数
  154.   #--------------------------------------------------------------------------
  155.   def visible_line_number
  156.     item_max
  157.   end
  158.   def get_actor_point(index)
  159.     s = @actor.point[index+1].to_s
  160.     return "("+s+")+"+$temp_point[index].to_s
  161.   end
  162.   #--------------------------------------------------------------------------
  163.   # ● 生成指令列表
  164.   #--------------------------------------------------------------------------
  165.   def make_command_list
  166.     for i in 0 .. POINT_KIND-1
  167.       add_command(STR_POINT[i]   + get_actor_point(i)  , :point_add  ,add_enabled)
  168.     end
  169.     add_command("确认",  :point_ok)
  170.     add_command("取消",  :point_cancle)
  171.   end
  172.   #--------------------------------------------------------------------------
  173.   # ● 按下确定键时的处理
  174.   #--------------------------------------------------------------------------
  175.   def process_ok
  176.     @@last_command_symbol = current_symbol
  177.     super
  178.   end
  179.   #--------------------------------------------------------------------------
  180.   # ● 返回最后一个选项的位置
  181.   #--------------------------------------------------------------------------
  182.   def select_last
  183.     select_symbol(@@last_command_symbol)
  184.   end
  185.   
  186.   def add_enabled
  187.     temp_all < @actor.point[0]
  188.   end

  189.   def update_help
  190.     @help_window.set_text(self.index+1) if @help_window
  191.     @status_window.index = self.index if @status_window
  192.   end
  193. end

  194. #帮助窗口
  195. class Window_Point_Help < Window_Base
  196.   include Point_Tree
  197.   def initialize(x,y,w,h)
  198.     super(x, y, w, h)
  199.         self.opacity = 0   
  200.    
  201.   end
  202.   def set_text(id)
  203.     contents.clear
  204.     if id <= POINT_KIND
  205.       text = "\\}提升一点该属性"
  206.     elsif id == POINT_KIND+1
  207.       text = "\\}确认此次加点分配"
  208.     elsif  id == POINT_KIND+2
  209.       text = "\\}取消此次加点分配"
  210.     end
  211.     draw_text_ex(8, 8, text)
  212.   end
  213. end


  214. #角色状态窗口
  215. class Window_Point_Actor < Window_Base
  216.   include Point_Tree
  217.   
  218.   
  219.   def initialize(actor)
  220.     super(160, 0, Graphics.width - 160, Graphics.height)
  221.     self.opacity = 0   
  222.     @actor = actor
  223.     @index = 0
  224.     refresh
  225.   end
  226.   def actor=(actor)
  227.     return if @actor == actor
  228.     @actor = actor
  229.     refresh
  230.   end
  231.   def index=(index)
  232.     return if @index == index
  233.     @index = index
  234.     refresh
  235.   end
  236.   def line_height
  237.     return 24
  238.   end
  239.   def refresh
  240.     contents.clear
  241.     contents.font.size = 24
  242.     draw_actor_name(@actor, 100, 0)
  243.     draw_actor_class(@actor, 240, 0)
  244.     draw_actor_face(@actor, 2, 0)
  245.     contents.font.size = 20
  246.     draw_actor_level(@actor, 102,  24)
  247.     draw_actor_point(100,48)
  248.     contents.font.size = 16
  249.     draw_actor_param_point(8,16 * 6)
  250.     draw_actor_xparam_point(8,16 * 14)
  251.   end
  252.   def draw_actor_point(x,y)
  253.     draw_text(x,y,200,line_height,"  未分配"+POINT_NAME + ":" + @actor.point[0].to_s)
  254.     draw_text(x,y+line_height,200,line_height,"此次分配"+POINT_NAME + ":" + temp_all.to_s)
  255.   end
  256.   def draw_actor_param_point(x,y)
  257.     8.times {|i| draw_actor_param_to_s(x,y,i)}
  258.   end
  259.   def draw_actor_xparam_point(x,y)
  260.     10.times {|i| draw_actor_xparam_to_s(x,y,i)}
  261.   end
  262.   
  263.   def draw_actor_param_to_s(x,y,param_id)
  264.     a=0
  265.     for i in 0 .. POINT_KIND-1
  266.       a+=$temp_point[i]*POINT_ADD_PARAM[i][param_id]
  267.     end
  268.     s1 = Vocab::param(param_id)
  269.     s2 = @actor.param(param_id).to_s
  270.     s3 = (@actor.param(param_id)+a).to_s
  271.     if @index < POINT_KIND
  272.       if POINT_ADD_PARAM[@index][param_id]==0
  273.         s4 = ""
  274.       else
  275.         s4 = "+" + POINT_ADD_PARAM[@index][param_id].to_s
  276.       end
  277.     else
  278.       s4 = ""
  279.     end
  280.    
  281.     change_color(system_color)
  282.     draw_text(x,y+16*param_id,100,line_height,s1)
  283.     change_color(normal_color)
  284.     s2+= " →"
  285.     draw_text(x+82,y+16*param_id,120,line_height,s2,2)
  286.     change_color(system_color)
  287.     draw_text(x+150,y+16*param_id,100,line_height,s3,2)
  288.     change_color(normal_color)
  289.     contents.font.size = 14
  290.     draw_text(x+266,y+16*param_id,100,line_height,s4)
  291.     contents.font.size = 16
  292.   end
  293.   def draw_actor_xparam_to_s(x,y,xparam_id)
  294.     a=0.00
  295.     for i in 0 .. POINT_KIND-1
  296.       a+=($temp_point[i]*POINT_ADD_XPARAM[i][xparam_id]/10000.0)
  297.     end
  298.     s1 = XARAM_NAME[xparam_id]
  299.     s2 = sprintf("%02.2f%%",@actor.xparam(xparam_id)*100)
  300.     s3 = sprintf("%02.2f%%",(@actor.xparam(xparam_id) + a)*100)

  301.     if @index < POINT_KIND
  302.       if POINT_ADD_XPARAM[@index][xparam_id]==0
  303.         s4=""
  304.       else
  305.         s4 = sprintf("+%02.2f%%",POINT_ADD_XPARAM[@index][xparam_id]/100.0)
  306.       end
  307.     else
  308.       s4 = ""
  309.     end
  310.    
  311.     change_color(system_color)
  312.     draw_text(x,y+16*xparam_id,100,line_height,s1)
  313.     change_color(normal_color)
  314.     s2+= " →"
  315.     draw_text(x+82,y+16*xparam_id,120,line_height,s2,2)
  316.     change_color(system_color)
  317.     draw_text(x+150,y+16*xparam_id,100,line_height,s3,2)
  318.     change_color(normal_color)
  319.     contents.font.size = 14
  320.     draw_text(x+266,y+16*xparam_id,100,line_height,s4)
  321.     contents.font.size = 16
  322.    
  323.    
  324.   end
  325. end

  326. class Scene_Point < Scene_Base
  327.   include Point_Tree
  328.   def start
  329.     super
  330.     create_background
  331.     @actor = $game_party.menu_actor
  332.     create_command_window
  333.     create_status_window
  334.     create_help_window
  335.     @command_window.activate
  336.   end
  337.   def terminate
  338.     super
  339.     dispose_background
  340.   end
  341.   def create_background
  342.     @background_sprite = Sprite.new
  343.     @background_sprite.bitmap = SceneManager.background_bitmap
  344.     @background_sprite.color.set(16, 16, 16, 128)
  345.   end
  346.   def dispose_background
  347.     @background_sprite.dispose
  348.   end
  349.   
  350.   def create_command_window
  351.     @command_window = Window_Point_Command.new(@actor)
  352.     @command_window.set_handler(:cancel,      method(:return_scene))
  353.     @command_window.set_handler(:pagedown,    method(:next_actor))
  354.     @command_window.set_handler(:pageup,      method(:prev_actor))
  355.     @command_window.set_handler(:point_add,   method(:add_point))
  356.     @command_window.set_handler(:point_ok,    method(:add_ok))
  357.     @command_window.set_handler(:point_cancle,method(:add_cancle))
  358.    
  359.   end
  360.   def return_scene
  361.     add_cancle
  362.     SceneManager.return
  363.   end
  364.   def create_status_window
  365.     @status_window = Window_Point_Actor.new(@actor)
  366.     @command_window.status_window = @status_window
  367.   end
  368.   def create_help_window
  369.     @help_window = Window_Point_Help.new(0,@command_window.height,160,Graphics.height-@command_window.height)
  370.     #(0, 216, 160, 200)
  371.     @help_window.viewport = @viewport
  372.     @command_window.help_window = @help_window
  373.   end
  374.   
  375.   def add_point
  376.     if temp_all >= @actor.point[0]
  377.       @command_window.activate
  378.       return
  379.     end
  380.     $temp_point[@command_window.index] += 1
  381.     @status_window.refresh
  382.     @command_window.refresh
  383.     @command_window.activate
  384.   end
  385.   

  386.   def add_ok
  387.     for i in 0 .. POINT_KIND-1
  388.       @actor.point[i+1] += $temp_point[i]
  389.     end
  390.     @actor.point[0]-= temp_all
  391.     add_cancle
  392.   end
  393.   
  394.   def add_cancle
  395.     for i in 0 .. POINT_KIND-1
  396.       $temp_point[i]=0
  397.     end
  398.     @status_window.refresh
  399.     @command_window.refresh
  400.     @command_window.activate
  401.   end
  402.   
  403.   
  404.   def next_actor
  405.     @actor = $game_party.menu_actor_next
  406.     on_actor_change
  407.   end
  408.   #--------------------------------------------------------------------------
  409.   # ● 切换到上一个角色
  410.   #--------------------------------------------------------------------------
  411.   def prev_actor
  412.     @actor = $game_party.menu_actor_prev
  413.     on_actor_change
  414.   end
  415.   #--------------------------------------------------------------------------
  416.   # ● 切换角色
  417.   #--------------------------------------------------------------------------
  418.   def on_actor_change
  419.     add_cancle
  420.     @status_window.actor = @actor
  421.     @command_window.actor = @actor
  422.     @command_window.activate
  423.   end
  424.   
  425. end

  426. class Window_MenuCommand < Window_Command
  427.   alias add_original_commands_old add_original_commands
  428.   def add_original_commands
  429.     add_original_commands_old
  430.     add_command(Point_Tree::ADDPOINT,    :addpoint)
  431.   end
  432. end

  433. class Scene_Menu < Scene_MenuBase
  434.   alias create_command_window_old create_command_window
  435.   def create_command_window
  436.     create_command_window_old
  437.     @command_window.set_handler(:addpoint,method(:add_point))
  438.   end
  439.   def add_point
  440.     @status_window.select_last
  441.     @status_window.activate
  442.     @status_window.set_handler(:ok,     method(:on_ok))
  443.     @status_window.set_handler(:cancel, method(:on_personal_cancel))
  444.   end
  445.   def on_ok
  446.     SceneManager.call(Scene_Point)
  447.     Window_Point_Command::init_command_position
  448.   end
  449. end



  450. class Scene_ItemBase < Scene_MenuBase
  451.   def item_usable?
  452.     if item.id == Point_Tree::RESET_ITEM and item.is_a?(RPG::Item)
  453.       return true
  454.     end
  455.     user.usable?(item) && item_effects_valid?
  456.   end
  457. end






  458. class Window_Status < Window_Selectable
  459.   include Point_Tree
  460.   alias draw_parameters_old draw_parameters
  461.   def draw_parameters(x, y)
  462.     draw_parameters_old(x,y)
  463.     draw_point(x,y)
  464.   end
  465.   def draw_point(x,y)
  466.     for i in 0..5
  467.       change_color(system_color)
  468.       draw_text(x+100, y+ line_height * i, 80, line_height, STR_POINT[i])
  469.       change_color(normal_color)
  470.       draw_text(x+180, y+ line_height * i, 36, line_height,@actor.point[i+1].to_s, 2)
  471.     end
  472.   end
  473.   
  474. end

  475. class Window_Base < Window
  476.   def draw_actor_param(actor, x, y, param_id)
  477.     change_color(system_color)
  478.     draw_text(x-30, y, 80, line_height, Vocab::param(param_id))
  479.     change_color(normal_color)
  480.     draw_text(x+ 50, y, 36, line_height, actor.param(param_id), 2)
  481.   end
  482. end
复制代码

点评

......用你的脚本就没问题了。也是见鬼了。明明是一样的脚本。  发表于 2017-10-20 08:30

评分

参与人数 1星屑 +15 赞 +1 收起 理由
fux2 + 15 + 1 认可答案

查看全部评分

回复

使用道具 举报

梦石
0
星屑
2338
在线时间
275 小时
注册时间
2017-7-25
回帖
128
发表于 2017-10-23 00:48:18 | 显示全部楼层
这里有个一了百了的脚本[pre lang="ruby"]#==============================================================================
# 本脚本来自www.66RPG.com,使用和转载请保留此信息
#==============================================================================


#==============================================================================
# ■ Window_Base
#==============================================================================
class Window_Base < Window
  alias xrxs_mp7_initialize initialize
  def initialize(x, y, width, height)
    xrxs_mp7_initialize(x, y, width, height)
    if $scene.is_a?(Scene_Menu) or
       $scene.is_a?(Scene_Item) or
       $scene.is_a?(Scene_Skill) or
       $scene.is_a?(Scene_Equip) or
       $scene.is_a?(Scene_Status) or
       $scene.is_a?(Scene_Save) or
       $scene.is_a?(Scene_End) or
       $scene.is_a?(Scene_Shop)          #有别的需要调整透明背景的窗口的话,找到脚本里Scene的名称,照样添加一行or$scene.is_a?(Scene_XXX)
      self.back_opacity = 160  #————这个数值可调,为透明程度
    end
  end
end
module XRXS_MP7_Module
  def create_spriteset
    @spriteset = Spriteset_Map.new
  end
  def dispose_spriteset
    @spriteset.dispose
  end
end
class Scene_Menu
  include XRXS_MP7_Module
  alias xrxs_mp7_main main
  def main
    create_spriteset
    xrxs_mp7_main
    dispose_spriteset
  end
end
class Scene_Item
  include XRXS_MP7_Module
  alias xrxs_mp7_main main
  def main
    create_spriteset
    xrxs_mp7_main
    dispose_spriteset
  end
end
class Scene_Skill
  include XRXS_MP7_Module
  alias xrxs_mp7_main main
  def main
    create_spriteset
    xrxs_mp7_main
    dispose_spriteset
  end
end
class Scene_Equip
  include XRXS_MP7_Module
  alias xrxs_mp7_main main
  def main
    create_spriteset
    xrxs_mp7_main
    dispose_spriteset
  end
end
class Scene_Status
  include XRXS_MP7_Module
  alias xrxs_mp7_main main
  def main
    create_spriteset
    xrxs_mp7_main
    dispose_spriteset
  end
end
class Scene_Save
  include XRXS_MP7_Module
  alias xrxs_mp7_main main
  def main
    create_spriteset
    xrxs_mp7_main
    dispose_spriteset
  end
end
class Scene_End
  include XRXS_MP7_Module
  alias xrxs_mp7_main main
  def main
    create_spriteset
    xrxs_mp7_main
    dispose_spriteset
  end
end
class Scene_Shop                                       #有其他需要透明化的窗口时,找到对应脚本Scene的名称,复制井号段间的内容,
  include XRXS_MP7_Module                     #只需修改首行的class Scene_“XXX”   
  alias xrxs_mp7_main main
  def main
    create_spriteset
    xrxs_mp7_main
    dispose_spriteset
  end
end                                                            #

#==============================================================================
# 本脚本来自www.66RPG.com,使用和转载请保留此信息
#============================================================================== [/pre]

回复

使用道具 举报

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

本版积分规则

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部