创建水在Libgdx [英] Create Water In Libgdx
问题描述
我develooping游戏中libgdx与Box2D的。
我花了寻找解释如何在Box2D的libgdx创建水教程或财产以后的时间。我找不到如何做到这一点。如果有人为有一个想法,这将非常有助于我。
I am develooping a game in libgdx with box2d. I spent hours of searching for a tutorial or somthing that explain how to create water in libgdx with box2d. I can't find how to do this. If somone have an idea it will very help me.
如何libgdx创建水Box2D的?
How to create water in libgdx with box2d?
我真的很需要你的帮助。
I am really need your help.
推荐答案
安装的这个libgdx / Box2D的Android应用,运行它,然后选择浮力,看看是否是你在找什么。它是开源的,并链接其github上是在应用程序的描述。
Install this libgdx/box2d android app, run it and then choose "Buoyancy" to see if that is what you are looking for. It is open source and the link for its github is in the app's description.
如果您preFER,这里是直接把他们的浮力测试类:
<一href=\"https://github.com/Leakedbits/$c$clabs/blob/master/$c$clabs/src/com/leakedbits/$c$clabs/box2d/BuoyancySample.java\" rel=\"nofollow\">https://github.com/Leakedbits/$c$clabs/blob/master/$c$clabs/src/com/leakedbits/$c$clabs/box2d/BuoyancySample.java
If you prefer, here is directly to their Buoyancy test class: https://github.com/Leakedbits/Codelabs/blob/master/codelabs/src/com/leakedbits/codelabs/box2d/BuoyancySample.java
这篇关于创建水在Libgdx的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!