Draw on the canvas to create immovable blocks and click to create moving circle particles. Originally, I thought there was a bug registering the immovable blocks, but my code was creating rectangles with a negative length. Although these rendered fine, the physics didn't work. I coded round that this morning on the train and voila - perfect particles!
Right click for the source code - it's only a few lines of code from me, basically all I had to code was code for the user interaction.
Anyway, APE seems to be the way to rip off BumpTop in Flex, or code that air hockey game I've been meaning to write.
Add a comment