开发者

How to simulate dropping stones into a bucket on the web?

开发者 https://www.devze.com 2023-03-11 01:54 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号