在开发人员的标准 University/Corporate 网络上使用 Airconsole
Using Airconsole on a standard University/Corporate network for dev
我在大学时尝试制作一个空调游戏。不幸的是,像 几乎所有 大学的设备都无法在网络上看到彼此。这意味着我无法从我的笔记本电脑向我的 phone 提供页面。所以,标准
http://www.airconsole.com/#http://<myipaddress>:8080/game/
无效。这使得大学生和大学game jam的人无法为airconsole制作游戏。
我什至尝试在 digital ocean 建立一个远程服务器,上传我的代码然后使用
http://www.airconsole.com/#http://<ipaddressofdroplet>:8080/game/
即使那样也没用。由于我在截止日期前(Global Game Jam 2016),最终我放弃了。
是否有解决方法,或者在典型的大学网络上制作空调游戏是不可能的?
即使存在客户端隔离,您也可以使用 https://ngrok.com/ 等工具来创建本地主机 public。
假设您运行在 http://192.168.0.36:7842/ and http://192.168.0.36:7842/controller.html 上玩游戏无法通过智能手机访问。
然后运行以下命令:
ngrok http 7842
这将输出类似
的内容
Tunnel Status online
Version 2.0.19/2.0.20
Web Interface http://127.0.0.1:4040
Forwarding http://8941ec1a.ngrok.io -> 192.168.0.36:7842
Forwarding https://8941ec1a.ngrok.io -> 192.168.0.36:7842
可以看到http://8941ec1a.ngrok.io now forwards to http://192.168.0.36:7842
现在启动浏览器:
http://www.airconsole.com/#http://8941ec1a.ngrok.io/ 你应该可以连接你的智能手机了。
Unity 开发人员注意事项:您需要 www.github.com 于 2016 年 2 月 1 日发布的最新 airconsole unity 插件,并且您应该 select "Normal" 作为浏览器启动模式。
我在大学时尝试制作一个空调游戏。不幸的是,像 几乎所有 大学的设备都无法在网络上看到彼此。这意味着我无法从我的笔记本电脑向我的 phone 提供页面。所以,标准
http://www.airconsole.com/#http://<myipaddress>:8080/game/
无效。这使得大学生和大学game jam的人无法为airconsole制作游戏。
我什至尝试在 digital ocean 建立一个远程服务器,上传我的代码然后使用
http://www.airconsole.com/#http://<ipaddressofdroplet>:8080/game/
即使那样也没用。由于我在截止日期前(Global Game Jam 2016),最终我放弃了。
是否有解决方法,或者在典型的大学网络上制作空调游戏是不可能的?
即使存在客户端隔离,您也可以使用 https://ngrok.com/ 等工具来创建本地主机 public。
假设您运行在 http://192.168.0.36:7842/ and http://192.168.0.36:7842/controller.html 上玩游戏无法通过智能手机访问。
然后运行以下命令:
ngrok http 7842
这将输出类似
的内容Tunnel Status online
Version 2.0.19/2.0.20
Web Interface http://127.0.0.1:4040
Forwarding http://8941ec1a.ngrok.io -> 192.168.0.36:7842
Forwarding https://8941ec1a.ngrok.io -> 192.168.0.36:7842
可以看到http://8941ec1a.ngrok.io now forwards to http://192.168.0.36:7842
现在启动浏览器: http://www.airconsole.com/#http://8941ec1a.ngrok.io/ 你应该可以连接你的智能手机了。
Unity 开发人员注意事项:您需要 www.github.com 于 2016 年 2 月 1 日发布的最新 airconsole unity 插件,并且您应该 select "Normal" 作为浏览器启动模式。