Hi,
I am trying to create an application very similar to iBeer(http://www.youtube.com/watch?v=A3MfQIswl3k) 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?
Thanks Mani
How to do animate water using chipmunk?
-
- Posts: 2
- Joined: Fri Apr 15, 2011 8:16 am
- Contact:
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: How to do animate water using chipmunk?
Chipmunk won't help you as it does rigid body simulation. What you want is fluid simulation. Googling for "2D fluid simulation" will probably get you some pretty helpful results.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
-
- Posts: 2
- Joined: Fri Apr 15, 2011 8:16 am
- Contact:
Re: How to do animate water using chipmunk?
Thanks for the reply
Wonder how it is working with chipmunk + particle engine http://www.youtube.com/watch?v=V1xiVyJ3EOM ?
Wonder how it is working with chipmunk + particle engine http://www.youtube.com/watch?v=V1xiVyJ3EOM ?
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: How to do animate water using chipmunk?
In that video they create thousands of tiny frictionless circles. It works, but it's extremely slow. You don't want to do that in a game if you want to run at > 0.5fps.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Who is online
Users browsing this forum: No registered users and 14 guests