| 
 
| 赞 | 1 |  
| VIP | 116 |  
| 好人卡 | 40 |  
| 积分 | 4 |  
| 经验 | 19804 |  
| 最后登录 | 2017-12-13 |  
| 在线时间 | 4175 小时 |  
 Lv2.观梦者 
 
	梦石0 星屑432 在线时间4175 小时注册时间2010-6-26帖子6474 | 
| 
紫苏发布了两个帖子
x
加入我们,或者,欢迎回来。您需要 登录 才可以下载或查看,没有帐号?注册会员  XP的http://rpg.blue/forum.php?mod=vi ... 0%E8%BF%90%E8%A1%8C
 VX的http://rpg.blue/forum.php?mod=vi ... 0%E8%BF%90%E8%A1%8C
 公开一下本人在ACE上的测试代码吧:
 其实我是把VX的那个BackgroundRunning.dll拷贝到VA的那个System文件夹下,发现完全兼容。复制代码unless $_Start
$_Start = Win32API.new("System/BackgroundRunning","Start",'V','L')
$_Stop = Win32API.new("System/BackgroundRunning","Stop",'V','L')
$_OnFocus = Win32API.new("System/BackgroundRunning","OnFocus",'V','L')
$_Start.call
module Input
  InputUpdate = method :update
  InputTrigger = method :trigger?
  InputPress = method :press?
  InputRepeat = method :repeat?
  InputDir4 = method :dir4
  InputDir8 = method :dir8
  def self.update
    InputUpdate.call if $_OnFocus.call != 0
  end
  def self.trigger?(num)
    return $_OnFocus.call != 0 ? InputTrigger.call(num) : false
  end
  def self.press?(num)
    return $_OnFocus.call != 0 ? InputPress.call(num) : false
  end
  def self.repeat?(num)
    return $_OnFocus.call != 0 ? InputRepeat.call(num) : false
  end
  def self.dir4
    return $_OnFocus.call != 0 ? InputDir4.call : 0    
  end
  def self.dir8
    return $_OnFocus.call != 0 ? InputDir8.call : 0    
  end
end
end
 如果这么简单的话,我直接通知紫苏去掉一个帖子,把另一个帖子改成通用技术发布就可以了,但是我想,
 
 rgss3可以在后台显示主控台了,当游戏中有Print命令时,后台的主控台就直接显示了,所以我想问问高手是不是rgss3本身就整合了后台运行功能呢?是不是可以通过别的方法不需要那个dll就可以开启后台运行呢?
 | 
 |