添加分享按钮来LibGDX

添加分享按钮来LibGDX

本文介绍了添加分享按钮来LibGDX And​​roid和iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想添加一个按钮,当pressed股高分的用户所选择的应用(Facebook,微博,短信等)

I am trying to add a button which when pressed shares the high score of the user to the chosen app (facebook, twitter, messaging etc...)

我一直在网上搜索,我只是无法找到如何做到这一点明确的教程。这可能是因为我不是那么熟悉的术语,如绑定等..所以我无法理解这些高级教程。谁能解释清楚,我怎么能做到这一点?

I have been searching online and I just could not find a clear tutorial on how to do this. It may be because I am not so familiar with the terms such as bindings etc.. so I cannot understand these advanced tutorials. Can anyone explain clearly how I could do this?

谢谢!

P.S这将是伟大的分享按钮来为Android和iOS

p.s it would be great for the share button to work for both android and iOS

推荐答案

有关Facebook的,请。
这是一个很酷的项目, libgdx 集成了Facebook的API。我最近发现它,到目前为止好。

For Facebook, check out gdx-facebook.It's a cool project that integrates libgdx with Facebook's API. I discovered it recently, and so far so good.

请注意:似乎使用的的Eclipse IDE 时,与该项目的一些 gradle这个的问题。我一直在使用它的 Android的工作室,然后它的正常工作。

Please note: There seems to be some gradle issues with this project when using Eclipse IDE. I've been using it with Android Studio, and it's working fine.

这篇关于添加分享按钮来LibGDX And​​roid和iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 08:16