如何将Unity Webapp放在Google App Engine上 [英] How to put Unity webapp on Google app engine

查看:122
本文介绍了如何将Unity Webapp放在Google App Engine上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经统一完成了一个迷你游戏,名为"penguins_test". 我已经导出了2个文件:

penguins_test.html 
penguins_test.unity3d

现在,我想使用Google App Engine服务作为服务器托管. 因此,用户可以访问" http://penguins_test.appspot.com "这样的网站进行游戏.
但是,我是该服务的新手,用户界面看起来非常复杂.

有人可以帮助我实现目标吗? 还是任何在线教程都可以教我做到这一点? 我更喜欢使用php或python作为Web编程语言,或者Java可以替代它,如果它可以帮助解决问题.

请帮助!谢谢

解决方案

要在App Engine上运行应用程序,首先必须将Google AppEngine SDK下载到本地计算机,然后才需要在App Engine中注册自己.转到链接[1].您可以使用Python,Java,Php和GO创建应用程序.但是我更喜欢使用Python或Java.您可以在链接[2] [3]上找到教程.

您只需遵循文档,希望您能够在appspot.com上部署应用程序.另请参阅您将在Google Cloud [4]上运行的实例的定价.

[1] https://cloud.google.com/appengine/docs

[2] Python: https://cloud.google.com/appengine/docs/python/gettingstartedpython27/introduction

[3] Java: https://cloud.google.com/appengine/docs/java/gettingstarted/introduction

[4] Google定价: https://cloud.google.com/pricing/

I have completed an mini game by unity, named "penguins_test". I have exported 2 files:

penguins_test.html 
penguins_test.unity3d

And now, I want to use Google App Engine service to host as a server. So user can go to website like, "http://penguins_test.appspot.com", to play the game.
However, I am new with the service and the user interface look very complicated.

Can anyone help me to achieve the goal? Or any online tutorial can teach me to do this? I prefer to use php or python as the web programming language, or java can be an alternative if it can help to solve the problem.

Please help! Thanks

解决方案

To run your application on App Engine,first you have to download the Google AppEngine SDK to your local machine and before that to need to register your self with App Engine. Go through to the link [1]. You can create your application in Python, Java, Php and GO. But I prefer to go through Python or Java. You can find the tutorials on links [2][3].

You just follow the docs, and I hope you will be able to deploy you application on appspot.com. Also refer to the pricing of the Instances you will run on Google Cloud [4].

[1] https://cloud.google.com/appengine/docs

[2] Python: https://cloud.google.com/appengine/docs/python/gettingstartedpython27/introduction

[3] Java: https://cloud.google.com/appengine/docs/java/gettingstarted/introduction

[4] Google Pricing: https://cloud.google.com/pricing/

这篇关于如何将Unity Webapp放在Google App Engine上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆