Project1

标题: 特技菜单里状态窗口如何透明 [打印本页]

作者: ROMB板    时间: 2012-6-18 20:36
标题: 特技菜单里状态窗口如何透明
就是特技里有个着名字等级血蓝条窗口
求透明方法dsu_plus_rewardpost_czw
作者: a364774426    时间: 2012-6-18 20:47
在skill_scene 下找到这一段

def start
    super
    create_menu_background
    @jn = Window_SkillBackground.new(0,0)
    @jn.opacity = 0
    @actor = $game_party.members[@actor_index]
    @viewport = Viewport.new(0, 0, 800, 608)
    @help_window = Window_Help.new
    @help_window.opacity = 0
    @help_window.viewport = @viewport
    @status_window = Window_SkillStatus.new(0, 56, @actor)
    @status_window.opacity = 0
    @status_window.viewport = @viewport
    @skill_window = Window_Skill.new(0, 112, 800, 304, @actor)
    @skill_window.opacity = 0
    @skill_window.viewport = @viewport
    @skill_window.help_window = @help_window
    @target_window = Window_MenuStatus.new(0, 0)
    hide_target_window
  end
然后添加
    @status_window = Window_SkillStatus.new(0, 56, @actor)
    @status_window.opacity = 0
作者: lastand    时间: 2012-6-24 12:55
a364774426 发表于 2012-6-18 20:47
在skill_scene 下找到这一段

def start

一个弱智问题……opacity前面有的跟点有个跟底横,什么情况下用……




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1