Search Unity

WebGL平台上的第一款商业Unity游戏《Aaaaa! for the Awesome堕楼惊魂》今日曝光。对Unity WebGL工具和Owlchemy Labs来说,这是经历了长时间努力换来的成功。你可以在 Humble Mozilla Bundle 了解他们与Dejobaan Games 的合作成果以及WebGL平台上其它一些精彩的新游戏。

“我们使用的是最早期版本的Unity WebGL导出工具,总的来说整个开发过程出奇的顺畅”,Owlchemy Labs的CEO Alex Schwartz 在博客中评价道。

“Jonas Echterhoff, Ralph Hauwert的团队将Unity引擎核心使用asm.js运行,并且使得Unity内容惊人流畅地在浏览器中运行,这是非常难以置信的。当你面对该问题,你会思考需要什么样技术,能够像魔法一般可以用来将C#脚本一路转换为最终的100万多行的js文件,这项技术是超乎想象的”。
webgl_exp
但是,要将游戏编译到新的目标平台,并不是点击那个大大的WebGL导出按钮然后坐等它自己完成那么简单的。尽管Unity已经在后台完成了大量的任务,还是有一些显著的挑战是通过与Owlchemy Labs合作来克服的。

移植工作开始于2014年6月,在Owlchemy获得提供给alpha小组的WIP WebGL导出工具的使用许可后。像《Aaaaa! for the Awesome堕楼惊魂》这种比较复杂的游戏,也可以在限定时间内使用最初的框架移植成功吗?

“捣鼓了导出工具两天之后,我们发现这是可行的(并且有实际运行在浏览器中的内容!),但与所有我们付出的技术上的努力一样,我们对之后的整个移植工作中会遇到什么困难,都是盲目的。我们会遇到一两个bug吗?又或是成百上千个?我们能在按照计划在如此短的时间内完成吗?庆幸的是,在发现了几十个Bug并一一修复之后,我们成功地移植了可以正常运行的游戏!”

感谢那些Bug报告,该工具当前或之后版本发布时,这些Bug都将被修复,开发者可以放心使用并能享受从Unity移植到WebGL平台更好的渠道。

Alex非常Unity 项目在网页上发布的前景。“你可以期待在不久的将来,Owlchemy Labs将带来更多他们移植的游戏!由于我们内容的运行速度几乎等同于本地桌面编译。对于内容的可移植性,我们已作出了决定性的变革,能使游戏开发者将他们极具创造力的作品移植到另一个新平台,这是一件值得期待的事情。”

从最初我们在哥本哈根的HackWeek进行WebGL试验到现在已经两年多了。我们对目前的进度,以及与Alpha和Beta团队及其它包括Mozilla在内的合作伙伴,都非常满意。在玩《Aaaaa! for the Awesome堕楼惊魂》这个游戏的过程中我们感到非常有趣,并且我们所有人都很期待即将上线的Unity WebGL游戏。我们更加迫不及待地想看到,你们将在Unity5发布后使用Unity WebGL工具,制作出何等精彩的内容!

c

译者注:
《Aaaaa! for the Awesome》是一款采用Unity引擎开发的“跳楼游戏”。本文中翻译成:《堕楼惊魂》。游戏的玩法就是玩家从一幢幢摩天大楼径直跳下,采用主视角看着地面越来越近越来越近,感觉自己速度越来越快越来越快……在“坠落”的过程中,可以干出疯狂的举动来赢得高分,比如极度接近目标楼群(当然撞上就完蛋),砸窗玻璃,打鸟,飞速而下的同时在墙上涂鸦等等。

29 评论

订阅评论

评论被关闭。

  1. I have tried to build just an empty scene from a new empty project to WebGL.
    I have tried these settings from the above picture and I can’t!.
    That’s what I am getting:
    Error building Player: Exception: Failed building WebGL Player: “C:\Program Files\Unity 5.0.0b14\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten_Win/python/2.7.5.3_64bit/python.exe” “C:\Program Files\Unity 5.0.0b14\Editor\Data\PlaybackEngines\webglsupport/BuildTools/Emscripten/emcc” @”G:/unity5/project/New Unity Project/Assets/../Temp/emcc_arguments.resp”

    – with the b14 version

  2. I´m from Cuba. My name is Jorge and have 14 years old. I am developing a game but with the Unity 3.5 I wanted to be developer of games of Unity

  3. Our initial tests are showing very good results with webgl. Any word on when the webgl export will go beyond (preview) and be deployable?

  4. MijiKai Games planes to bring Heroes of Rune http://heroesofrune.com/ to WebGL with Photon Unity Networking! If anyone from Unity, or ExitGames can give us a helping hand to get a head start, that would be awesome! ^_^

  5. Marcius Oliveira

    十月 25, 2014 1:33 上午

    My Firefox OS say “Thanks” I ll back play mobile games :D

  6. it’s not fair! when we will get UNITY 5???

    I paid for both versions (unity 4 &5) and waiting more than half year and how long more?

    what will be when someone is paying by subscription for unity 4&5? if you don’t release unity 5 before subscription ends?

  7. Is WebGL available for everyone with access to U5 Beta?

    1. Yes, it is.

  8. I could really use WebGL now, so I can’t wait for Unity 5 to come out! I’m still having fun with the new/improved UI in 4.6 beta! I’m keeping high hopes for Unity 5!

    – Chris

  9. Good news.
    I want to port the game I am developing for three years now to WebGL.

  10. This is great news, looking forward to working with Unity & HTML 5

  11. Who needs this webGL? Give us updated mono with .net 4.5 libraries !

    1. While I’m tempted to say ‘Everybody but you’, I’m not exactly a big fan of trolling on the blogs, so I won’t. That said, If you’ve been following the roadmap closely, you’d know of a spin off project from the Web GL experiments that is going to make it possible to use the latest and greatest version of mono/.Net. It’s called IL2CPP . So if anything, you should be thankful that WebGL is coming.

      Language features are a nice-to-have. But WebGL is something that affects your bottom line directly: getting your games into the hands of many users on as many platforms as possible. I stand to be corrected though, that may not be yours :-P

  12. I’m really exciting about this web-GL feature. I wonder what kind of Unity features I could use in this web-GL version, because I had some really challenging projects before with the webplayer which amazed my clients.

    I had to create huge landscapes which houses, props and such to illustrate an excisting project. The challenge there was the amount of terrains, houses, props, realtime lighting and water reflections. It’s good to read this kind of articles before Unity 5.0 is being released. This way I can read what difficulties others have and what there solutions are. Before Unity 5.0 comes out, I can already think of how to create such a project without the webplayer but with Web-GL. Especially that last part is what I missed in this article, but when I did read the official blogpost of Owlchemy I found what I hoped for.

    I would suggest Unity to share this kind of information a bit more. It gives us a good view of what would be possible, how others pushed the limits and how they solved certain issues. I can’t wait to get my hands dirty on this Web-GL, I which I was in this Alpha. >:)

  13. Those Owlchemy Labs guys are aweome. I’ve learned a lot from their Unite videos.

    One of the reasons I’m planning on attending Unite next year is to meet them and buy them all a drink.

    1. Just a drink? I would buy them all luxury cars if I had the money… and have a drink or two with them in their new Lexus LFA!

  14. Thats really cool turbo boost add on to an already fantastic Game Engine.

  15. Wait, isn’t WebGL out for Unity 5? Or was it releasing for the 4.x.x?

    1. Jonas Echterhoff

      十月 15, 2014 7:25 上午

      This was made with a 5.0 beta.

  16. HI ITS THE BEST MAKER FOR VEDIO GAMES THANK YOU BECAUSE ITS FREEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

  17. In the current version of WebGL exporter there is a big limitation that causes a non self explained compile error when the first parameter of a extension method is a generic T, or when there is a “where” using generics.
    This is a big limitation because it prevents us from using a lot of third party code, as well as Unity framework code like the Linq library which does not work with WebGL.
    I want to know if that will be fixed, because the Flash exporter had the same issue and was never fixed, probably because porting that C# features to other lenguages that don’t have it must be very difficult or impossible.

    1. @Fernando Both of these cases should be working now. I’ve just tried them with the latest 5.0 beta, and they seem to compile and run correctly with WebGL. We have made a number of improvements recently, with which version did you experience this problem?

      If it does still happen, could you please submit a bug with a project to reproduce the problem? We would like to correct it. Thanks.

      1. I experienced the problem using Unity 5 beta 6. I was using a friend’s copy in his house because I don’t have access to the private beta, so It’s complicated for me to send a bug report.
        It was fixed on beta 7 and 8? I Didn’t have the chance to test these builds.

        1. Confirmed! still not working in the last version, beta 9.

  18. @CHRIS HENDRICKS , nice one :)

  19. Chris Hendricks

    十月 14, 2014 8:20 下午

    The first Unity WebGL game is “Aaaaa! for Awesome”? What, are we converting the games in alphabetical order or something?

    1. +1 nice one! haha

    2. The next game would be “Best Game Engine” and the one after that would be “Coolest Game Engine” and the final one would be “D*MN GOOD GAME ENGINE!!.” After the final game, Unity would begin work on making their d*mn good game engine even better. Can’t wait for Unity 19! :P