How to simulate dropping stones into a bucket on the web?
I would like to simulate dropping stones into a bucket on the web.
Drag and drop plus simple gravity simulation comes t开发者_C百科o mind.
Is there an example, jQuery plugin, or something that makes this straight-forward and clean?
Thanks!
As long as you don't need graphic extensive animations, everything can be done quite easily with HTML and Javascript; absolute positioned elements and jQuery's animate
function.
** EDIT **
Take a look here. It seems to be exactly what you want.
Also, take a look at this question.
You probably want to look at creating something either Silverlight, ActionScript/Flash/Flex, or even more old school and go with a java applet. Another thing you can check out is HTML5 canvas.
精彩评论