将游戏理念融入andengine(Rango伸缩舌头)

发布于 2024-11-28 08:31:26 字数 250 浏览 0 评论 0原文

不管怎样,我希望你们能和我分享你们的经验和想法

,我想制作一个变色龙角色,它的舌头像真人一样可伸缩。 我尝试查看样本和导师,现在我尝试使用旋转关节来制作舌头。 然而,它需要可能不必要的物理环境。另外,对于旋转关节,我担心舌头无法完美地进行动画处理(如块分割)。

也许为了更好地说明,你们可以看看愤怒的小鸟弹射器。 橡胶在拉伸时看起来很卡通,对吧?我想知道我是否可以做同样的事情

*如果你们中的一些人可以用其他引擎实现这个目标,请告诉我:)

I hope you guys would share your experiences and ideas with me

anyway, i want to make a chameleon character with stretchable tongue like the real one do.
i've tried to look at the samples and tutors, for now i try to use revolute joint to make the tongue.
however, it requires physics environment that probably unnecessary. Also, with revolute joint i'm afraid the tongue wouldn't be able to animate perfectly(like blocks segmentation).

maybe for better illustration u guys can take a look at angry birds catapult.
the rubber seems like cartoon while it's stretching, right? i'm wondering if i can make the same thing

*if some of u guys can achieve this wth other engine, please let me know :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

眉目亦如画i 2024-12-05 08:31:26

我花了很多天尝试用 AndEngine 创建一些漂亮的绳索,我可以说这几乎是不可能的。 Box2D 本身移植很差,计算上有很多故障,导致关节看起来很差。例如,WeldJoint 并不是真正的焊接接头,因为它不能足够牢固地支撑两个实体,并且您始终可以看到它们之间有一些空间。对于 RevoluteJoint ,问题是相同的:绳索看起来并不像绳索,而且在大多数情况下它们的行为非常奇怪。我发现绝对不可能像 Cut the Rope 那样创建绳索。我尝试过的其他引擎也很出问题,顺便说一句,AndEngine 似乎是最好的一个。在我看来,AndEngine 中你不会得到太多的关节。您可以在一些非常简单的情况下使用它们,因为关节在不同设备上的表现如何是一个大问题。

希望我们将来能看到一些非常好的物理引擎。

I've spent lots of days trying to create some nice-looking ropes with AndEngine, and I can say that it's nearly impossible. Box2D itself is badly ported and it has many glitches with calculations, resulting in poor looking joints. For example, WeldJoint isn't really a weld joint, since it doesn't hold two bodies strong enough and you can always see some space between them. With RevoluteJoint problem is the same: ropes don't really look like ropes, and in most cases they behave really strange.. I've found it absolutely not possible to create ropes like in Cut the Rope. Other engines I've tried are also pretty glitchy, and btw AndEngine seems the best one.. In my opinion, you won't get much of joints in AndEngine. You can use them in some really simple situations, cause it's a big question how will joints behave on different devices.

Hope we can see some really good physics engines in future.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文