如何移动水在iphone cocos2d? [英] How to move water in iphone cocos2d?

查看:152
本文介绍了如何移动水在iphone cocos2d?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要创建一个非常类似于 iBeer 的应用程序,我想要填充iphone从虚拟水,可以摇它,所以它产生气泡?我试图搜索任何类似的代码示例,因为我是非常新的cocos2d,但我不能。我想知道我该怎么做?任何有用的链接?

I am trying to create an application very similar to iBeer I want to fill iphone from virtual water and can shake it so it produce bubbles? I tried to search any similar example of code as I am very new to cocos2d but I can't. I wanna know how can I do this? Any helpful links? Do I have to use chipmunk or anything else?

感谢
Mani

Thanks Mani

推荐答案

Cocos 2D主要用于显示sprites粒子和otehr视觉效果

Cocos 2D mainly serves to display sprites particules and otehr visual effects

它的实际物理由Chipmunk处理。

The actual physics of it are handled by Chipmunk.

花栗鼠不是一个流动的引擎,但给出足够的小物体,你可以近似像iBeer。

chipmunk is not so much a fluid engine but given enough small objects you can aproximate something like iBeer.

我记得看到一个视频演示花栗鼠。

I remember seeing a video demo of chipmunk that did it.

我从来没有做过类似于花栗鼠的事情,但尝试在官方论坛上询问

I'm never did something close to that with chipmunk but try asking on the offcial forum

http://www.slembcke.net/forums/viewforum.php? f = 1

他们帮助了我很多,chipmunk(scott)的作者非常反应和帮助。

they helped me out a lot and the author of chipmunk (scott) is very reactive and helpful.

这篇关于如何移动水在iphone cocos2d?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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