Powder games: how do they work?

Posted by Marc Müller on Game Development See other posts from Game Development or by Marc Müller
Published on 2011-01-04T20:07:57Z Indexed on 2011/01/04 20:59 UTC
Read the original article Hit count: 404

Filed under:
|

Hey guys,

I recently found these two gems:

http://powdertoy.co.uk/

http://dan-ball.jp/en/javagame/dust/

My question is: How are the physics with so many elements efficiently handled? Am I just severely underestimating modern computing power or is it possible to 'just' have a two-dimensional array, each cell of which describes what is placed at the according position and simulate each cell in every step. Or are there more complex things being done like summarising large areas of the same kind into a single data set and separating said set as needed?

Are there any open-source games like this I could look at?

© Game Development or respective owner

Related posts about 2d-physics

Related posts about efficiency