by fluid i mean any body of liquid/fine dust.
this is a simple example (CPU WHORE) that i whipped up after seeing a falling sand game on my friends ipod touch at school, i wanted to figure out how it was done so during my french class i thought up of this little beauty, although inefficient through constructs event engine it is by no means ineffectient. ive seen java games with tons of particles run really fast, and after research i saw theyre made my way. which is compare your bottom 5 neighbors and reacts based on which ones are open or closed (via an array)
the scans are performed bottom to top, so that everything falls at the same time
i see a possible extension using this in the future, its a really simple concept and it works pretty well 2 this one was thrown toghether.
http://www.mediafire.com/?sharekey=d3fa ... 4777b59d28